Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Target is not defined when start new session

avatar
Explorer

I try to start a new session to run any engine kernel, Python or Scala or R. There is a an error "target is not defined". i have run "cdsw validate" and there is no error. What target has not been defined and cause the error?


2017-06-15_13-27-06.jpg
1 ACCEPTED SOLUTION

avatar
Expert Contributor

Hi Pollylaw,

 

Have you set JAVA_HOME in your the Administration settings?  There is a known issue in 1.0.1 with custom JAVA_HOME directories that can lead to this error message.  A workaround is to remove JAVA_HOME from Admin > Engines and make sure Java is located at a location that can be detected by the bigtop-detect-javahome.sh script.  This will be fixed in a future release.

 

Please let us know if this workaround does not solve your issue or if this explanation does not match your configuration.

 

Tristan

View solution in original post

2 REPLIES 2

avatar
Expert Contributor

Hi Pollylaw,

 

Have you set JAVA_HOME in your the Administration settings?  There is a known issue in 1.0.1 with custom JAVA_HOME directories that can lead to this error message.  A workaround is to remove JAVA_HOME from Admin > Engines and make sure Java is located at a location that can be detected by the bigtop-detect-javahome.sh script.  This will be fixed in a future release.

 

Please let us know if this workaround does not solve your issue or if this explanation does not match your configuration.

 

Tristan

avatar
Explorer
Hi Tristan,

The problem is solved by your suggestion. Thanks.

Polly