Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Target is not defined when start new session

SOLVED Go to solution

Target is not defined when start new session

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

Accepted Solutions

Re: Target is not defined when start new session

Rising Star

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

2 REPLIES 2

Re: Target is not defined when start new session

Rising Star

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

Highlighted

Re: Target is not defined when start new session

Explorer
Hi Tristan,

The problem is solved by your suggestion. Thanks.

Polly