Reply
Explorer
Posts: 10
Registered: ‎04-01-2016
Accepted Solution

Target is not defined when start new session

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
Cloudera Employee
Posts: 40
Registered: ‎04-28-2017

Re: Target is not defined when start new session

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

Explorer
Posts: 10
Registered: ‎04-01-2016

Re: Target is not defined when start new session

Hi Tristan,

The problem is solved by your suggestion. Thanks.

Polly
Announcements