Hadoop 2.6.0 启动问题 lib/native/libhadoop.so which might have disabled stack guard
来源:互联网 发布:fps软件 编辑:程序博客网 时间:2024/05/16 15:17
Hadoop 在启动的时候出现以下问题:
bhbase6: Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /usr/local/hadoop/lib/native/libhadoop.so which might have disabled stack guard. The VM will try to fix the stack guard now.bhbase6: It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.bhbase2: Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /usr/local/hadoop/lib/native/libhadoop.so which might have disabled stack guard. The VM will try to fix the stack guard now.bhbase2: It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.bhbase5: Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /usr/local/hadoop/lib/native/libhadoop.so which might have disabled stack guard. The VM will try to fix the stack guard now.bhbase5: It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
出现这个问题基本都是在64位操作系统上,这主要是因为Hadoop官网上下载的本地库文件都是基于32位系统编译的,如果在64位系统上运行会出现这个问题错误。解决的方法 有两种:
一、在64为操作系统上重写编译Hadoop文件
二、在etc/hadoop/目录中的 hadoop-env.sh和yarn-env.sh 这两个文件中添加如下两行代码:
export HADOOP_COMMON_LIB_NATIVE_DIR=${HADOOP_PREFIX}/lib/nativeexport HADOOP_OPTS="-Djava.library.path=$HADOOP_PREFIX/lib"
阅读全文
1 0
- Hadoop 2.6.0 启动问题 lib/native/libhadoop.so which might have disabled stack guard
- Hadoop 2.2.0 libhadoop.so的disabled stack guard问题
- 编译hadoop 2.4.1 源代码以及 libhadoop.so.1.0.0文件
- mac hbase程序启动警告:找不到hadoop native lib
- hadoop native lib install
- hadoop lib native
- Hadoop-2.2.0在Windows环境下Native Lib的问题
- amarok启动问题(relocation error: /usr/lib/libphonon.so.4 ...)
- Hadoop启动显示错误:/lib/ld-linux.so.2: bad ELF interpreter:
- Tomcat 5.5启动问题--Apache Tomcat Native library which allows optimal performance
- Hadoop-2.2.0在Unbuntu ADM64中需要重新编译Native Lib
- spark-shell启动报错:Yarn application has already ended! It might have been killed or unable to launch ap
- I might as well have them
- hadoop 2.6.0编译native library
- 魅族和三星Galaxy 5.0webView 问题Android Crash Report - Native crash at /system/lib/libc.so caused by webvi
- You are running linux kernel version 2.6.32-431.el6.x86_64, which might be unstable running docker.
- anaconda2/bin/../lib/libgomp.so.1: version `GOMP_4.0' not found 问题的解决办法
- xen3.0启动虚拟机fsimage.so的问题及解决
- MAVEN打包jar
- 96. Unique Binary Search Trees
- Rails 技巧库
- sublime text 添加文件忽略
- [LeetCode] 135. Candy
- Hadoop 2.6.0 启动问题 lib/native/libhadoop.so which might have disabled stack guard
- xjoi奋斗群群赛7
- 【设计模式 8】有关设计模式的新体会、新思考
- 目标检测算法中的bounding box regression
- 开源分享 Unity3d客户端与C#分布式服务端游戏框架
- C#基础-058 List集合、HashSet集合、HashTable集合、StringBuilder与String运行效率比较
- 花生问题——百练OJ:2950:摘花生与1928:The Peanuts
- csdn如何转载别人的文章
- flexbox-CSS3弹性盒模型flexbox布局完整版教程