Reply
Explorer
Posts: 23
Registered: ‎05-22-2017

Re: Cloudera installation stuck at 'Installing selected parcels' for Cloudera 5.11

Ah Yes,

 

[Host1 ~]# alternatives --list
libnssckbi.so.x86_64 auto /usr/lib64/pkcs11/p11-kit-trust.so
ld auto /usr/bin/ld.bfd
mkisofs auto /usr/bin/genisoimage
print auto /usr/bin/lpr.cups
java manual /opt/java/bin/java
jre_openjdk auto /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64/jre
jre_1.7.0 auto /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.141-2.6.10.1.el7_3.x86_64/jre
jre_1.7.0_openjdk auto /usr/lib/jvm/jre-1.7.0-openjdk-1.7.0.141-2.6.10.1.el7_3.x86_64
xinputrc auto /etc/X11/xinit/xinput.d/ibus.conf
mta auto /usr/sbin/sendmail.postfix
cifs-idmap-plugin auto /usr/lib64/cifs-utils/cifs_idmap_sss.so
cdrecord auto /usr/bin/wodim
jre_1.8.0 auto /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64/jre
jre_1.8.0_openjdk auto /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64
libwbclient.so.0.12-64 auto /usr/lib64/samba/wbclient/libwbclient.so.0.12
pax auto /usr/bin/spax

 

 

How to remove these ?

New Contributor
Posts: 11
Registered: ‎01-20-2017

Re: Cloudera installation stuck at 'Installing selected parcels' for Cloudera 5.11

If I want to remove it Just Man alternative comand. There should be option
to remove listing.

But Remember for the Cloudera installation to work correctly it Needs to
have All libks that are accessible on the alternative list.
Explorer
Posts: 23
Registered: ‎05-22-2017

Re: Cloudera installation stuck at 'Installing selected parcels' for Cloudera 5.11

Hi Sunpin,
I tried removing all the open jdk related links, and tried fresh install, but still the same issue.
New Contributor
Posts: 11
Registered: ‎01-20-2017

Re: Cloudera installation stuck at 'Installing selected parcels' for Cloudera 5.11

Can u try on fresh system? Like reinstall cloudera and try o completely
fresh one. Also maybe try on cloudera express just to see if it works.

The arrow you got was related tuple returning too many values. Maybe some
kind of version inconsistency between package and cloudera installation...
Explorer
Posts: 23
Registered: ‎05-22-2017

Re: Cloudera installation stuck at 'Installing selected parcels' for Cloudera 5.11

Hi Sunpin,

 

I am trying to add nodes to my existing cluster. These are fresh nodes.

 

Traceback (most recent call last):
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.11.0-py2.7.egg/cmf/agent.py", line 710, in __issue_heartbeat
self._init_after_first_heartbeat_response(resp_data)
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.11.0-py2.7.egg/cmf/agent.py", line 948, in _init_after_first_heartbeat_response
self.client_configs.load()
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.11.0-py2.7.egg/cmf/client_configs.py", line 713, in load
new_deployed.update(self._lookup_alternatives(fname))
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.11.0-py2.7.egg/cmf/client_configs.py", line 434, in _lookup_alternatives
return self._parse_alternatives(alt_name, out)
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.11.0-py2.7.egg/cmf/client_configs.py", line 446, in _parse_alternatives
path, _, _, priority_str = line.rstrip().split(" ")
ValueError: too many values to unpack

 

Explorer
Posts: 23
Registered: ‎05-22-2017

Re: Cloudera installation stuck at 'Installing selected parcels' for Cloudera 5.11

Hi Sunpin,

 

The issue was indeed with Open JDK.

 

alternatives --remove <cmd>  <path>    --- didnt remove the entry for java alternatives.

 

I manually deleted all the dir under /usr/lib/jvm 

 

and removed the entries related to Open JDK from /var/lib/alternatives/java file.

 

Only after manually removing those entries form the /var/lib/alternatives/java file, the alternatives --config java didnt showed the option for open jdk.

 

The issue has been resolved now.

 

Thanks for the inputs.

New Contributor
Posts: 4
Registered: ‎02-17-2018

Re: Cloudera installation stuck at 'Installing selected parcels' for Cloudera 5.3

How did you solved this?

Explorer
Posts: 23
Registered: ‎05-22-2017

Re: Cloudera installation stuck at 'Installing selected parcels' for Cloudera 5.3

Hi Abhisheek,

 

I have posted the details, in the thread.

Highlighted
New Contributor
Posts: 2
Registered: ‎11-04-2018

Re: Cloudera installation stuck at 'Installing selected parcels' for Cloudera 5.11

please do below steps

 


alternatives --list | awk '{print $1}' | xargs -n1 alternatives --display |grep "^/" > all_alternatives.txt
awk -F ' ' -v NCOLS=4 'NF!=NCOLS{printf "Wrong number of columns at line %d\n", NR}' all_alternatives.txt

cd /var/lib/alternatives/

rm -Rf libjavaplugin.so.x86_64 jre_1.8.0 jre_1.8.0_openjdk jre_openjdk jre_1.7.0 jre_1.7.0_openjdk

alternatives --install /usr/bin/java java /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-0.el7_5.x86_64/jre/bin/java 1800191

Announcements