hbase启动的时候报:cat: /home/hadoop/hbase-0.94.6-cdh4.5.0/target/cached_classpath.txt: 没有那个文件或目录
启动hbase的时候:
-cdh4.5.0/bin$ hbase shell cat: /home/hadoop/hbase-0.94.6-cdh4.5.0/target/cached_classpath.txt: 没有那个文件或目录 14/06/25 12:39:15 WARN conf.Configuration: hadoop.native.lib is deprecated. Instead, use io.native.lib.available HBase Shell; enter 'help<RETURN>' for list of supported commands. Type "exit<RETURN>" to leave the HBase Shell Version 0.94.6-cdh4.5.0, r, Wed Nov 20 15:38:35 PST 2013
scan 表的时候出现:
hbase(main):002:0> scan 'qq' 14/06/25 12:39:27 INFO ipc.HBaseRPC: Server at localhost/127.0.0.1:60020 could not be reached after 1 tries, giving up. 14/06/25 12:39:29 INFO ipc.HBaseRPC: Server at localhost/127.0.0.1:60020 could not be reached after 1 tries, giving up. 14/06/25 12:39:31 INFO ipc.HBaseRPC: Server at localhost/127.0.0.1:60020 could not be reached after 1 tries, giving up. 14/06/25 12:39:33 INFO ipc.HBaseRPC: Server at localhost/127.0.0.1:60020 could not be reached after 1 tries, giving up. 14/06/25 12:39:36 INFO ipc.HBaseRPC: Server at localhost/127.0.0.1:60020 could not be reached after 1 tries, giving up.
查看了下日志
t,60000,1403671140700, corePoolSize=1, maxPoolSize=1 2014-06-25 12:39:03,077 DEBUG org.apache.hadoop.hbase.master.cleaner.CleanerChore: initialize cleaner=org.apache.hadoop.hbase.master.cleaner.TimeToLiveLogCleaner 2014-06-25 12:39:03,081 DEBUG org.apache.hadoop.hbase.master.cleaner.CleanerChore: initialize cleaner=org.apache.hadoop.hbase.master.cleaner.TimeToLiveHFileCleaner 2014-06-25 12:39:03,123 INFO org.apache.hadoop.http.HttpServer: SSL is enabled on HttpServer at http://0.0.0.0:-1/ - not live 2014-06-25 12:39:03,132 INFO org.mortbay.log: Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog 2014-06-25 12:39:03,207 INFO org.apache.hadoop.http.HttpServer: Added global filter 'safety' (class=org.apache.hadoop.http.HttpServer$QuotingInputFilter) 2014-06-25 12:39:03,211 INFO org.apache.hadoop.http.HttpServer: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context master 2014-06-25 12:39:03,211 INFO org.apache.hadoop.http.HttpServer: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context static 2014-06-25 12:39:03,223 INFO org.apache.hadoop.http.HttpServer: Jetty bound to port 60010 2014-06-25 12:39:03,224 INFO org.mortbay.log: jetty-6.1.26.cloudera.2 2014-06-25 12:39:03,935 INFO org.mortbay.log: Started SelectChannelConnector@0.0.0.0:60010 2014-06-25 12:39:03,938 DEBUG org.apache.hadoop.hbase.master.HMaster: Started service threads
不知到有没有人遇到这样的情况