Hadoop “Unable to load native-hadoop library for your platform” warning

后端 未结 21 1640
礼貌的吻别
礼貌的吻别 2020-11-22 03:48

I\'m currently configuring hadoop on a server running CentOs. When I run start-dfs.sh or stop-dfs.sh, I get the following error:

21条回答
  •  情书的邮戳
    2020-11-22 04:15

    After a continuous research as suggested by KotiI got resolved the issue.

    hduser@ubuntu:~$ cd /usr/local/hadoop
    
    hduser@ubuntu:/usr/local/hadoop$ ls
    
    bin  include  libexec      logs        README.txt  share
    etc  lib      LICENSE.txt  NOTICE.txt  sbin
    
    hduser@ubuntu:/usr/local/hadoop$ cd lib
    
    hduser@ubuntu:/usr/local/hadoop/lib$ ls
    native
    
    hduser@ubuntu:/usr/local/hadoop/lib$ cd native/
    
    hduser@ubuntu:/usr/local/hadoop/lib/native$ ls
    
    libhadoop.a       libhadoop.so        libhadooputils.a  libhdfs.so
    libhadooppipes.a  libhadoop.so.1.0.0  libhdfs.a         libhdfs.so.0.0.0
    
    hduser@ubuntu:/usr/local/hadoop/lib/native$ sudo mv * ../
    

    Cheers

提交回复
热议问题