分享

hadoop在centos上编译的可以运行在ubuntu上么?

536528395 发表于 2015-2-12 15:22:48 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 1 11238
hadoop在centos上编译的可以运行在ubuntu上么?


my-hadoop@sh-b0-sv0375:~/my-hadoop/hadoop-2.2.0/cluster_tools$ hadoop fs -ls /
15/02/12 15:18:55 DEBUG util.Shell: setsid exited with exit code 0
15/02/12 15:18:55 DEBUG lib.MutableMetricsFactory: field org.apache.hadoop.metrics2.lib.MutableRate org.apache.hadoop.security.UserGroupInformation$UgiMetrics.loginSuccess with annotation @org.apache.hadoop.metrics2.annotation.Metric(valueName=Time, about=, value=[Rate of successful kerberos logins and latency (milliseconds)], always=false, type=DEFAULT, sampleName=Ops)
15/02/12 15:18:55 DEBUG lib.MutableMetricsFactory: field org.apache.hadoop.metrics2.lib.MutableRate org.apache.hadoop.security.UserGroupInformation$UgiMetrics.loginFailure with annotation @org.apache.hadoop.metrics2.annotation.Metric(valueName=Time, about=, value=[Rate of failed kerberos logins and latency (milliseconds)], always=false, type=DEFAULT, sampleName=Ops)
15/02/12 15:18:55 DEBUG impl.MetricsSystemImpl: UgiMetrics, User and group related metrics
15/02/12 15:18:56 DEBUG util.KerberosName: Kerberos krb5 configuration not found, setting default realm to empty
15/02/12 15:18:56 DEBUG security.Groups:  Creating new Groups object
15/02/12 15:18:56 DEBUG util.NativeCodeLoader: Trying to load the custom-built native-hadoop library...
15/02/12 15:18:56 DEBUG util.NativeCodeLoader: Failed to load native-hadoop with error: java.lang.UnsatisfiedLinkError: /home/my-hadoop/my-hadoop/hadoop-2.2.0/distribution/lib/native/libhadoop.so.1.0.0: /lib/libc.so.6: version `GLIBC_2.12' not found (required by /home/my-hadoop/my-hadoop/hadoop-2.2.0/distribution/lib/native/libhadoop.so.1.0.0)
15/02/12 15:18:56 DEBUG util.NativeCodeLoader: java.library.path=/home/my-hadoop/my-hadoop/hadoop-2.2.0/distribution/lib/native
15/02/12 15:18:56 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable







已有(1)人评论

跳转到指定楼层
admin 发表于 2015-2-12 23:42:11
只要编译出来,都可以在Linux上安装,这个部分版本。
根据信息,应该是安装、配置的问题。同时注意64及32位

这里有类似内容

Unable to load native-hadoop library for your platform... using builtin-java


这个啥意思Unable to load native-hadoop library for your platform

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条