无法加载本机hadoop库

bogh5gae  于 2021-06-03  发布在  Hadoop
关注(0)|答案(0)|浏览(305)

我已经看到了这些问题,但它没有解决任何问题。
所以我得到了kubuntu 15.04

uname -a  
Linux laptop 3.19.0-31-generic #36-Ubuntu SMP Wed Oct 7 15:03:41 UTC 2015 i686 i686 i686 GNU/Linux  

echo $HADOOP_OPTS  
-Djava.library.path=/opt/hadoop/hadoop-2.7.1/lib/native

sbin/start-dfs.sh   
15/11/19 14:35:51 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.
Starting namenodes on [OpenJDK Server VM warning: You have loaded library /opt/hadoop/hadoop-2.7.1/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.]

java -version  
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-0ubuntu1.15.04.1)
OpenJDK Server VM (build 24.79-b02, mixed mode)

既然我有32位系统。我不应该有这些问题?而且,由于我已经尝试了hadoop选项,在最后使用native和不使用native,这似乎并没有改变什么。
那会是什么呢?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题