windows 下启动hbase报错 10C

D:\TSBrowserDownloads\db\hbase-2.1.0-bin\hbase-2.1.0\bin>start-hbase.cmd
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.hadoop.conf.Configuration.(Configuration.java:178)
at org.apache.hadoop.hbase.util.HBaseConfTool.main(HBaseConfTool.java:39)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 2 more
ERROR: Could not determine the startup mode.


1个回答

在node1、node2分别执行命令 zkServer.sh start 启动zookeeper,再次在master节点执行hbase shell

https://blog.csdn.net/lieyanhaipo/article/details/77800517

u013523089
神武舞 我是在window下的,没有zk,hadoop
11 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
启动windows报错
开机时启动windows报错rninvaild boot.ini filern我的XP是安装在第二块硬盘的第一个分区上rn请问boot.ini怎么设置?rn请问跟menu.lst有关系吗?rnrn谢谢各位大侠!
hbase安装启动成功,但是执行命令报错
执行任意命令,比如list,都会报如下错误  ERROR [main] client.HConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured
HBase启动
# HBase中组件及启动流程记录   ## 1.服务组件 - Client     -包含访问HBase的接口,并维护cache来加快对HBase的访问,比如region的位置信息     - Master     - 为Region server分配region     - 负责Region server的负载均衡     - 发现失效的Region server并重新分配
start-hbase.sh
[wangshumin@centoshostnameKL1 conf]$ ll总用量 56-rw-rw-r--. 1 wangshumin wangshumin   18 1月  23 13:10 backup-masters-rw-r--r--. 1 wangshumin wangshumin  974 1月  23 13:02 core-site.xml-rw-r--r--. 1 wangsh...
java连hbase报错!!!
[code=java]rn14/06/10 18:04:47 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=192.168.10.22:2281 sessionTimeout=180000 watcher=hconnectionrn14/06/10 18:04:47 INFO zookeeper.RecoverableZooKeeper: The identifier of this process is 3836@ART-5-pisrn14/06/10 18:04:47 INFO zookeeper.ClientCnxn: Opening socket connection to server hz13/192.168.10.22:2281. Will not attempt to authenticate using SASL (unknown error)rn14/06/10 18:04:47 INFO zookeeper.ClientCnxn: Socket connection established to hz13/192.168.10.22:2281, initiating sessionrn14/06/10 18:04:47 INFO zookeeper.ClientCnxn: Session establishment complete on server hz13/192.168.10.22:2281, sessionid = 0x4651510812529d, negotiated timeout = 180000rn14/06/10 18:04:48 INFO client.HConnectionManager$HConnectionImplementation: getMaster attempt 0 of 14 failed; retrying after sleep of 1002rnjava.net.ConnectException: Connection refused: no further informationrn at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)rn at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)rn at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)rn at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:511)rn at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:481)rn at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupConnection(HBaseClient.java:392)rn at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:438)rn at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1141)rn at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:988)rn at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:87)rn at com.sun.proxy.$Proxy5.getProtocolVersion(Unknown Source)rn at org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:141)rn at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:813)rn at org.apache.hadoop.hbase.client.HBaseAdmin.(HBaseAdmin.java:127)rn at cn.hadoop.demo.hbase.test.HbaseTestDemo1.main(HbaseTestDemo1.java:45)rn14/06/10 18:04:49 INFO client.HConnectionManager$HConnectionImplementation: getMaster attempt 1 of 14 failed; retrying after sleep of 1005rnorg.apache.hadoop.hbase.ipc.HBaseClient$FailedServerException: This server is in the failed servers list: hz13/192.168.10.22:60000rn at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:427)rn at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1141)rn at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:988)rn at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:87)rn at com.sun.proxy.$Proxy5.getProtocolVersion(Unknown Source)rn at org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:141)rn at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:813)rn at org.apache.hadoop.hbase.client.HBaseAdmin.(HBaseAdmin.java:127)rn at cn.hadoop.demo.hbase.test.HbaseTestDemo1.main(HbaseTestDemo1.java:45)rn[/code]
HBase大批量写入报错~~
刚刚开始学习用JAVA写HBASE,小批量写入没问题。rn大批量写的时候就报错,HBASE的配置和代码都是以前同事写的,现在两眼一抹黑,不知道怎么弄。rnrn下面是错误日志rnrnjava.util.concurrent.ExecutionException: java.net.SocketTimeoutException: Call to 11.124.1.120:60020 failed on socket timeout exception: java.net.SocketTimeoutException: 60000 millis timeout while waiting for channel to be ready for read. ch : java.nio.channels.SocketChannel[connected local=11.124.1.120:56559 remote=11.124.1.120:60020]rn at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)rn at java.util.concurrent.FutureTask.get(FutureTask.java:83)rn at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.processBatchCallback(HConnectionManager.java:1540)rn at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.processBatch(HConnectionManager.java:1392)rn at org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:918)rn at org.apache.hadoop.hbase.client.HTable.doPut(HTable.java:770)rn at org.apache.hadoop.hbase.client.HTable.put(HTable.java:757)rn at PS2HBASEIMP.ReadWriteHbase.addRecord(ReadWriteHbase.java:92)rn at PS2HBASEIMP.ReadWriteHbase.addPutList(ReadWriteHbase.java:75)rn at PS2HBASEIMP.TestImpHbase.main(TestImpHbase.java:139)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.hadoop.util.RunJar.main(RunJar.java:156)rnCaused by: java.net.SocketTimeoutException: Call to 11.124.1.120:60020 failed on socket timeout exception: java.net.SocketTimeoutException: 60000 millis timeout while waiting for channel to be ready for read. ch : java.nio.channels.SocketChannel[connected local=11.124.1.120:56559 remote=11.124.1.120:60020]rn at org.apache.hadoop.hbase.ipc.HBaseClient.wrapException(HBaseClient.java:1052)rn at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:1025)rn at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:150)rn at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation$3$1.call(HConnectionManager.java:1369)rn at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation$3$1.call(HConnectionManager.java:1367)rn at org.apache.hadoop.hbase.client.ServerCallable.withoutRetries(ServerCallable.java:210)rn at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation$3.call(HConnectionManager.java:1376)rn at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation$3.call(HConnectionManager.java:1364)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)rn at java.util.concurrent.FutureTask.run(FutureTask.java:138)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:662)rn
HBase报错解决方法
报错信息: 2018-06-03 21:35:06,653 ERROR [main] zookeeper.ZooKeeperWatcher: hconnection-0x3078cac0x0, quorum=localhost:2181, baseZNode=/hbase Received unexpected KeeperException, re-throwing exception org...
hive和hbase整合报错
我用的是hive0.12.0 和hbase0.90.6 hadoop1.2.1rn在成功创建表后,运行select * from hbase_table limit 10;的时候报如下错误rn14/05/22 08:36:42 DEBUG parse.SemanticAnalyzer: Created Body Plan for Query Block nullrn14/05/22 08:36:42 DEBUG parse.SemanticAnalyzer: Created Plan for Query Block nullrn14/05/22 08:36:42 DEBUG parse.SemanticAnalyzer: Before logical optimizationrnTS[0]-SEL[1]-LIM[2]-FS[3]rn14/05/22 08:36:42 INFO ppd.OpProcFactory: Processing for FS(3)rn14/05/22 08:36:42 INFO ppd.OpProcFactory: Processing for LIM(2)rn14/05/22 08:36:42 INFO ppd.OpProcFactory: Processing for SEL(1)rn14/05/22 08:36:42 INFO ppd.OpProcFactory: Processing for TS(0)rn14/05/22 08:36:42 DEBUG hive.log: DDL: struct hbase_table_2 i32 key, string valuern14/05/22 08:36:42 INFO ql.Driver: rn[color=#FF0000]Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.hbase.security.User.isHBaseSecurityEnabled(Lorg/apache/hadoop/conf/Configuration;)Zrn at org.apache.hadoop.hive.hbase.HBaseStorageHandler.addHBaseDelegationToken(HBaseStorageHandler.java:373)rn at org.apache.hadoop.hive.hbase.HBaseStorageHandler.configureTableJobProperties(HBaseStorageHandler.java:342)rn at org.apache.hadoop.hive.hbase.HBaseStorageHandler.configureInputJobProperties(HBaseStorageHandler.java:283)rn at org.apache.hadoop.hive.ql.plan.PlanUtils.configureJobPropertiesForStorageHandler(PlanUtils.java:755)rn at org.apache.hadoop.hive.ql.plan.PlanUtils.configureInputJobPropertiesForStorageHandler(PlanUtils.java:725)rn at org.apache.hadoop.hive.ql.optimizer.SimpleFetchOptimizer$FetchData.convertToWork(SimpleFetchOptimizer.java:208)rn at org.apache.hadoop.hive.ql.optimizer.SimpleFetchOptimizer$FetchData.access$000(SimpleFetchOptimizer.java:180)rn at org.apache.hadoop.hive.ql.optimizer.SimpleFetchOptimizer.optimize(SimpleFetchOptimizer.java:103)rn at org.apache.hadoop.hive.ql.optimizer.SimpleFetchOptimizer.transform(SimpleFetchOptimizer.java:74)rn at org.apache.hadoop.hive.ql.optimizer.Optimizer.optimize(Optimizer.java:131)rn at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeInternal(SemanticAnalyzer.java:8392)rn at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:284)rn at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:441)rn at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:342)rn at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:977)rn at org.apache.hadoop.hive.ql.Driver.run(Driver.java:888)rn at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:259)rn at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:216)rn at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:413)rn at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:781)rn at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:675)rn at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:614)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:606)rn at org.apache.hadoop.util.RunJar.main(RunJar.java:160)[/color]rn14/05/22 08:36:42 DEBUG fs.FileSystem: Starting clear of FileSystem cache with 2 elements.rn14/05/22 08:36:42 DEBUG fs.FileSystem: Removing filesystem for file:///rn14/05/22 08:36:42 DEBUG fs.FileSystem: Removing filesystem for file:///
hbase集群报错
2018-12-05 02:02:20,911 ERROR [phoenix-update-statistics-2] stats.StatisticsScanner: Failed to update statistics table! org.apache.hadoop.hbase.DoNotRetryIOException: hconnection-0x6394a5f7 closed ...
HBase常见报错
HBase启动出现问题 org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /hbase/MasterProcWALs/state-00000000000000000011.log could only be replicated to 0 nodes instead of minReplication (=1). T...
hbase报错以及解决方案
HBase启动出现问题 报错一 1.1错误 org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /hbase/MasterProcWALs/state-00000000000000000011.log could only be replicated to 0 nodes instead of minReplicati...
hbase写的报错
caught end of stream exception EndOfStreamException: Unable to read additional data from client sessionid 原因hmaster损坏
Hbase报错问题
由于Hbase经常报错,所以总结一下Hbase报错后的解决办法。(请大家多多指教) 1.首先确保Zookeeper是否启动,然后看是否是安全模式如果是的话 hadoop dfsadmin -safemode leave 。 2.can’t get master address from zookeeper znode = null这个错误的表现是你无法启动hmaster或者你启动hmaster
Hbase伪分布,建表报错
hbase(main):003:0> create 'test', 'cf'rn12/08/18 15:50:02 ERROR zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 3 retriesrn12/08/18 15:50:02 WARN zookeeper.ZKUtil: hconnection-0x139386cb37b0003 Unable to set watcher on znode (/hbase)rnorg.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbasern at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)rn at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)rn at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1021)rn at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:150)rn at org.apache.hadoop.hbase.zookeeper.ZKUtil.checkExists(ZKUtil.java:263)rn at org.apache.hadoop.hbase.zookeeper.ZooKeeperNodeTracker.checkIfBaseNodeAvailable(ZooKeeperNodeTracker.java:214)rn at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.checkIfBaseNodeAvailable(HConnectionManager.java:711)rn at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:634)rn at org.apache.hadoop.hbase.client.HBaseAdmin.getMaster(HBaseAdmin.java:212)rn at org.apache.hadoop.hbase.client.HBaseAdmin.createTableAsync(HBaseAdmin.java:491)rn at org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:395)rn at org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:331)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:525)rn at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:380)rn at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:59)rn at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:167)rn 》》》》》》》省去若干行《《《《《《《《《《《《《《《《《《《《《《《《《《《《《《《《《《《《《《《《《《《《rn at home.sunny.hbase_minus_0_dot_94_dot_1.bin.$_dot_dot_.bin.hirb.block_2$RUBY$start(/home/sunny/hbase-0.94.1/bin/../bin/hirb.rb:183)rn at home$sunny$hbase_minus_0_dot_94_dot_1$bin$$_dot_dot_$bin$hirb$block_2$RUBY$start.call(home$sunny$hbase_minus_0_dot_94_dot_1$bin$$_dot_dot_$bin$hirb$block_2$RUBY$start:65535)rn at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:112)rn at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:95)rn at org.jruby.runtime.Block.yield(Block.java:130)rn at org.jruby.RubyContinuation.enter(RubyContinuation.java:106)rn at org.jruby.RubyKernel.rbCatch(RubyKernel.java:1192)rn at org.jruby.RubyKernel$s$1$0$rbCatch.call(RubyKernel$s$1$0$rbCatch.gen:65535)rn at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:322)rn at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:178)rn at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:187)rn at home.sunny.hbase_minus_0_dot_94_dot_1.bin.$_dot_dot_.bin.hirb.method__5$RUBY$start(/home/sunny/hbase-0.94.1/bin/../bin/hirb.rb:182)rn at home$sunny$hbase_minus_0_dot_94_dot_1$bin$$_dot_dot_$bin$hirb$method__5$RUBY$start.call(home$sunny$hbase_minus_0_dot_94_dot_1$bin$$_dot_dot_$bin$hirb$method__5$RUBY$start:65535)rn at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:203)rn at org.jruby.internal.runtime.methods.CompiledMethod.call(CompiledMethod.java:255)rn at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)rn at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)rn at home.sunny.hbase_minus_0_dot_94_dot_1.bin.$_dot_dot_.bin.hirb.__file__(/home/sunny/hbase-0.94.1/bin/../bin/hirb.rb:188)rn at home.sunny.hbase_minus_0_dot_94_dot_1.bin.$_dot_dot_.bin.hirb.load(/home/sunny/hbase-0.94.1/bin/../bin/hirb.rb)rn at org.jruby.Ruby.runScript(Ruby.java:693)rn at org.jruby.Ruby.runScript(Ruby.java:686)rn at org.jruby.Ruby.runNormally(Ruby.java:593)rn at org.jruby.Ruby.runFromMain(Ruby.java:442)rn at org.jruby.Main.doRunFromMain(Main.java:321)rn at org.jruby.Main.internalRun(Main.java:241)rn at org.jruby.Main.run(Main.java:207)rn at org.jruby.Main.run(Main.java:191)rn at org.jruby.Main.main(Main.java:171)rnrnERROR: org.apache.hadoop.hbase.MasterNotRunningException: nullrn我的hbase配置文件hbase-site.xml如下rnrnrn hbase.rootdirrn hdfs://localhost:9000/user/sunny/hbasern rnrn dfs.replicationrn 1rn rnrn我的hadoop配的是伪分布式,运行正常
hbase shell登陆报错
[root@localhost bin]# ./hbase shell OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropri...
hbase配置报错
13,650 INFO org.mortbay.log: Started SelectChannelConnector@0.0.0.0:60010 2012-06-27 10:58:13,650 DEBUG org.apache.hadoop.hbase.master.HMaster: Started service threads 2012-06-27 10:58:15,151 INFO org.apache.hadoop.hbase.master.ServerManager: Waiting on
HBase启动错误诊断及测试
本次课程让学员全面系统地学习大数据平台运维,开发的操作。课程内容涉及到大数据生态系统的各项工具,内容全面,讲解细致,助您全面掌握大数据平台运维及开发工具的作用
HBase启动运行
本课程为项目实战课,项目各个环节既深入讲解理论知识,又结合项目业务进行实操,从而达到一站式掌握大数据离线项目。
hbase启动HMaster问题
hbase启动不了HMaster问题
HBase 启动异常
本人是HBase新手,还望高手不吝解答,提前谢过rn1,从hbase官网下载的hbase-0.94.19.tarrn2,按照官网的quick start部署,只修改了hbase-env.sh中的JDK版本和hbase-site.xml没做修改rn3,/etc/hosts文件中内容如下:rn[code=text]rn127.0.0.1 localhost.localdomain localhostrn192.168.211.129 fedora1 fedora1rn::1 localhost6.localdomain6 localhost6rn[/code]rn4,启动Hbase,一开四Hmaster进程存在,很快进程消失,报错信息如下:rn[code=text]rn2014-05-29 09:22:07,328 DEBUG org.apache.hadoop.hbase.master.HMaster: Started service threadsrn2014-05-29 09:22:07,328 INFO org.apache.hadoop.hbase.master.ServerManager: Waiting for region servers count to settle; currently checked in 0, slept for 0 ms, expecting minimum of 1, maximum of 2147483647, timeout of 4500 ms, interval of 1500 ms.rn2014-05-29 09:22:08,128 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: fedora1/192.168.211.129:8020. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)rn2014-05-29 09:22:08,845 INFO org.apache.hadoop.hbase.master.ServerManager: Waiting for region servers count to settle; currently checked in 0, slept for 1516 ms, expecting minimum of 1, maximum of 2147483647, timeout of 4500 ms, interval of 1500 ms.rn2014-05-29 09:22:09,130 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: fedora1/192.168.211.129:8020. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)rn2014-05-29 09:22:10,132 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: fedora1/192.168.211.129:8020. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)rn2014-05-29 09:22:10,360 INFO org.apache.hadoop.hbase.master.ServerManager: Waiting for region servers count to settle; currently checked in 0, slept for 3032 ms, expecting minimum of 1, maximum of 2147483647, timeout of 4500 ms, interval of 1500 ms.rn2014-05-29 09:22:11,134 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: fedora1/192.168.211.129:8020. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)rn2014-05-29 09:22:11,877 INFO org.apache.hadoop.hbase.master.ServerManager: Waiting for region servers count to settle; currently checked in 0, slept for 4549 ms, expecting minimum of 1, maximum of 2147483647, timeout of 4500 ms, interval of 1500 ms.rn2014-05-29 09:22:12,136 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: fedora1/192.168.211.129:8020. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)rn2014-05-29 09:22:13,137 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: fedora1/192.168.211.129:8020. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)rn2014-05-29 09:22:13,390 INFO org.apache.hadoop.hbase.master.ServerManager: Waiting for region servers count to settle; currently checked in 0, slept for 6062 ms, expecting minimum of 1, maximum of 2147483647, timeout of 4500 ms, interval of 1500 ms.rn2014-05-29 09:22:14,139 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: fedora1/192.168.211.129:8020. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)rn2014-05-29 09:22:14,908 INFO org.apache.hadoop.hbase.master.ServerManager: Waiting for region servers count to settle; currently checked in 0, slept for 7580 ms, expecting minimum of 1, maximum of 2147483647, timeout of 4500 ms, interval of 1500 ms.rn2014-05-29 09:22:15,142 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: fedora1/192.168.211.129:8020. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)rn2014-05-29 09:22:16,145 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: fedora1/192.168.211.129:8020. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)rn2014-05-29 09:22:16,452 INFO org.apache.hadoop.hbase.master.ServerManager: Waiting for region servers count to settle; currently checked in 0, slept for 9124 ms, expecting minimum of 1, maximum of 2147483647, timeout of 4500 ms, interval of 1500 ms.rn2014-05-29 09:22:17,147 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: fedora1/192.168.211.129:8020. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)rn2014-05-29 09:22:17,152 ERROR org.apache.hadoop.hbase.master.HMasterCommandLine: Failed to start masterrnjava.net.ConnectException: Call to fedora1/192.168.211.129:8020 failed on connection exception: java.net.ConnectException: Connection refusedrn at org.apache.hadoop.ipc.Client.wrapException(Client.java:1142)rn at org.apache.hadoop.ipc.Client.call(Client.java:1118)rn at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:229)rn at com.sun.proxy.$Proxy11.getProtocolVersion(Unknown Source)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:85)rn at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:62)rn at com.sun.proxy.$Proxy11.getProtocolVersion(Unknown Source)rn at org.apache.hadoop.ipc.RPC.checkVersion(RPC.java:422)rn at org.apache.hadoop.hdfs.DFSClient.createNamenode(DFSClient.java:183)rn at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:281)rn at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:245)rn at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:100)rn at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1446)rn at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:67)rn at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1464)rn at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:263)rn at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:124)rn at org.apache.hadoop.hbase.util.JVMClusterUtil.startup(JVMClusterUtil.java:191)rn at org.apache.hadoop.hbase.LocalHBaseCluster.startup(LocalHBaseCluster.java:422)rn at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:149)rn at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:104)rn at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)rn at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76)rn at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2129)rnCaused by: java.net.ConnectException: Connection refusedrn at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)rn at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:599)rn at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)rn at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:511)rn at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:481)rn at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:457)rn at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:583)rn at org.apache.hadoop.ipc.Client$Connection.access$2200(Client.java:205)rn at org.apache.hadoop.ipc.Client.getConnection(Client.java:1249)rn at org.apache.hadoop.ipc.Client.call(Client.java:1093)rn ... 26 morern[/code]rnrn问题如下:rn为什么Hbase总要去连接HDFS的默认端口8020,如果我启动Hadoop(HDFS使用默认8020端口),HBase运行正常,如果不起,Hbase就会报这个错误,官网的quick start没有说需要启动HDFS啊,难道是我哪里配错了么rn
hbase 启动解决
作者:云中哈哈 时间: 2011.7.5 ericlzyu#gmail.com 今天搞了一天。经常出现Server is not running yet 的错误。找了几个小时。终于发现是 hadoop 启动的问题。 -------- NameNode在启动的时候首先进入安全模式,如果datanode丢失的block达到一定的比例(1-dfs.safemode.threshold.pct)...
启动和配置HBase
配置Hbase前必须保证  1.JDK    2.  Hadoop   3. SSH  都已经完成单机模式不需要Hadoop一 .单机模式1.     gedit /usr/local/hbase/conf/hbase-env.sh    配置文件export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64export HBASE_MANAGES_ZK=tr...
HBase HMaster启动和停止
HMaster(0.90.3) Startup: main方法:  new HMasterCommandLine(HMaster.class).doMain(args); //args为start HMasterCommandLine: 用于启动/停止HMaster. doMain: 运行Tool类的run方法. 继承关系:HMasterCommandLine-->Ser...
hbase 单机启动问题
单机hbase配置,出现以下问题,提示说明无法分配请求的地址,百度该问题,解法各种各样,不如自己认真研究错误日志信息,后来发现是系统的ip映射配置出现了失误,将主机的ip写错了!警戒自己,一定要认真!容不得慢点马虎! 主机ip映射配置文件路径   /etc/hosts java.lang.RuntimeException: Failed construction of RegionS
单机模式启动Hbase失败
在本地搭建一套Hbase环境,在执行start-hbase.sh后,观察log一直会报这样的错误之后HMaster,HRegionServer,HQuorumPeer会自动挂掉根据log推断应该是zookeepr出现了问题解决办法是:1. 打开hbase-env.sh文件cd /app/hbase-0.96.2/confsudo vi hbase-env.shexport HBASE_CLASSP...
hbase单节点的安装与启动
Apache HBase简介:Apache HBase™是Hadoop数据库,这是一个分布式,可扩展的大数据存储。当您需要随机,实时读取/写入您的大数据时使用Apache HBase™。该项目的目标是托管非常大的表 - 数十亿行X百万列 - 在商品硬件集群上。Apache HBase是一个开源的,分布式的,版本化的非关系数据库,其模型是在Chang等人的Google的BigTable: 结构化数据...
启动hbase shell的命令
启动hbase shell的命令
Hbase启动遇到的坑
1.hbase_env.sh文件中的JAVA_HOME要配置成jdk绝对路径 2.如果出现: ERROR [main] regionserver.HRegionServerCommandLine: Region server exiting java.lang.RuntimeException: Failed construction of Regionserver: class org.a...
HBase安装配置&启动
<p>rn <br />rn</p>rn<p>rn <p>rn 20周年限定一卡通!<span style="color:#337FE5;">可学Java全部课程</span>,仅售799元(原价7016元),<span style="color:#E53333;">还送漫威正版授权机械键盘+CSDN 20周年限量版T恤+智能编程助手!</span>rn </p>rn <p>rn 点此链接购买:rn </p>rn <table>rn <tbody>rn <tr>rn <td>rn <span style="color:#337FE5;"><a href="https://edu.csdn.net/topic/teachercard?utm_source=jsk20xqy" target="_blank">https://edu.csdn.net/topic/teachercard?utm_source=jsk20xqy</a><br />rn</span>rn </td>rn </tr>rn </tbody>rn </table>rn</p>rn<span>&nbsp;</span> rn<p>rn <br />rn</p>rn<p>rn 本阶段详细介绍了大数据所涉及到的Linux、shell、Hadoop、zookeeper、HadoopHA、Hive、Flume、Kafka、Hbase、Sqoop、Oozie等技术的概念、安装配置、架构原理、数据类型定义、数据操作、存储集群等重点知识点。rn</p>
HBase服务启动测试
<p>rn <span style="color:#424242;">本课程为大数据金融信贷项目实战课,着重讲解企业中常用的大数据技术理论与实战,如Hadoop、Hive、HBase、Sqoop、Flume、Kafka、Spark Streaming、Spark SQL、Spark Structured Streaming等。课程包含离线项目和实时项目,从项目业务需求、技术选型、架构设计、集群安装部署、集成开发以及项目可视化进行全方位实战讲解。</span> rn</p>rn<p>rn <span style="color:#424242;"><br />rn</span> rn</p>
HBase报错整理
停止HBase时报错stop-hbase.sh stopping hbasecat: /tmp/hbase-root-master.pid: No such file or directory 原因是,默认情况下pid文件保存在/tmp目录下,/tmp目录下的文件很容易丢失,解决办法:在hbase-env.sh中修改pid文件的存放路径: export HBASE_PID_DIR=/data
更改Hbase的rootdir报错
背景新加了一个硬盘用作hbase的数据存储硬盘Start添加硬盘后,挂载在/hbase目录下(此过程可参考作者其他博客),改了下面的配置的rootdir:<configuration> <property> <name>hbase.rootdir</name> <value>file:///hbase/data<
Hbase启动源码
Hbase 1.2 HMaster的启动采用了ToolRunner: 将conf和args封装成GenericOptionsParser对象parser, 根据parser获取toolArgs 返回tool.run(toolArgs); 返回tool.run(toolArgs); @see HMasterCommandLine#run 各种参数检查 if (&quot;start&quot;.equals(co...
正常启动HBase顺序
先启动hadoop集群start-all.sh 在master节点会启动SecondaryNameNode,NameNode,ResourceManager 在slave节点会启动NodeManager,DataNode 再启动zookeeper集群:分别登录master和slave,执行:zkServer.sh start 两个节点都有QuorumPeerMain进程
hbase集群不能启动
hbase集群不能启动,要么只起来某几台,要么是HMaster起来了,RegionServer没起来。 原因:时间不同步。 进行时间同步。 如果能联网,就用 ntpdate -u cn.pool.ntp.org 不能联网,就手动指定date 010319492019.30(月日时分年.秒) ...
hbase环境变量配置及启动
之前配置环境变量一直出问题是因为, 我总把$HBASE_HOME/bin写在其他$HIVE_HOME/bin的后面, 原来它是单独写一行才会生效。    设置环境变量 1. 使用sudo vi /etc/profile命令修改系统环境变量 export HBASE_HOME=/app/hbase-0.96.2 export PATH=$PATH:$HBASE_HOME/bin   ...
hbase master 启动不了
配置单机模式下的 HBase 出现错误 ERROR master.hmastercommandline: failed to start masterrnhbase 日志如下:rn[img=https://img-bbs.csdn.net/upload/201308/28/1377676698_471155.jpg][/img]rnrn我的hbase的 hbase-site.xml 配置如下:rn[img=https://img-bbs.csdn.net/upload/201308/28/1377676740_497536.jpg][/img]rnrn多谢各位指点!
hbase 启动异常
hmaster 启动异常 解决方法1.hmaster 启动异常在启动 hbase 时 hmaster 总是在启动后几秒钟便挂掉,查看了一下日志发现: (/usr/local/cluster/hbase/logs/hadoop-hbase-out.log 文件) 等错误!2.解决方法第一种:(已验证可行) 1.在slave上.执行$sh zkCli.sh 2.输入‘ls /’ 3.
hbase 启动报错解决
转载自:http://hi.baidu.com/coconutnut/item/97ba15ca5da3820fac092f6c hbase 启动解决 今天搞了一天。经常出现Server is not running yet 的错误。找了几个小时。终于发现是 hadoop 启动的问题。 -------- NameNode在启动的时候首先进入安全模式,如果datanode丢失的block...
急,hbase启动配置问题
最近学习Hbase,照着这个帮助文档http://hbase.apache.org/book/quickstart.html#d730e95做到,系统是Ubuntu11.04,启动hbase时,log中有Unable to find a viable location to assign region -ROOT-,在hbase shell中创建表时会报error:org.apache.hadoop.hbase.NotAllMetaRegionsOnlineException: Timed out (10000ms),不知道是什么原因,找了好久也没找到解决办法,不知道有没有人也遇到这问题,还请大家帮忙看看怎么解决
相关热词 c# stream 复制 android c# c#监测窗口句柄 c# md5 引用 c# 判断tabtip 自己写个浏览器程序c# c# 字符串变成整数数组 c#语言编程写出一个方法 c# 转盘抽奖 c#选中treeview