A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

WARN appmaster.SliderAppMaster – python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory” when starting LLAP while loading shared libraries


This field indicates the primary cause of the issue solved in this KB article.
This issue occurs because, the Hive user launching the Slider application picks up environment variables from Ambari-agent for newer version of Python configured, while the Slider application looks for the new Python libraries in the location of the older version of Python.

This field indicates the solution.
To help LLAP find the Libraries for the correct version of Python, do the following to resolve the issue on all Slider client nodes:

  1. Add the path of Python libraries in /etc/ld.so.conf  as in the following example (pick the path of python libraries from /var/lib/ambari-agent/ambari-env.sh):
    slidernode$ cat /etc/ld.so.conf
    include ld.so.conf.d/*.conf
  2. Run the following command to create the necessary links and cache to the most recent shared libraries found in the directories specified in /etc/ld.so.conf:
    slidernode$ ldconfig
  3. Restart Ambari agent on all the Slider client nodes.
  4. Refresh configs for Slider clients from Ambari.
  5. Restart all Hive services from Ambari.

Reference : https://stackoverflow.com/questions/20842732/libpython2-7-so-1-0-cannot-open-shared-object-file-no-such-file-or-directory

Leave a Reply




You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>