分享

hbase启动时报错

假装淡定 发表于 2016-5-20 21:34:55 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 12 41455
终端:
root@slave1:/usr/local/hbase-1.1.4# bin/start-hbase.sh
starting master, logging to /usr/local/hbase-1.1.4/logs/hbase-root-master-slave1.out
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
slave1: starting regionserver, logging to /usr/local/hbase-1.1.4/logs/hbase-root-regionserver-slave1.out
slave2: starting regionserver, logging to /usr/local/hbase-1.1.4/logs/hbase-root-regionserver-slave2.out
slave3: starting regionserver, logging to /usr/local/hbase-1.1.4/logs/hbase-root-regionserver-slave3.out
slave1: Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
slave1: Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
slave2: Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
slave2: Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
''''''
日志:
2016年 05月 20日 星期五 20:50:34 CST Starting master on slave1
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 7726
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 7726
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
2016-05-20 20:50:36,157 INFO  [main] util.VersionInfo: HBase 1.1.4
2016-05-20 20:50:36,165 INFO  [main] util.VersionInfo: Source code repository git://diocles.local/Volumes/hbase-1.1.4/hbase revision=14c0e77956f9bb4c6edf0378474264843e4a82c3
2016-05-20 20:50:36,165 INFO  [main] util.VersionInfo: Compiled by ndimiduk on Wed Mar 16 21:18:26 PDT 2016
2016-05-20 20:50:36,165 INFO  [main] util.VersionInfo: From source with checksum b4727595ad30c5f09c49cd7af68642ad
2016-05-20 20:50:37,978 INFO  [main] util.ServerCommandLine: env:PATH=/usr/lib/jvm/jdk1.8.0_40/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:HADOOP_HOME/bin:/home/spark/scala-2.11.8/bin:/home/spark/spark-1.5.0-bin-hadoop2.6/bin:/usr/local/hbase-1.1.4/bin:/usr/local/apache-ant-1.9.4/bin
2016-05-20 20:50:37,978 INFO  [main] util.ServerCommandLine: env:XAUTHORITY=/home/ruiyang/.Xauthority
2016-05-20 20:50:37,978 INFO  [main] util.ServerCommandLine: env:HBASE_REGIONSERVER_OPTS= -XX:PermSize=128m -XX:MaxPermSize=128m
2016-05-20 20:50:37,978 INFO  [main] util.ServerCommandLine: env:SUDO_USER=ruiyang
2016-05-20 20:50:37,978 INFO  [main] util.ServerCommandLine: env:JRE_HOME=/usr/lib/jvm/jdk1.8.0_40/jre
2016-05-20 20:50:37,978 INFO  [main] util.ServerCommandLine: env:MAIL=/var/mail/root
2016-05-20 20:50:37,979 INFO  [main] util.ServerCommandLine: env:COLORTERM=gnome-terminal
2016-05-20 20:50:37,979 INFO  [main] util.ServerCommandLine: env:LD_LIBRARY_PATH=:/usr/local/hadoop-2.6.0/lib/native
2016-05-20 20:50:37,979 INFO  [main] util.ServerCommandLine: env:USERNAME=root
2016-05-20 20:50:37,979 INFO  [main] util.ServerCommandLine: env:LOGNAME=root
2016-05-20 20:50:37,979 INFO  [main] util.ServerCommandLine: env:HBASE_REST_OPTS=
2016-05-20 20:50:37,979 INFO  [main] util.ServerCommandLine: env:PWD=/usr/local/hbase-1.1.4
2016-05-20 20:50:37,979 INFO  [main] util.ServerCommandLine: env:LANGUAGE=zh_CN:
2016-05-20 20:50:37,979 INFO  [main] util.ServerCommandLine: env:HBASE_ROOT_LOGGER=INFO,RFA
2016-05-20 20:50:37,979 INFO  [main] util.ServerCommandLine: env:LESSOPEN=| /usr/bin/lesspipe %s
2016-05-20 20:50:37,979 INFO  [main] util.ServerCommandLine: env:SHELL=/bin/bash
2016-05-20 20:50:37,979 INFO  [main] util.ServerCommandLine: env:HBASE_ENV_INIT=true
2016-05-20 20:50:37,979 INFO  [main] util.ServerCommandLine: env:HBASE_MASTER_OPTS= -XX:PermSize=128m -XX:MaxPermSize=128m
2016-05-20 20:50:37,979 INFO  [main] util.ServerCommandLine: env:HBASE_MANAGES_ZK=false
2016-05-20 20:50:37,979 INFO  [main] util.ServerCommandLine: env:HADOOP_HOME=/usr/local/hadoop-2.6.0
2016-05-20 20:50:37,979 INFO  [main] util.ServerCommandLine: env:HBASE_NICENESS=0
2016-05-20 20:50:37,980 INFO  [main] util.ServerCommandLine: env:HBASE_OPTS=-XX:+UseConcMarkSweepGC   -XX:PermSize=128m -XX:MaxPermSize=128m -Dhbase.log.dir=/usr/local/hbase-1.1.4/logs -Dhbase.log.file=hbase-root-master-slave1.log -Dhbase.home.dir=/usr/local/hbase-1.1.4 -Dhbase.id.str=root -Dhbase.root.logger=INFO,RFA -Djava.library.path=/usr/local/hadoop-2.6.0/lib/native -Dhbase.security.logger=INFO,RFAS
2016-05-20 20:50:37,980 INFO  [main] util.ServerCommandLine: env:HBASE_START_FILE=/tmp/hbase-root-master.autorestart
2016-05-20 20:50:37,980 INFO  [main] util.ServerCommandLine: env:HBASE_SECURITY_LOGGER=INFO,RFAS
2016-05-20 20:50:37,980 INFO  [main] util.ServerCommandLine: env:LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
2016-05-20 20:50:37,980 INFO  [main] util.ServerCommandLine: env:SHLVL=4
2016-05-20 20:50:37,980 INFO  [main] util.ServerCommandLine: env:HBASE_LOGFILE=hbase-root-master-slave1.log
2016-05-20 20:50:37,980 INFO  [main] util.ServerCommandLine: env:LESSCLOSE=/usr/bin/lesspipe %s %s
2016-05-20 20:50:37,980 INFO  [main] util.ServerCommandLine: env:JAVA_HOME=/usr/lib/jvm/jdk1.8.0_40
2016-05-20 20:50:37,980 INFO  [main] util.ServerCommandLine: env:TERM=xterm
2016-05-20 20:50:37,980 INFO  [main] util.ServerCommandLine: env:XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
2016-05-20 20:50:37,980 INFO  [main] util.ServerCommandLine: env:LANG=zh_CN.UTF-8
2016-05-20 20:50:37,980 INFO  [main] util.ServerCommandLine: env:XDG_SESSION_ID=c2
2016-05-20 20:50:37,980 INFO  [main] util.ServerCommandLine: env:MAVEN_OPTS=-Xmx512m
2016-05-20 20:50:37,980 INFO  [main] util.ServerCommandLine: env:ANT_HOME=/usr/local/apache-ant-1.9.4
2016-05-20 20:50:37,980 INFO  [main] util.ServerCommandLine: env:DISPLAY=:0
2016-05-20 20:50:37,980 INFO  [main] util.ServerCommandLine: env:SUDO_GID=1000
2016-05-20 20:50:37,980 INFO  [main] util.ServerCommandLine: env:SPARK_HOME=/home/spark/spark-1.5.0-bin-hadoop2.6
2016-05-20 20:50:37,980 INFO  [main] util.ServerCommandLine: env:SUDO_UID=1000
2016-05-20 20:50:37,981 INFO  [main] util.ServerCommandLine: env:SCALA_HOME=/home/spark/scala-2.11.8
2016-05-20 20:50:37,981 INFO  [main] util.ServerCommandLine: env:HBASE_CLASSPATH=/usr/local/hadoop-2.6.0/etc/hadoop
2016-05-20 20:50:37,981 INFO  [main] util.ServerCommandLine: env:HBASE_IDENT_STRING=root
2016-05-20 20:50:37,981 INFO  [main] util.ServerCommandLine: env:HBASE_ZNODE_FILE=/tmp/hbase-root-master.znode
2016-05-20 20:50:37,981 INFO  [main] util.ServerCommandLine: env:HBASE_LOG_PREFIX=hbase-root-master-slave1
2016-05-20 20:50:37,981 INFO  [main] util.ServerCommandLine: env:HBASE_LOG_DIR=/usr/local/hbase-1.1.4/logs
2016-05-20 20:50:37,981 INFO  [main] util.ServerCommandLine: env:USER=root
2016-05-20 20:50:37,997 INFO  [main] util.ServerCommandLine: env:CLASSPATH=/usr/local/hbase-1.1.4/conf:/usr/lib/jvm/jdk1.8.0_40/lib/tools.jar:/usr/local/hbase-1.1.4:/usr/local/hbase-1.1.4/lib/activation-1.1.jar:/usr/local/hbase-1.1.4/lib/antisamy-1.4.3.jar:/usr/local/hbase-1.1.4/lib/aopalliance-1.0.jar:/usr/local/hbase-1.1.4/lib/apacheds-i18n-2.0.0-M15.jar:/usr/local/hbase-1.1.4/lib/apacheds-kerberos-codec-2.0.0-M15.jar:/usr/local/hbase-1.1.4/lib/api-asn1-api-1.0.0-M20.jar:/usr/local/hbase-1.1.4/lib/api-util-1.0.0-M20.jar:/usr/local/hbase-1.1.4/lib/asm-3.1.jar:/usr/local/hbase-1.1.4/lib/avro-1.7.4.jar:/usr/local/hbase-1.1.4/lib/batik-css-1.7.jar:/usr/local/hbase-1.1.4/lib/batik-ext-1.7.jar:/usr/local/hbase-1.1.4/lib/batik-util-1.7.jar:/usr/local/hbase-1.1.4/lib/bsh-core-2.0b4.jar:/usr/local/hbase-1.1.4/lib/commons-beanutils-1.7.0.jar:/usr/local/hbase-1.1.4/lib/commons-beanutils-core-1.7.0.jar:/usr/local/hbase-1.1.4/lib/commons-cli-1.2.jar:/usr/local/hbase-1.1.4/lib/commons-codec-1.9.jar:/usr/local/hbase-1.1.4/lib/commons-collections-3.2.2.jar:/usr/local/hbase-1.1.4/lib/commons-compress-1.4.1.jar:/usr/local/hbase-1.1.4/lib/commons-configuration-1.6.jar:/usr/local/hbase-1.1.4/lib/commons-daemon-1.0.13.jar:/usr/local/hbase-1.1.4/lib/commons-digester-1.8.jar:/usr/local/hbase-1.1.4/lib/commons-el-1.0.jar:/usr/local/hbase-1.1.4/lib/commons-fileupload-1.2.jar:/usr/local/hbase-1.1.4/lib/commons-httpclient-3.1.jar:/usr/local/hbase-1.1.4/lib/commons-io-2.4.jar:/usr/local/hbase-1.1.4/lib/commons-lang-2.6.jar:/usr/local/hbase-1.1.4/lib/commons-logging-1.2.jar:/usr/local/hbase-1.1.4/lib/commons-math-2.2.jar:/usr/local/hbase-1.1.4/lib/commons-math3-3.1.1.jar:/usr/local/hbase-1.1.4/lib/commons-net-3.1.jar:/usr/local/hbase-1.1.4/lib/disruptor-3.3.0.jar:/usr/local/hbase-1.1.4/lib/esapi-2.1.0.jar:/usr/local/hbase-1.1.4/lib/findbugs-annotations-1.3.9-1.jar:/usr/local/hbase-1.1.4/lib/guava-12.0.1.jar:/usr/local/hbase-1.1.4/lib/guice-3.0.jar:/usr/local/hbase-1.1.4/lib/guice-servlet-3.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-annotations-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-ant-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-archives-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-archives-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-archives-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-auth-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-aws-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-common-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-common-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-common-2.6.0-tests.jar:/usr/local/hbase-1.1.4/lib/hadoop-common-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-datajoin-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-datajoin-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-datajoin-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-distcp-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-distcp-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-distcp-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-extras-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-extras-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-extras-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-gridmix-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-gridmix-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-gridmix-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-hdfs-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-hdfs-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-hdfs-2.6.0-tests.jar:/usr/local/hbase-1.1.4/lib/hadoop-hdfs-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-hdfs-nfs-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-kms-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-app-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-app-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-app-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-common-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-common-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-common-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-core-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-core-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-core-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-hs-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-hs-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-hs-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-hs-plugins-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-hs-plugins-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-hs-plugins-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-jobclient-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-jobclient-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-jobclient-2.6.0-tests.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-jobclient-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-shuffle-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-shuffle-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-client-shuffle-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-examples-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-examples-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-mapreduce-examples-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-nfs-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-openstack-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-rumen-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-rumen-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-rumen-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-sls-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-sls-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-sls-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-streaming-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-streaming-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-streaming-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-api-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-api-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-applications-distributedshell-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-applications-distributedshell-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-applications-distributedshell-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-applications-unmanaged-am-launcher-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-applications-unmanaged-am-launcher-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-applications-unmanaged-am-launcher-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-client-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-client-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-client-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-common-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-common-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-common-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-registry-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-applicationhistoryservice-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-applicationhistoryservice-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-applicationhistoryservice-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-common-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-common-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-common-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-nodemanager-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-nodemanager-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-nodemanager-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-resourcemanager-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-resourcemanager-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-resourcemanager-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-tests-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-tests-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-tests-2.6.0-tests.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-tests-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-web-proxy-2.6.0.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-web-proxy-2.6.0-sources.jar:/usr/local/hbase-1.1.4/lib/hadoop-yarn-server-web-proxy-2.6.0-test-sources.jar:/usr/local/hbase-1.1.4/lib/hbase-annotations-1.1.4.jar:/usr/local/hbase-1.1.4/lib/hbase-annotations-1.1.4-tests.jar:/usr/local/hbase-1.1.4/lib/hbase-client-1.1.4.jar:/usr/local/hbase-1.1.4/lib/hbase-common-1.1.4.jar:/usr/local/hbase-1.1.4/lib/hbase-common-1.1.4-tests.jar:/usr/local/hbase-1.1.4/lib/hbase-examples-1.1.4.jar:/usr/local/hbase-1.1.4/lib/hbase-hadoop2-compat-1.1.4.jar:/usr/local/hbase-1.1.4/lib/hbase-hadoop-compat-1.1.4.jar:/usr/local/hbase-1.1.4/lib/hbase-it-1.1.4.jar:/usr/local/hbase-1.1.4/lib/hbase-it-1.1.4-tests.jar:/usr/local/hbase-1.1.4/lib/hbase-prefix-tree-1.1.4.jar:/usr/local/hbase-1.1.4/lib/hbase-procedure-1.1.4.jar:/usr/local/hbase-1.1.4/lib/hbase-protocol-1.1.4.jar:/usr/local/hbase-1.1.4/lib/hbase-resource-bundle-1.1.4.jar:/usr/local/hbase-1.1.4/lib/hbase-rest-1.1.4.jar:/usr/local/hbase-1.1.4/lib/hbase-server-1.1.4.jar:/usr/local/hbase-1.1.4/lib/hbase-server-1.1.4-tests.jar:/usr/local/hbase-1.1.4/lib/hbase-shell-1.1.4.jar:/usr/local/hbase-1.1.4/lib/hbase-thrift-1.1.4.jar:/usr/local/hbase-1.1.4/lib/htrace-core-3.1.0-incubating.jar:/usr/local/hbase-1.1.4/lib/httpclient-4.2.5.jar:/usr/local/hbase-1.1.4/lib/httpcore-4.1.3.jar:/usr/local/hbase-1.1.4/lib/jackson-core-asl-1.9.13.jar:/usr/local/hbase-1.1.4/lib/jackson-jaxrs-1.9.13.jar:/usr/local/hbase-1.1.4/lib/jackson-mapper-asl-1.9.13.jar:/usr/local/hbase-1.1.4/lib/jackson-xc-1.9.13.jar:/usr/local/hbase-1.1.4/lib/jamon-runtime-2.3.1.jar:/usr/local/hbase-1.1.4/lib/jasper-compiler-5.5.23.jar:/usr/local/hbase-1.1.4/lib/jasper-runtime-5.5.23.jar:/usr/local/hbase-1.1.4/lib/javax.inject-1.jar:/usr/local/hbase-1.1.4/lib/java-xmlbuilder-0.4.jar:/usr/local/hbase-1.1.4/lib/jaxb-api-2.2.2.jar:/usr/local/hbase-1.1.4/lib/jaxb-impl-2.2.3-1.jar:/usr/local/hbase-1.1.4/lib/jcodings-1.0.8.jar:/usr/local/hbase-1.1.4/lib/jersey-client-1.9.jar:/usr/local/hbase-1.1.4/lib/jersey-core-1.9.jar:/usr/local/hbase-1.1.4/lib/jersey-guice-1.9.jar:/usr/local/hbase-1.1.4/lib/jersey-json-1.9.jar:/usr/local/hbase-1.1.4/lib/jersey-server-1.9.jar:/usr/local/hbase-1.1.4/lib/jets3t-0.9.0.jar:/usr/local/hbase-1.1.4/lib/jettison-1.3.3.jar:/usr/local/hbase-1.1.4/lib/jetty-6.1.26.jar:/usr/local/hbase-1.1.4/lib/jetty-sslengine-6.1.26.jar:/usr/local/hbase-1.1.4/lib/jetty-util-6.1.26.jar:/usr/local/hbase-1.1.4/lib/joni-2.1.2.jar:/usr/local/hbase-1.1.4/lib/jruby-complete-1.6.8.jar:/usr/local/hbase-1.1.4/lib/jsch-0.1.42.jar:/usr/local/hbase-1.1.4/lib/jsp-2.1-6.1.14.jar:/usr/local/hbase-1.1.4/lib/jsp-api-2.1-6.1.14.jar:/usr/local/hbase-1.1.4/lib/jsr305-1.3.9.jar:/usr/local/hbase-1.1.4/lib/junit-4.12.jar:/usr/local/hbase-1.1.4/lib/leveldbjni-all-1.8.jar:/usr/local/hbase-1.1.4/lib/libthrift-0.9.0.jar:/usr/local/hbase-1.1.4/lib/log4j-1.2.17.jar:/usr/local/hbase-1.1.4/lib/metrics-core-2.2.0.jar:/usr/local/hbase-1.1.4/lib/nekohtml-1.9.12.jar:/usr/local/hbase-1.1.4/lib/netty-3.2.4.Final.jar:/usr/local/hbase-1.1.4/lib/netty-all-4.0.23.Final.jar:/usr/local/hbase-1.1.4/lib/paranamer-2.3.jar:/usr/local/hbase-1.1.4/lib/protobuf-java-2.5.0.jar:/usr/local/hbase-1.1.4/lib/servlet-api-2.5-6.1.14.jar:/usr/local/hbase-1.1.4/lib/servlet-api-2.5.jar:/usr/local/hbase-1.1.4/lib/slf4j-api-1.7.7.jar:/usr/local/hbase-1.1.4/lib/slf4j-log4j12-1.7.5.jar:/usr/local/hbase-1.1.4/lib/snappy-java-1.0.4.1.jar:/usr/local/hbase-1.1.4/lib/spymemcached-2.11.6.jar:/usr/local/hbase-1.1.4/lib/xalan-2.7.0.jar:/usr/local/hbase-1.1.4/lib/xml-apis-1.3.03.jar:/usr/local/hbase-1.1.4/lib/xml-apis-ext-1.3.04.jar:/usr/local/hbase-1.1.4/lib/xmlenc-0.52.jar:/usr/local/hbase-1.1.4/lib/xom-1.2.5.jar:/usr/local/hbase-1.1.4/lib/xz-1.0.jar:/usr/local/hbase-1.1.4/lib/zookeeper-3.4.6.jar:/usr/local/hadoop-2.6.0/etc/hadoop:/usr/local/hadoop-2.6.0/share/hadoop/common/lib/*:/usr/local/hadoop-2.6.0/share/hadoop/common/*:/usr/local/hadoop-2.6.0/share/hadoop/hdfs:/usr/local/hadoop-2.6.0/share/hadoop/hdfs/lib/*:/usr/local/hadoop-2.6.0/share/hadoop/hdfs/*:/usr/local/hadoop-2.6.0/share/hadoop/yarn/lib/*:/usr/local/hadoop-2.6.0/share/hadoop/yarn/*:/usr/local/hadoop-2.6.0/share/hadoop/mapreduce/lib/*:/usr/local/hadoop-2.6.0/share/hadoop/mapreduce/*:/usr/local/hbase-1.1.4/*:/usr/local/hbase-1.1.4/conf::/usr/local/hadoop-2.6.0/contrib/capacity-scheduler/*.jar:/usr/local/hadoop-2.6.0/etc/hadoop
2016-05-20 20:50:37,997 INFO  [main] util.ServerCommandLine: env:SUDO_COMMAND=/bin/su
2016-05-20 20:50:37,998 INFO  [main] util.ServerCommandLine: env:XDG_SEAT=seat0
2016-05-20 20:50:37,998 INFO  [main] util.ServerCommandLine: env:NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
2016-05-20 20:50:37,998 INFO  [main] util.ServerCommandLine: env:QT_QPA_PLATFORMTHEME=appmenu-qt5
2016-05-20 20:50:37,998 INFO  [main] util.ServerCommandLine: env:HBASE_THRIFT_OPTS=
2016-05-20 20:50:37,999 INFO  [main] util.ServerCommandLine: env:HBASE_HOME=/usr/local/hbase-1.1.4
2016-05-20 20:50:37,999 INFO  [main] util.ServerCommandLine: env:XDG_VTNR=7
2016-05-20 20:50:37,999 INFO  [main] util.ServerCommandLine: env:HOME=/root
2016-05-20 20:50:37,999 INFO  [main] util.ServerCommandLine: env:MALLOC_ARENA_MAX=4
2016-05-20 20:50:38,038 INFO  [main] util.ServerCommandLine: vmName=Java HotSpot(TM) 64-Bit Server VM, vmVendor=Oracle Corporation, vmVersion=25.40-b25
2016-05-20 20:50:38,042 INFO  [main] util.ServerCommandLine: vmInputArguments=[-Dproc_master, -XX:OnOutOfMemoryError=kill -9 %p, -XX:+UseConcMarkSweepGC, -XX:PermSize=128m, -XX:MaxPermSize=128m, -Dhbase.log.dir=/usr/local/hbase-1.1.4/logs, -Dhbase.log.file=hbase-root-master-slave1.log, -Dhbase.home.dir=/usr/local/hbase-1.1.4, -Dhbase.id.str=root, -Dhbase.root.logger=INFO,RFA, -Djava.library.path=/usr/local/hadoop-2.6.0/lib/native, -Dhbase.security.logger=INFO,RFAS]
2016-05-20 20:50:41,752 INFO  [main] regionserver.RSRpcServices: master/slave1/192.168.1.171:16000 server-side HConnection retries=350
2016-05-20 20:50:42,524 INFO  [main] ipc.SimpleRpcScheduler: Using deadline as user call queue, count=3
2016-05-20 20:50:42,751 INFO  [main] ipc.RpcServer: master/slave1/192.168.1.171:16000: started 10 reader(s) listening on port=16000
2016-05-20 20:50:43,066 INFO  [main] impl.MetricsConfig: loaded properties from hadoop-metrics2-hbase.properties
2016-05-20 20:50:43,601 INFO  [main] impl.MetricsSystemImpl: Scheduled snapshot period at 10 second(s).
2016-05-20 20:50:43,601 INFO  [main] impl.MetricsSystemImpl: HBase metrics system started
2016-05-20 20:50:43,889 ERROR [main] master.HMasterCommandLine: Master exiting
java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster
    at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2341)
    at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:233)
    at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:139)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
    at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
    at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2355)
Caused by: java.lang.NoClassDefFoundError: com/amazonaws/services/s3/AmazonS3
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
    at java.lang.Class.getConstructor0(Class.java:3075)
    at java.lang.Class.newInstance(Class.java:412)
    at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
    at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
    at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
    at org.apache.hadoop.fs.FileSystem.loadFileSystems(FileSystem.java:2563)
    at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2574)
    at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2591)
    at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:91)
    at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2630)
    at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2612)

求大神指教,谢谢了

已有(13)人评论

跳转到指定楼层
假装淡定 发表于 2016-5-20 21:46:26
hmaster和hregionserver 起不来或者起来一会儿就没了
回复

使用道具 举报

einhep 发表于 2016-5-21 06:46:39
尝试把
aws-java-sdk-1.7.4.jar 放到了hbase的lib下
回复

使用道具 举报

langke93 发表于 2016-5-21 06:49:19
楼主是否用hadoop下的jar包覆盖了hbase下的hadoop*.jar
我也遇到了同样的问题。 版本hbase是1.1.3 , 2.6.0的hadoop下是没有client这个客户端jar包的,而1.1.3的lib下有。
楼主的版本也可以试下


回复

使用道具 举报

假装淡定 发表于 2016-5-21 16:35:53
本帖最后由 假装淡定 于 2016-5-21 16:44 编辑
langke93 发表于 2016-5-21 06:49
楼主是否用hadoop下的jar包覆盖了hbase下的hadoop*.jar
我也遇到了同样的问题。 版本hbase是1.1.3 , 2.6. ...

之前有用Hadoop下的jar包替换掉hbase里lib文件夹里的jar包:rm -rf hadoop*.jar
        find /usr/local/hadoop-2.6.0/share/hadoop -name "hadoop*jar" | xargs -i cp {} /usr/local/hbase-1.1.4/lib/
启动还是会出现那个警告(查看过lib下Hadoop的jar包以成功替换为2.6.0的了)
还试过把hadoop的hdfs-site.xml和core-site.xml 放到hbase-1.1.4/conf下也不行
另外请问hbase-site.xml里
hbase.rootdir下面应该写集群的名称还是应该写namenode所在机器的机器名?
回复

使用道具 举报

假装淡定 发表于 2016-5-21 17:11:40
einhep 发表于 2016-5-21 06:46
尝试把
aws-java-sdk-1.7.4.jar 放到了hbase的lib下

层主我用你的方法试了下,scp过去的,启动后发现hmaster很快挂掉了但hregionserver一直都在,之前hregionserver也会很快挂掉
绕后发现日志如下:
2016-05-21 17:00:26,288 INFO  [main] zookeeper.ZooKeeper: Client environment:java.io.tmpdir=/tmp
2016-05-21 17:00:26,288 INFO  [main] zookeeper.ZooKeeper: Client environment:java.compiler=<NA>
2016-05-21 17:00:26,288 INFO  [main] zookeeper.ZooKeeper: Client environment:os.name=Linux
2016-05-21 17:00:26,289 INFO  [main] zookeeper.ZooKeeper: Client environment:os.arch=amd64
2016-05-21 17:00:26,289 INFO  [main] zookeeper.ZooKeeper: Client environment:os.version=3.13.0-24-generic
2016-05-21 17:00:26,289 INFO  [main] zookeeper.ZooKeeper: Client environment:user.name=root
2016-05-21 17:00:26,289 INFO  [main] zookeeper.ZooKeeper: Client environment:user.home=/root
2016-05-21 17:00:26,289 INFO  [main] zookeeper.ZooKeeper: Client environment:user.dir=/usr/local/hbase-1.1.4
2016-05-21 17:00:26,290 INFO  [main] zookeeper.ZooKeeper: Initiating client connection, connectString=slave4:2181,slave5:2181,slave6:2181 sessionTimeout=120000 watcher=master:160000x0, quorum=slave4:2181,slave5:2181,slave6:2181, baseZNode=/hbase
2016-05-21 17:00:26,376 INFO  [main-SendThread(slave4:2181)] zookeeper.ClientCnxn: Opening socket connection to server slave4/192.168.1.174:2181. Will not attempt to authenticate using SASL (unknown error)
2016-05-21 17:00:26,461 INFO  [main-SendThread(slave4:2181)] zookeeper.ClientCnxn: Socket connection established to slave4/192.168.1.174:2181, initiating session
2016-05-21 17:00:26,509 INFO  [main-SendThread(slave4:2181)] zookeeper.ClientCnxn: Session establishment complete on server slave4/192.168.1.174:2181, sessionid = 0x154d2819aa50001, negotiated timeout = 40000
2016-05-21 17:00:27,018 INFO  [RpcServer.responder] ipc.RpcServer: RpcServer.responder: starting
2016-05-21 17:00:27,019 INFO  [RpcServer.listener,port=16000] ipc.RpcServer: RpcServer.listener,port=16000: starting
2016-05-21 17:00:28,317 INFO  [main] mortbay.log: Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
2016-05-21 17:00:28,323 INFO  [main] http.HttpRequestLog: Http request log for http.requests.master is not defined
2016-05-21 17:00:28,335 INFO  [main] http.HttpServer: Added global filter 'safety' (class=org.apache.hadoop.hbase.http.HttpServer$QuotingInputFilter)
2016-05-21 17:00:28,340 INFO  [main] http.HttpServer: Added filter static_user_filter (class=org.apache.hadoop.hbase.http.lib.StaticUserWebFilter$StaticUserFilter) to context master
2016-05-21 17:00:28,340 INFO  [main] http.HttpServer: Added filter static_user_filter (class=org.apache.hadoop.hbase.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs
2016-05-21 17:00:28,340 INFO  [main] http.HttpServer: Added filter static_user_filter (class=org.apache.hadoop.hbase.http.lib.StaticUserWebFilter$StaticUserFilter) to context static
2016-05-21 17:00:28,634 INFO  [main] http.HttpServer: Jetty bound to port 16010
2016-05-21 17:00:28,634 INFO  [main] mortbay.log: jetty-6.1.26
2016-05-21 17:00:30,722 INFO  [main] mortbay.log: Started SelectChannelConnector@0.0.0.0:16010
2016-05-21 17:00:30,961 INFO  [main] master.HMaster: hbase.rootdir=hdfs://hadoop-test:9000/hbase, hbase.cluster.distributed=true
2016-05-21 17:00:31,529 INFO  [main] master.HMaster: Adding backup master ZNode /hbase/backup-masters/master,16000,1463821214940
2016-05-21 17:00:32,159 INFO  [master:16000.activeMasterManager] master.ActiveMasterManager: Deleting ZNode for /hbase/backup-masters/master,16000,1463821214940 from backup master directory
2016-05-21 17:00:32,266 INFO  [master:16000.activeMasterManager] master.ActiveMasterManager: Registered Active Master=master,16000,1463821214940
2016-05-21 17:00:32,636 FATAL [master:16000.activeMasterManager] master.HMaster: Failed to become active master
java.lang.IllegalStateException

    at com.google.common.base.Preconditions.checkState(Preconditions.java:133)
    at org.apache.hadoop.ipc.Client.setCallIdAndRetryCount(Client.java:117)
    at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:99)
    at com.sun.proxy.$Proxy17.setSafeMode(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.apache.hadoop.hbase.fs.HFileSystem$1.invoke(HFileSystem.java:279)
    at com.sun.proxy.$Proxy18.setSafeMode(Unknown Source)
    at org.apache.hadoop.hdfs.DFSClient.setSafeMode(DFSClient.java:2430)
    at org.apache.hadoop.hdfs.DistributedFileSystem.setSafeMode(DistributedFileSystem.java:1036)
    at org.apache.hadoop.hdfs.DistributedFileSystem.setSafeMode(DistributedFileSystem.java:1020)
    at org.apache.hadoop.hbase.util.FSUtils.isInSafeMode(FSUtils.java:524)
    at org.apache.hadoop.hbase.util.FSUtils.waitOnSafeMode(FSUtils.java:970)
    at org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFileSystem.java:417)
    at org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(MasterFileSystem.java:146)
    at org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:126)
    at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:650)
    at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:183)
    at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1652)
    at java.lang.Thread.run(Thread.java:745)
2016-05-21 17:00:32,700 FATAL [master:16000.activeMasterManager] master.HMaster: Unhandled exception. Starting shutdown.
java.lang.IllegalStateException
    at com.google.common.base.Preconditions.checkState(Preconditions.java:133)
    at org.apache.hadoop.ipc.Client.setCallIdAndRetryCount(Client.java:117)
    at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:99)
    at com.sun.proxy.$Proxy17.setSafeMode(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.apache.hadoop.hbase.fs.HFileSystem$1.invoke(HFileSystem.java:279)
    at com.sun.proxy.$Proxy18.setSafeMode(Unknown Source)
    at org.apache.hadoop.hdfs.DFSClient.setSafeMode(DFSClient.java:2430)
    at org.apache.hadoop.hdfs.DistributedFileSystem.setSafeMode(DistributedFileSystem.java:1036)
    at org.apache.hadoop.hdfs.DistributedFileSystem.setSafeMode(DistributedFileSystem.java:1020)
    at org.apache.hadoop.hbase.util.FSUtils.isInSafeMode(FSUtils.java:524)
    at org.apache.hadoop.hbase.util.FSUtils.waitOnSafeMode(FSUtils.java:970)
    at org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFileSystem.java:417)
    at org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(MasterFileSystem.java:146)
    at org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:126)
    at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:650)
    at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:183)
    at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1652)
    at java.lang.Thread.run(Thread.java:745)
2016-05-21 17:00:32,700 INFO  [master:16000.activeMasterManager] regionserver.HRegionServer: STOPPED: Unhandled exception. Starting shutdown.
2016-05-21 17:00:32,658 INFO  [master/master/192.168.1.170:16000] zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0x71e51bae connecting to ZooKeeper ensemble=slave4:2181,slave5:2181,slave6:2181
2016-05-21 17:00:32,701 INFO  [master/master/192.168.1.170:16000] zookeeper.ZooKeeper: Initiating client connection, connectString=slave4:2181,slave5:2181,slave6:2181 sessionTimeout=120000 watcher=hconnection-0x71e51bae0x0, quorum=slave4:2181,slave5:2181,slave6:2181, baseZNode=/hbase
2016-05-21 17:00:32,708 INFO  [master/master/192.168.1.170:16000-SendThread(slave5:2181)] zookeeper.ClientCnxn: Opening socket connection to server slave5/192.168.1.175:2181. Will not attempt to authenticate using SASL (unknown error)
2016-05-21 17:00:32,713 INFO  [master/master/192.168.1.170:16000-SendThread(slave5:2181)] zookeeper.ClientCnxn: Socket connection established to slave5/192.168.1.175:2181, initiating session
2016-05-21 17:00:32,728 INFO  [master/master/192.168.1.170:16000-SendThread(slave5:2181)] zookeeper.ClientCnxn: Session establishment complete on server slave5/192.168.1.175:2181, sessionid = 0x254d2819c440002, negotiated timeout = 40000
2016-05-21 17:00:32,736 INFO  [master/master/192.168.1.170:16000] client.ZooKeeperRegistry: ClusterId read in ZooKeeper is null
2016-05-21 17:00:36,021 INFO  [master/master/192.168.1.170:16000] ipc.RpcServer: Stopping server on 16000
2016-05-21 17:00:36,021 INFO  [RpcServer.listener,port=16000] ipc.RpcServer: RpcServer.listener,port=16000: stopping
2016-05-21 17:00:36,028 INFO  [RpcServer.responder] ipc.RpcServer: RpcServer.responder: stopped
2016-05-21 17:00:36,028 INFO  [RpcServer.responder] ipc.RpcServer: RpcServer.responder: stopping
2016-05-21 17:00:36,038 INFO  [master/master/192.168.1.170:16000] regionserver.HRegionServer: Stopping infoServer
2016-05-21 17:00:36,055 INFO  [master/master/192.168.1.170:16000] mortbay.log: Stopped SelectChannelConnector@0.0.0.0:16010
2016-05-21 17:00:36,061 INFO  [master/master/192.168.1.170:16000] regionserver.HRegionServer: stopping server master,16000,1463821214940
2016-05-21 17:00:36,062 INFO  [master/master/192.168.1.170:16000] client.ConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x254d2819c440002
2016-05-21 17:00:36,080 INFO  [master/master/192.168.1.170:16000-EventThread] zookeeper.ClientCnxn: EventThread shut down
2016-05-21 17:00:36,081 INFO  [master/master/192.168.1.170:16000] zookeeper.ZooKeeper: Session: 0x254d2819c440002 closed
2016-05-21 17:00:36,139 INFO  [master/master/192.168.1.170:16000] regionserver.HRegionServer: stopping server master,16000,1463821214940; all regions closed.
2016-05-21 17:00:36,140 INFO  [master/master/192.168.1.170:16000] hbase.ChoreService: Chore service for: master,16000,1463821214940 had [] on shutdown
2016-05-21 17:00:36,175 INFO  [master/master/192.168.1.170:16000] ipc.RpcServer: Stopping server on 16000
2016-05-21 17:00:36,262 INFO  [master/master/192.168.1.170:16000] zookeeper.RecoverableZooKeeper: Node /hbase/rs/master,16000,1463821214940 already deleted, retry=false
2016-05-21 17:00:36,275 INFO  [main-EventThread] zookeeper.ClientCnxn: EventThread shut down
2016-05-21 17:00:36,276 INFO  [master/master/192.168.1.170:16000] zookeeper.ZooKeeper: Session: 0x154d2819aa50001 closed
2016-05-21 17:00:36,276 INFO  [master/master/192.168.1.170:16000] regionserver.HRegionServer: stopping server master,16000,1463821214940; zookeeper connection closed.
2016-05-21 17:00:36,276 INFO  [master/master/192.168.1.170:16000] regionserver.HRegionServer: master/master/192.168.1.170:16000 exiting



之前jar包也替换过了,可能是什么原因导致hmaster挂掉呢

回复

使用道具 举报

假装淡定 发表于 2016-5-21 17:25:25
假装淡定 发表于 2016-5-21 16:35
之前有用Hadoop下的jar包替换掉hbase里lib文件夹里的jar包:rm -rf hadoop*.jar
        find /usr/loca ...

层主,我把aws-java-sdk-1.7.4.jar 放到了hbase的lib下,启动hbase是hregionserver能起来,但是hmaster起来后很快挂掉了,怎么回事呢


回复

使用道具 举报

假装淡定 发表于 2016-5-21 17:29:55
假装淡定 发表于 2016-5-21 17:25
层主,我把aws-java-sdk-1.7.4.jar 放到了hbase的lib下,启动hbase是hregionserver能起来,但是hmaster起 ...

而且出现了这种情况
root@master:/usr/local/hbase-1.1.4# bin/stop-hbase.sh
stopping hbasecat: /tmp/hbase-root-master.pid: 没有那个文件或目录

开启命令有,关闭命令没有...

回复

使用道具 举报

假装淡定 发表于 2016-5-21 18:52:59
假装淡定 发表于 2016-5-21 16:35
之前有用Hadoop下的jar包替换掉hbase里lib文件夹里的jar包:rm -rf hadoop*.jar
        find /usr/loca ...

我把那个rootdir用集群名称和主机名称试了下都不行 仍然说FATAL [master:16000.activeMasterManager] master.HMaster: Failed to become active master

点评

楼主的master不是active状态吧,先让master变成active状态。  发表于 2016-5-22 10:28
回复

使用道具 举报

einhep 发表于 2016-5-21 19:08:38
假装淡定 发表于 2016-5-21 17:29
而且出现了这种情况
root@master:/usr/local/hbase-1.1.4# bin/stop-hbase.sh
stopping hbasecat: /tmp ...

默认情况下hbase的pid文件保存在/tmp目录下,/tmp目录下的文件很容易丢失,所以造成停止集群的时候出现上述错误。解决方式是在hbase-env.sh中修改pid文件的存放路径,配置项如下所示:

# The directory where pid files are stored. /tmp by default.

export HBASE_PID_DIR=/var/hadoop/pids

回复

使用道具 举报

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

本版积分规则

关闭

推荐上一条 /2 下一条