Support Questions
Find answers, ask questions, and share your expertise

HDP 3-1-4-0-315 : libhdfs problem

Highlighted

HDP 3-1-4-0-315 : libhdfs problem

Contributor

I post these messages because I haven't found the solution in previous messages (

https://community.cloudera.com/t5/Support-Questions/libhdfs-problems/m-p/241679

https://community.cloudera.com/t5/Support-Questions/libhdfs-missing/m-p/192982)

 

HDP version 3-1-4-0-315

Servers Ubuntu 18

I'm facing an issue with the library libhdfs that it seems not correctly installed in the HDP home directory :

 

 

root@myhost:~# ls -l /opt/application/hdp/3.1.4.0-315/usr/lib/libhdfs.so
lrwxrwxrwx 1 root root 16 Aug 23  2019 /opt/application/hdp/3.1.4.0-315/usr/lib/libhdfs.so -> libhdfs.so.0.0.0
root@myhost:~# file /opt/application/hdp/3.1.4.0-315/usr/lib/libhdfs.so
/opt/application/hdp/3.1.4.0-315/usr/lib/libhdfs.so: broken symbolic link to libhdfs.so.0.0.0

 

 

 The libhdfs.so file is available on the server on another directory :

 

 

root@myhost:~# file /usr/lib/ams-hbase/lib/hadoop-native/libhdfs.so
/usr/lib/ams-hbase/lib/hadoop-native/libhdfs.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=0f334d3598ad8fa968d950afeed15d749538b427, with debug_info, not stripped

 

 

I have also searched if the library has been installed with apt, and I found another similar library : libhdfs0 !

 

 

root@myhost:~# dpkg -l | grep libhdfs
ii  libhdfs0-3-1-4-0-315                      3.1.1.3.1.4.0-315                                      amd64        Hadoop Filesystem Library

 

 

Thansk in advance for your help in order to fix this