Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

QA: RxHadoopMR() job fails with 'Unable to load libhdfs.so' error


View products that this article applies to.

  • First make sure that the file 'libjvm.so' is installed on your system:
            sudo find / -mount -name "libjvm*"

            If it shows up as being installed on the system, most likely it is missing from your 'LD_LIBRARY_PATH' variable(see next bullet point).
  • Add the 'libjvm.so' file found on your system to 'LD_LIBRARY_PATH':
            export LD_LIBRARY_PATH=$LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/<path/to>/libjvm.so
  • You may also need to set the environment variables 'HADOOP_HOME' and 'HADOOP_VERSION' on your system:
             These variables should be set as follows(for example):

              HADOOP_HOME=/usr/lib/hadoop/client-0.20

              HADOOP_VERSION=2.0.0-cdh4.4.0
  • Also ensure that the file  '/etc/profile.d/Revolution/bash_profile_additions' exists on all of the nodes of your cluster and has been sourced.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 3104172
Revision : 1
Created on : 1/7/2017
Published on : 11/1/2015
Exists online : False
Views : 62