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

后端 未结 21 1479
礼貌的吻别
礼貌的吻别 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:09

    @zhutoulala -- FWIW your links worked for me with Hadoop 2.4.0 with one exception I had to tell maven not to build the javadocs. I also used the patch in the first link for 2.4.0 and it worked fine. Here's the maven command I had to issue

    mvn package -Dmaven.javadoc.skip=true -Pdist,native -DskipTests -Dtar
    

    After building this and moving the libraries, don't forget to update hadoop-env.sh :)

    Thought this might help someone who ran into the same roadblocks as me

提交回复
热议问题