Reply
New Contributor
Posts: 3
Registered: ‎04-07-2017

Re: HBase Master: Failed to become active master

I have same doubt what happens when i delete "hdfs dfs  -rm -r /hbase/*" will lost data/namespaces in HBASE or HDFS?

Cloudera Employee
Posts: 33
Registered: ‎07-08-2013

Re: HBase Master: Failed to become active master

Hi Sandeep,

 

This command will remove ALL HBase data... Snapshots, tables, WALs, etc. So be very careful with it.

 

JMS

New Contributor
Posts: 3
Registered: ‎04-07-2017

Re: HBase Master: Failed to become active master

so when the above command delete everything i will lost all HBASE tables/WAL's. Is the above steps recommened in Production environment?

Cloudera Employee
Posts: 33
Registered: ‎07-08-2013

Re: HBase Master: Failed to become active master

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?

Highlighted
New Contributor
Posts: 3
Registered: ‎04-07-2017

Re: HBase Master: Failed to become active master

No...we don't have any issues so far with HBASE. I am just trying to understand the concept of it.

 

Thanks for your assistance :)

Announcements