My Oracle Support Banner

After Mammoth Upgrade Cloudera Manager > Hosts Reports "No Java JDK is detected on the host" on One Cluster Node (Doc ID 2379346.1)

Last updated on APRIL 02, 2018

Applies to:

Big Data Appliance Integrated Software - Version 4.8.0 and later
Linux x86-64

Symptoms

 After Mammoth upgrade Cloudera Manager > Hosts reports the following on one cluster node:

No Java JDK is detected on the host

The example here makes use of an upgrade to BDAV4.8/CDH 5.10.1 from BDAV4.4/CDH5.5.1 with the problem node being Node 1.

Additionally:

1. On the node reporting the "No Java" error, for example Node 1, $JAVA_HOME is not set. Otherwise the JDK looks fine on the node.

2. Trying to restart the cluster fails because various services fail to start with errors like:

File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.10.1-py2.6.egg/cmf/redactor.py", line 30, in flush_and_exec os.execve(sys.argv[1], sys.argv[1:], os.environ)
OSError: [Errno 2] No such file or directory
Traceback (most recent call last):
File "/usr/lib64/cmf/agent/build/env/bin/cmf-redactor", line 11, in <module>
load_entry_point('cmf==5.10.1', 'console_scripts', 'cmf-redactor')()
File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.10.1-py2.6.egg/cmf/redactor.py", line 71, in main flush_and_exec()
File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.10.1-py2.6.egg/cmf/redactor.py", line 30, in flush_and_exec os.execve(sys.argv[1], sys.argv[1:], os.environ)
OSError: [Errno 2] No such file or directory
Traceback (most recent call last):
File "/usr/lib64/cmf/agent/build/env/bin/cmf-redactor", line 11, in <module>
load_entry_point('cmf==5.10.1', 'console_scripts', 'cmf-redactor')()
File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.10.1-py2.6.egg/cmf/redactor.py", line 71, in main flush_and_exec()
File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.10.1-py2.6.egg/cmf/redactor.py", line 30, in flush_and_exec os.execve(sys.argv[1], sys.argv[1:], os.environ)
OSError: [Errno 2] No such file or directory
Traceback (most recent call last):
File "/usr/lib64/cmf/agent/build/env/bin/cmf-redactor", line 11, in <module>
load_entry_point('cmf==5.10.1', 'console_scripts', 'cmf-redactor')()
File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.10.1-py2.6.egg/cmf/redactor.py", line 71, in main flush_and_exec()
File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.10.1-py2.6.egg/cmf/redactor.py", line 30, in flush_and_exec os.execve(sys.argv[1], sys.argv[1:], os.environ)
OSError: [Errno 2] No such file or directory

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.