Six Stars

/tmp/osdtInstall_user1.6.3.1/configuration folder missing

Hi 

 

I have a code running with Talend Data Mapper with tHMap. It was working fine. Suddenly i got an error like below. How can i avoid this? Is it possible to know why this error happens?

 

Once i create the folder job works.

---------------

java.lang.RuntimeException: Unable to start runtime because of exception: Could not locate folder: /tmp/osdtInstall_user1_6.3.1./configuration
at org.talend.transform.runtime.api.RuntimeFactory.initEclipseEnvironment(RuntimeFactory.java:1099)
at org.talend.transform.runtime.api.RuntimeFactory.createRuntime(RuntimeFactory.java:600)
at org.talend.transform.runtime.api.RuntimeFactory.createRuntime(RuntimeFactory.java:348)
at org.talend.transform.runtime.api.RuntimeFactory.createRuntime(RuntimeFactory.java:341)
Caused by: java.io.IOException: Could not locate folder: /tmp/osdtInstall_user1_6.3.1./configuration
at org.talend.transform.runtime.api.RuntimeFactoryHelper.copyFolder(RuntimeFactoryHelper.java:76)
at org.talend.transform.runtime.api.RuntimeFactoryHelper.createTempConfigurationArea(RuntimeFactoryHelper.java:33)
at org.talend.transform.runtime.api.RuntimeFactory.initEclipseEnvironment(RuntimeFactory.java:931)

-------------------------------

  • Big Data
6 REPLIES
Moderator

Re: /tmp/osdtInstall_user1.6.3.1/configuration folder missing

Hello,

Did you get this issue on V 6.3.1?

Have you tried to add the missing 'configuration' temp folder to see if it works?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: /tmp/osdtInstall_user1.6.3.1/configuration folder missing

yes, it is version 6.3.1

yes, once i created the folder when i re run it worked. 

 

My understanding is this temp folders are being created by Talend. How come i got this error? There were no change in the environment. Suddenly this issue has happend. Want to understand why?

Six Stars

Re: /tmp/osdtInstall_user1.6.3.1/configuration folder missing

Any updates on the reason for deletion of configuration folder under tmp path?

 

Also the data mapper creates some temporary folders and leaves without deleting. This piles up in the server while looping the mapper while reading a real time data.

Moderator

Re: /tmp/osdtInstall_user1.6.3.1/configuration folder missing

Hello,

Did you get this error periodically? Is there any periodic cleanup activity on your end?

Could you please try to set the ODT_INSTALL_DIR system variable to a permanent location instead. This way, the install folder will always be available.

Let us know if it is OK with you.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: /tmp/osdtInstall_user1.6.3.1/configuration folder missing

 yes, the /tmp/osdtInstall_user1.6.3.1/configuration folder missing is repeating. The job fails after this error on the real time mode due to error

 

Moderator

Re: /tmp/osdtInstall_user1.6.3.1/configuration folder missing

Hello,

By default TDM installs its runtime in a temporary folder named osdtInstall_xxx. Please set the ODT_INSTALL_DIR system variable to a permanent location instead. This way, the install folder will always be available.

Let us know if it is OK with you.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.