Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Ambari console showing wrong regionserver status.

avatar
Explorer

Ambari is showing hbase regionservers in a 'Decommissioning' status. When the regionservers are started it goes to the green checkmark (Installed status), then a few seconds later it goes to decommissioning status. The regionservers are up and appear to be running ok.

./hbase zkcli, ls /hbase-unsecure/draining and nothing is showing

./hbase-unsecure/rs and the regionservers are showing

The ambari database hostcomponentstate table shows regionservers 'STARTED'

I don't see anything in the ambari-agent log yet.

The ambari rest api shows desireds_state : STARTED for regionservers

How is the component status being set in the ambari console and how do I resolve this?

1 ACCEPTED SOLUTION

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
11 REPLIES 11

avatar
Explorer

Thanks for digging into this and giving temporary workaround. I changed app.js and the regionserver shows started (green checkmark). The actions available list on the regionserver now are stop, turn on maintenance mode, and delete is disabled.

} else if (isInServiceDesired) {
//this.setStatusAs('RS_DECOMMISSIONED');

this.setSatusAs('INSERVICE'); sets the regionserver to the correct status and correct actions list.

} else if (isInServiceDesired) {
//this.setStatusAs('RS_DECOMMISSIONED');
this.setStatusAs('INSERVICE');
}

Thanks again for looking at this. How would I track the apache bug submission.

avatar

Hey Jack,

Very much glad that it worked.

I have created an apache jira on this regard : https://issues.apache.org/jira/browse/AMBARI-25075

you can be yourself a jira watcher to this JIRA.