WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-
2015-10-04 09:04
513 查看
[root@db96 hadoop]# hadoop dfs -put ./in
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.
14/07/17 17:07:22 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
put: `./in': No such file or directory
原因查找:
查看本地文件:
[root@db96 hadoop]# file /usr/local/hadoop/lib/native/libhadoop.so.1.0.0
/usr/local/hadoop/lib/native/libhadoop.so.1.0.0: ELF 32-bit LSB shared object,
Intel 80386, version 1 (SYSV), dynamically linked, not stripped
是32位的hadoop,安装在了64位的linux系统上。lib包编译环境不一样,所以不能使用。
悲剧了,装好的集群没法用。
解决办法:重新编译hadoop.//就是重新编译hadoop软件。 (本例文是在从库db99上编译。你也可以在master db96上编译
//只要机器的环境一直。)
参考手动编译步骤:64位的linux装的hadoop是32位的,需要手工编译
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.
14/07/17 17:07:22 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
put: `./in': No such file or directory
原因查找:
查看本地文件:
[root@db96 hadoop]# file /usr/local/hadoop/lib/native/libhadoop.so.1.0.0
/usr/local/hadoop/lib/native/libhadoop.so.1.0.0: ELF 32-bit LSB shared object,
Intel 80386, version 1 (SYSV), dynamically linked, not stripped
是32位的hadoop,安装在了64位的linux系统上。lib包编译环境不一样,所以不能使用。
悲剧了,装好的集群没法用。
解决办法:重新编译hadoop.//就是重新编译hadoop软件。 (本例文是在从库db99上编译。你也可以在master db96上编译
//只要机器的环境一直。)
参考手动编译步骤:64位的linux装的hadoop是32位的,需要手工编译
相关文章推荐
- Mahout:DataModel doesn't have preference values
- 关于Build Active Architecture Only属性
- Maximum Subsequence Sum(With C)
- ueditor1.4.3 jsp版在ssh下的配置
- UGUI之布局的使用
- HDU 5496 - Beauty of Sequence (序列 + 统计贡献)
- 模块化requireJS
- UI:地图和定位
- UIScrollView和UIPageControl组合照片浏览滑动效果
- 利用quietHDD解决硬盘C1增长以及异响问题
- LeetCode OJ :Unique Binary Search Trees II(唯一二叉搜索树)
- 张氏web漏洞检查工具发布-英文名:Mr.Zhang Web Leak Scanner GUI
- 动态计算UITableViewCell高度详解
- hdu 1242 Rescue(bfs+优先队列)
- SPOJ QTREE - Query on a tree(树链剖分)
- iOS大典之UIScrollView
- [java学习笔记]java语言基础概述之转义字符&break&continue
- android--day02(UI、事件)
- iOS图文攻略之UILabel属性
- UITableViewDelegate方法