Member since
07-08-2013
35
Posts
11
Kudos Received
5
Solutions
04-02-2019
07:48 AM
Hi Vinod, Can you please start a different thread and share your Master logs with us? JMS
... View more
09-26-2018
06:11 AM
1 Kudo
Hi Ayush, Have you tied to run hdfs fsdk / ? JM
... View more
04-07-2017
04:48 AM
It depends what you want to achieve, right? If you goal is to repair your production cluster, then it might be relevant. If you goal is just to test and see what it does, then what ever command it is, it should not be tested in production? Basically, the command just does what I described. It deletes everything. It's you to decide if it's relevent for your production environment or not. If you goal is just to drop a table, or all tables, then the shell is better. Are you facing any issue with your production environment?
... View more
04-07-2017
04:23 AM
Hi Sandeep, This command will remove ALL HBase data... Snapshots, tables, WALs, etc. So be very careful with it. JMS
... View more
05-10-2015
08:05 PM
You're very welcome! Glad it now works for you. Enjoy your cluster! Best, JMS
... View more
05-10-2015
07:34 PM
6 Kudos
So ZK is working fine. Perfect. Make sure HBase is down and clear everything: hadoop fs -rm -r /hbase/* echo "rmr /hbase" | zookeeper-client Then try to start HBase. JMS
... View more
05-10-2015
02:10 PM
When you type "zookeeper-client" what's the output? Does it ends with something like: 2015-05-10 17:08:53,831 [myid:] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@975] - Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error) 2015-05-10 17:08:53,832 [myid:] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@852] - Socket connection established to localhost/127.0.0.1:2181, initiating session 2015-05-10 17:08:53,842 [myid:] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1235] - Session establishment complete on server localhost/127.0.0.1:2181, sessionid = 0x14d3c2b942f0793, negotiated timeout = 30000 WATCHER:: WatchedEvent state:SyncConnected type:None path:null Can you try to type "help"? And "ls /" And "ls /hbase" ? I don't see any error in your logs. Only INFO. Thanks.
... View more
05-10-2015
07:13 AM
Hi, I think there is no need to restart everything for now. We need to focus on your ZK issue. You can stop HBase until it's fixed. Can you share the ZK logs (/var/log/zookeeper/)? How is ZK looking in CM? All green? How many ZK servers? JMS
... View more
05-09-2015
10:55 AM
Hi TS, sorry, had to transit to was not able to reply yesterday. So there is 2 issues here. 1) You can not access ZK 2) HBase can not create the namespace table. They might be related. If we can not access ZK, maybe HBase can't too. So let's focus on the ZK issue first. Please stop all HBase services and make sure ZK is running. When you try to run the zkClient command, what do you get? What do you have on the ZK logs? Have you tried to restart the ZK service? JM
... View more
05-08-2015
11:27 AM
OK. The namespace table is not there. So your HBase is empty, right? Can you provide hadoop fs -ls -R /hbase/data/ then? Have you also cleared the ZK nodes? If you want to clear HBase correctly you need to: 1) Clear /hbase/* and make sure /hbase belongs to the HBase user 2) Clear all HBase zk nodes. Thanks, JM
... View more