hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beeshma r <beeshm...@gmail.com>
Subject Re: Hbase Master error
Date Tue, 01 Sep 2015 17:55:18 GMT
Hi Ted

in  http://localhost:60010/master-status

Problem accessing /master-status. Reason:

    Master not ready

Finally this command worked out

bin/hadoop dfsadmin -safemode leave

Now i able to see list tables and data's

may i know why this sudden changes in hbase safemode



On Tue, Sep 1, 2015 at 10:38 AM, Ted Yu <yuzhihong@gmail.com> wrote:

> Dropping dev@
>
> You can check namenode Web UI, namenode log, etc
>
> You can also use command line, e.g.:
>
> hdfs dfs -ls <hbase-root-path>
>
> On Tue, Sep 1, 2015 at 10:34 AM, beeshma r <beeshma48@gmail.com> wrote:
>
> > Hi Ted,
> >
> > in hadoop i couldn't find any issue with logs and i havn't change any
> > change configuration in hadoop set up
> >
> > beeshma@ubuntu:~/hadoop-2.5.1/sbin$ jps
> > 3287 SecondaryNameNode
> > 3599 NodeManager
> > 3478 ResourceManager
> > 3897 Jps
> > 3133 DataNode
> > 3014 NameNode
> >
> >
> > is that any way or command to check hdfs is working fine?
> >
> > On Tue, Sep 1, 2015 at 9:52 AM, Ted Yu <yuzhihong@gmail.com> wrote:
> >
> > > Have you checked hdfs ?
> > >
> > > Master was waiting for namenode to exit safe mode.
> > >
> > >
> > >
> > > > On Sep 1, 2015, at 9:44 AM, beeshma r <beeshma48@gmail.com> wrote:
> > > >
> > > > HI
> > > >
> > > > i have issue with Hbase master
> > > >
> > > > Below is actual error
> > > >
> > > >  hbase(main):001:0> list
> > > > TABLE
> > > >
> > > > SLF4J: Class path contains multiple SLF4J bindings.
> > > > SLF4J: Found binding in
> > > >
> > >
> >
> [jar:file:/home/beeshma/hbase-0.98.6.1-hadoop2/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> > > > SLF4J: Found binding in
> > > >
> > >
> >
> [jar:file:/home/beeshma/hadoop-2.5.1/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> > > > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> > > > explanation.
> > > >
> > > > ERROR: org.apache.hadoop.hbase.ipc.ServerNotRunningYetException:
> Server
> > > is
> > > > not running yet
> > > >    at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:100)
> > > >    at
> > > >
> > >
> >
> org.apache.hadoop.hbase.ipc.FifoRpcScheduler$1.run(FifoRpcScheduler.java:74)
> > > >    at
> > > >
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> > > >    at
> > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> > > >    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> > > >    at
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> > > >    at
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > > >    at java.lang.Thread.run(Thread.java:724)
> > > >
> > > >
> > > >
> > > > But i able to see my Master is running
> > > >
> > > > 2913 NameNode
> > > > 3419 ResourceManager
> > > > 4105 HQuorumPeer
> > > > 3224 SecondaryNameNode
> > > > 3040 DataNode
> > > > 3548 NodeManager
> > > > 4325 HRegionServer
> > > > 4170 HMaster
> > > > 4703 Jps
> > > >
> > > >
> > > > In HMaster log i able to see  below issue
> > > >
> > > >
> > > > 2015-09-01 09:34:46,481 INFO  [master:ubuntu:60000] mortbay.log:
> > > > jetty-6.1.26
> > > > 2015-09-01 09:34:48,293 INFO  [master:ubuntu:60000] mortbay.log:
> > Started
> > > > SelectChannelConnector@0.0.0.0:60010
> > > > 2015-09-01 09:34:48,644 INFO  [master:ubuntu:60000]
> > > > zookeeper.RecoverableZooKeeper: Node /hbase/master already exists and
> > > this
> > > > is not a retry
> > > > 2015-09-01 09:34:48,645 INFO  [master:ubuntu:60000]
> > > > master.ActiveMasterManager: Adding ZNode for
> > > > /hbase/backup-masters/ubuntu.ubuntu-domain,60000,1441125282273 in
> > backup
> > > > master directory
> > > > 2015-09-01 09:34:48,737 INFO  [master:ubuntu:60000]
> > > > master.ActiveMasterManager: Current master has this master's address,
> > > > ubuntu.ubuntu-domain,60000,1441124623841; master was restarted?
> > Deleting
> > > > node.
> > > > 2015-09-01 09:34:48,745 DEBUG [main-EventThread]
> > > > master.ActiveMasterManager: No master available. Notifying waiting
> > > threads
> > > > 2015-09-01 09:34:48,789 INFO  [master:ubuntu:60000]
> > > > master.ActiveMasterManager: Deleting ZNode for
> > > > /hbase/backup-masters/ubuntu.ubuntu-domain,60000,1441125282273 from
> > > backup
> > > > master directory
> > > > 2015-09-01 09:34:48,791 DEBUG [main-EventThread]
> > > > master.ActiveMasterManager: A master is now available
> > > > 2015-09-01 09:34:48,833 INFO  [master:ubuntu:60000]
> > > > master.ActiveMasterManager: Registered Active
> > > > Master=ubuntu.ubuntu-domain,60000,1441125282273
> > > > 2015-09-01 09:34:48,863 INFO  [master:ubuntu:60000]
> > > > Configuration.deprecation: fs.default.name is deprecated. Instead,
> use
> > > > fs.defaultFS
> > > > 2015-09-01 09:34:49,072 INFO  [master:ubuntu:60000] util.FSUtils:
> > Waiting
> > > > for dfs to exit safe mode...
> > > > 2015-09-01 09:34:59,079 INFO  [master:ubuntu:60000] util.FSUtils:
> > Waiting
> > > > for dfs to exit safe mode...
> > > > 2015-09-01 09:35:09,083 INFO  [master:ubuntu:60000] util.FSUtils:
> > Waiting
> > > > for dfs to exit safe mode...
> > > > 2015-09-01 09:35:19,091 INFO  [master:ubuntu:60000] util.FSUtils:
> > Waiting
> > > > for dfs to exit safe mode...
> > > >
> > > >
> > > > Very recently i am getting this error .Please suggest if any changes
> > need
> > >
> >
> >
> >
> > --
> >
>



--

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message