文档章节

Hadoop 2.2.0版本./start-all.sh错误解决

mskk
 mskk
发布于 2017/05/04 21:18
字数 1490
阅读 1
收藏 0
点赞 0
评论 0

转自<http://www.lvcy.net/?post=162>

001 This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
002 Starting namenodes on [Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/hadoop/hadoop/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now.
003 It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.]
004 HotSpot(TM): ssh: Could not resolve hostname HotSpot(TM): Name or service not known
005 -c: Unknown cipher type 'cd'
006 64-Bit: ssh: Could not resolve hostname 64-Bit: Name or service not known
007 you: ssh: Could not resolve hostname you: Name or service not known
008 Server: ssh: Could not resolve hostname Server: Name or service not known
009 You: ssh: Could not resolve hostname You: Name or service not known
010 The: ssh: Could not resolve hostname The: Name or service not known
011 Java: ssh: Could not resolve hostname Java: Name or service not known
012 will: ssh: Could not resolve hostname will: Name or service not known
013 guard.: ssh: Could not resolve hostname guard.: Name or service not known
014 stack: ssh: Could not resolve hostname stack: Name or service not known
015 disabled: ssh: Could not resolve hostname disabled: Name or service not known
016 with: ssh: Could not resolve hostname with: Name or service not known
017 highly: ssh: Could not resolve hostname highly: Name or service not known
018 guard: ssh: Could not resolve hostname guard: Name or service not known
019 recommended: ssh: Could not resolve hostname recommended: Name or service not known
020 whichssh: Could not resolve hostname which: Name or service not known
021 it: ssh: Could not resolve hostname it: Name or service not known
022 It's: ssh: Could not resolve hostname It's: Name or service not known
023 have: ssh: Could not resolve hostname have: Name or service not known
024 fix: ssh: Could not resolve hostname fix: Name or service not known
025 or: ssh: Could not resolve hostname or: Name or service not known
026 VM: ssh: Could not resolve hostname VM: Name or service not known
027 now.: ssh: Could not resolve hostname now.: Name or service not known
028 try: ssh: Could not resolve hostname try: Name or service not known
029 stack: ssh: Could not resolve hostname stack: Name or service not known
030 library: ssh: Could not resolve hostname library: Name or service not known
031 <libfile>',: ssh: Could not resolve hostname <libfile>',: Name or service not known
032 might: ssh: Could not resolve hostname might: Name or service not known
033 noexecstack'.: ssh: Could not resolve hostname noexecstack'.: Name or service not known
034 have: ssh: Could not resolve hostname have: Name or service not known
035 'execstack: ssh: Could not resolve hostname 'execstack: Name or service not known
036 fix: ssh: Could not resolve hostname fix: Name or service not known
037 link: ssh: Could not resolve hostname link: Name or service not known
038 warning:: ssh: Could not resolve hostname warning:: Name or service not known
039 with: ssh: Could not resolve hostname with: Name or service not known
040 that: ssh: Could not resolve hostname that: Name or service not known
041 the: ssh: Could not resolve hostname the: Name or service not known
042 VM: ssh: Could not resolve hostname VM: Name or service not known
043 loaded: ssh: Could not resolve hostname loaded: Name or service not known
044 '-z: ssh: Could not resolve hostname '-z: Name or service not known
045 the: ssh: Could not resolve hostname the: Name or service not known
046 library: ssh: Could not resolve hostname library: Name or service not known
047 to: ssh: connect to host to port 22: Connection refused
048 localhost: Error: JAVA_HOME is not set and could not be found.
049 Starting secondary namenodes [Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/hadoop/hadoop/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now.
050 It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
051 0.0.0.0]
052 Java: ssh: Could not resolve hostname Java: Name or service not known
053 HotSpot(TM): ssh: Could not resolve hostname HotSpot(TM): Name or service not known
054 Server: ssh: Could not resolve hostname Server: Name or service not known
055 64-Bit: ssh: Could not resolve hostname 64-Bit: Name or service not known
056 VM: ssh: Could not resolve hostname VM: Name or service not known
057 -c: Unknown cipher type 'cd'
058 You: ssh: Could not resolve hostname You: Name or service not known
059 have: ssh: Could not resolve hostname have: Name or service not known
060 that: ssh: Could not resolve hostname that: Name or service not known
061 warning:: ssh: Could not resolve hostname warning:: Name or service not known
062 loaded: ssh: Could not resolve hostname loaded: Name or service not known
063 stack: ssh: Could not resolve hostname stack: Name or service not known
064 the: ssh: Could not resolve hostname the: Name or service not known
065 fix: ssh: Could not resolve hostname fix: Name or service not known
066 library: ssh: Could not resolve hostname library: Name or service not known
067 with: ssh: Could not resolve hostname with: Name or service not known
068 stack: ssh: Could not resolve hostname stack: Name or service not known
069 have: ssh: Could not resolve hostname have: Name or service not known
070 try: ssh: Could not resolve hostname try: Name or service not known
071 recommended: ssh: Could not resolve hostname recommended: Name or service not known
072 It's: ssh: Could not resolve hostname It's: Name or service not known
073 might: ssh: Could not resolve hostname might: Name or service not known
074 the: ssh: Could not resolve hostname the: Name or service not known
075 now.: ssh: Could not resolve hostname now.: Name or service not known
076 disabled: ssh: Could not resolve hostname disabled: Name or service not known
077 highly: ssh: Could not resolve hostname highly: Name or service not known
078 VM: ssh: Could not resolve hostname VM: Name or service not known
079 fix: ssh: Could not resolve hostname fix: Name or service not known
080 'execstack: ssh: Could not resolve hostname 'execstack: Name or service not known
081 whichssh: Could not resolve hostname which: Name or service not known
082 you: ssh: Could not resolve hostname you: Name or service not known
083 will: ssh: Could not resolve hostname will: Name or service not known
084 guard: ssh: Could not resolve hostname guard: Name or service not known
085 noexecstack'.: ssh: Could not resolve hostname noexecstack'.: Name or service not known
086 <libfile>',: ssh: Could not resolve hostname <libfile>',: Name or service not known
087 link: ssh: Could not resolve hostname link: Name or service not known
088 or: ssh: Could not resolve hostname or: Name or service not known
089 The: ssh: Could not resolve hostname The: Name or service not known
090 library: ssh: Could not resolve hostname library: Name or service not known
091 with: ssh: Could not resolve hostname with: Name or service not known
092 it: ssh: Could not resolve hostname it: Name or service not known
093 guard.: ssh: Could not resolve hostname guard.: Name or service not known
094 '-z: ssh: Could not resolve hostname '-z: Name or service not known
095 to: ssh: connect to host to port 22: Connection refused
096 0.0.0.0: Error: JAVA_HOME is not set and could not be found.
097 starting yarn daemons
098 starting resourcemanager, logging to /home/hadoop/hadoop/logs/yarn-hadoop-resourcemanager-master.out
099 Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/hadoop/hadoop/lib/native/libhadoop.so.1.0.0 whichmight have disabled stack guard. The VM will try to fix the stack guard now.
100 It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
101 localhost: Error: JAVA_HOME is not set and could not be found.

 

解决办法一:

hadoop@master~: sudo gedit ~/.bash_profile    然后输入如下内容并保存:

 

1 export HADOOP_COMMON_LIB_NATIVE_DIR=${HADOOP_PREFIX}/lib/native
2 export HADOOP_OPTS="-Djava.library.path=$HADOOP_PREFIX/lib"

解决办法二:

 

打开$HADOOP_HOME/etc/hadoop/hadoop-env.sh文件,输入如下内容并保存

 

1 export HADOOP_COMMON_LIB_NATIVE_DIR=${HADOOP_PREFIX}/lib/native
2 export HADOOP_OPTS="-Djava.library.path=$HADOOP_PREFIX/lib"

解决办法三:

 

打开$HADOOP_HOME/etc/hadoop/yarn-env.sh,在任意位置输入如下内容

 

1 export HADOOP_COMMON_LIB_NATIVE_DIR=${HADOOP_PREFIX}/lib/native
2 export HADOOP_OPTS="-Djava.library.path=$HADOOP_PREFIX/lib"

最后在运行$HADOOP_HOME/sbin/start-all.sh

本文转载自:http://gaylord.iteye.com/blog/2109547

共有 人打赏支持
mskk
粉丝 2
博文 145
码字总数 2246
作品 0
宝山
程序员
centos6.4 32/64位机 hadoop2.2.0集群安装

1、准备环境 安装VMware10 ,三台centos6.4 版本,安装在VMware虚拟机下。 1)安装中文输入法: 1、需要root权限,所以要用root登录 ,或su root 2、yum install "@Chinese Support" 2)安装...

kt431128 ⋅ 2014/06/03 ⋅ 17

Linux单机伪分布式安装

1、服务器信息 一台linux服务器【Linux 5.5,x86_64,用于安装hadoop】 2、需要软件 jdk1.6.0_31 hadoop-2.2.0.tar.gz 3、建立ssh无密码登录 主要是每次启动hadoop时不用多次输入登录Linux操...

颜建海 ⋅ 2014/04/26 ⋅ 1

Hadoop-2.5.1 编译安装步骤

环境: 系统 CentOS 6.3 64 位 * 2 Master 10.10.55.112Slave1 10.10.55.133软件: Hadoop- 2.5.1- src.tar.gz 一、准备环境 1.1 分别设置节点ip地址(固定) 此步骤所有节点都要操作 vi /et...

次渠龙哥 ⋅ 2014/09/24 ⋅ 0

hbase 启动时报错

操作系统:suse linux server 11 sp3 hadoop版本:2.2.0 hbase版本:0.96.2 zookeeper版本:3.4.5 启动顺序: start-dfs.sh(在master上启动hadoop集群,可以正常启动) start-yarn.sh(在mas...

jzcslwl ⋅ 2014/07/19 ⋅ 3

Spark集群简单安装流程

Spark集群部署 一、准备工作 准备3台机器创建集群,主机名及IP地址为Master 192.168.2.240Slave1 192.168.2.241Slave2 192.168.2.242 下载软件Scala: https://downloads.lightbend.com/scal...

四京 ⋅ 2017/12/22 ⋅ 0

WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform

sbin/start-all.sh 主要错误为: WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 然而完整的运行返......

konakona ⋅ 2014/03/19 ⋅ 8

Hadoop环境配置过程中可能遇到问题的解决方案

Failed to set setXIncludeAware(true) for parser 遇到此问题一般是jar包冲突的问题。一种情况是我们向java的lib目录添加我们自己的jar包导致Hadoop引用jar包的冲突。解决方案就是删除我们自...

闵开慧 ⋅ 2014/04/03 ⋅ 0

小白做最新单机2.7.1 hadoop(hadoop 安装,配置,错误汇总)

本人比较笨,弄了好久才学到皮毛(以后在学到一点在补充)。 首先给大家两个网页理解什么是hadoop: http://os.51cto.com/art/201305/396145.htm (建议先看,中间一段解释的很好) http://www...

watertiger ⋅ 2016/10/20 ⋅ 0

hadoop 1.x升级至hadoop-2.2.0记录

一、概述 公司hadoop集群从1.2.1升级到2.2.0已经有一段时间,这篇blog将总结一下我前段时间在升级至hadoop2.2.0版本过程中遇到的一些问题,以及具体的升级步骤。 二、升级过程 (1)停掉hadoo...

zengzhaozheng ⋅ 2014/06/18 ⋅ 0

spark-2.2.0 集群安装部署以及hadoop集群部署

Spark在生产环境中,主要部署在安装Linux系统的集群中。在linux系统中安装Spark需要预先安装JDK、Scala等所需要的依赖。 由于Spark是计算框架,所以需要预先在集群内有搭建好存储数据的持久化...

huaishu ⋅ 2017/08/05 ⋅ 0

没有更多内容

加载失败,请刷新页面

加载更多

下一页

java软件工程师简历中项目经验怎么写?

作者:暗灭 链接:https://www.zhihu.com/question/20695310/answer/180691302 来源:知乎 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 直接给你贴个我自己的简历...

颖伙虫 ⋅ 21分钟前 ⋅ 0

Confluence 6 恢复一个站点有关使用站点导出为备份的说明

推荐使用生产备份策略。我们推荐你针对你的生产环境中使用的 Confluence 参考 Production Backup Strategy 页面中的内容进行备份和恢复(这个需要你备份你的数据库和 home 目录)。XML 导出备...

honeymose ⋅ 今天 ⋅ 0

JavaScript零基础入门——(九)JavaScript的函数

JavaScript零基础入门——(九)JavaScript的函数 欢迎回到我们的JavaScript零基础入门,上一节课我们了解了有关JS中数组的相关知识点,不知道大家有没有自己去敲一敲,消化一下?这一节课,...

JandenMa ⋅ 今天 ⋅ 0

火狐浏览器各版本下载及插件httprequest

各版本下载地址:http://ftp.mozilla.org/pub/mozilla.org//firefox/releases/ httprequest插件截至57版本可用

xiaoge2016 ⋅ 今天 ⋅ 0

Docker系列教程28-实战:使用Docker Compose运行ELK

原文:http://www.itmuch.com/docker/28-docker-compose-in-action-elk/,转载请说明出处。 ElasticSearch【存储】 Logtash【日志聚合器】 Kibana【界面】 答案: version: '2'services: ...

周立_ITMuch ⋅ 今天 ⋅ 0

使用快嘉sdkg极速搭建接口模拟系统

在具体项目研发过程中,一旦前后端双方约定好接口,前端和app同事就会希望后台同事可以尽快提供可供对接的接口方便调试,而对后台同事来说定好接口还仅是个开始、设计流程,实现业务逻辑,编...

fastjrun ⋅ 今天 ⋅ 0

PXE/KickStart 无人值守安装

导言 作为中小公司的运维,经常会遇到一些机械式的重复工作,例如:有时公司同时上线几十甚至上百台服务器,而且需要我们在短时间内完成系统安装。 常规的办法有什么? 光盘安装系统 ===> 一...

kangvcar ⋅ 昨天 ⋅ 0

使用Puppeteer撸一个爬虫

Puppeteer是什么 puppeteer是谷歌chrome团队官方开发的一个无界面(Headless)chrome工具。Chrome Headless将成为web应用自动化测试的行业标杆。所以我们很有必要来了解一下它。所谓的无头浏...

小草先森 ⋅ 昨天 ⋅ 0

Java Done Right

* 表示难度较大或理论性较强。 ** 表示难度更大或理论性更强。 【Java语言本身】 基础语法,面向对象,顺序编程,并发编程,网络编程,泛型,注解,lambda(Java8),module(Java9),var(...

风华神使 ⋅ 昨天 ⋅ 0

Linux系统日志

linux 系统日志 /var/log/messages /etc/logrotate.conf 日志切割配置文件 https://my.oschina.net/u/2000675/blog/908189 logrotate 使用详解 dmesg 命令 /var/log/dmesg 日志 last命令,调......

Linux学习笔记 ⋅ 昨天 ⋅ 0

没有更多内容

加载失败,请刷新页面

加载更多

下一页

返回顶部
顶部