Member since
10-04-2018
23
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
11041 | 01-14-2019 04:01 PM |
12-28-2018
10:26 PM
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.
... View more
12-27-2018
09:00 PM
id | component_name | desired_state | host_id | service_name | admin_state
-----+----------------------+---------------+---------+--------------+-------------
154 | PHOENIX_QUERY_SERVER | STARTED | 1 | HBASE | INSERVICE
155 | PHOENIX_QUERY_SERVER | STARTED | 2 | HBASE | INSERVICE
159 | HBASE_CLIENT | INSTALLED | 2 | HBASE |
157 | HBASE_CLIENT | INSTALLED | 1 | HBASE |
158 | HBASE_CLIENT | INSTALLED | 3 | HBASE |
156 | PHOENIX_QUERY_SERVER | STARTED | 3 | HBASE | INSERVICE
152 | HBASE_REGIONSERVER | STARTED | 3 | HBASE |
153 | HBASE_REGIONSERVER | STARTED | 1 | HBASE |
151 | HBASE_MASTER | STARTED | 2 | HBASE |
"href" : "https://hadoop-1.nit.disa.mil:8443/api/v1/clusters/PIEE/hosts/hadoop-2.nit.disa.mil/host_components/HBASE_REGIONSERVER/?fields=*",
"HostRoles" : {
"cluster_name" : "PIEE",
"component_name" : "HBASE_REGIONSERVER",
"desired_admin_state" : "INSERVICE",
"desired_repository_version" : "3.0.1.0-187",
"desired_stack_id" : "HDP-3.0",
"desired_state" : "STARTED",
"display_name" : "RegionServer",
"host_name" : "hadoop-2.nit.disa.mil",
"maintenance_state" : "OFF",
"public_host_name" : "hadoop-2.nit.disa.mil",
"reload_configs" : false,
"service_name" : "HBASE",
"stale_configs" : false,
"state" : "STARTED",
"upgrade_state" : "NONE",
"version" : "3.0.1.0-187",
"actual_configs" : { }
}
... View more
12-27-2018
09:00 PM
Hi, I updated the hostcomponentdesiredstate table but the regionserver component is still showing 'Decommissioning'. ambari=> select id,component_name,desired_State,host_id,service_name,admin_state from hostcomponentdesiredstate where service_name='HBASE';
id | component_name | desired_state | host_id | service_name | admin_state
-----+----------------------+---------------+---------+--------------+-------------
154 | PHOENIX_QUERY_SERVER | STARTED | 1 | HBASE | INSERVICE
155 | PHOENIX_QUERY_SERVER | STARTED | 2 | HBASE | INSERVICE
159 | HBASE_CLIENT | INSTALLED | 2 | HBASE |
157 | HBASE_CLIENT | INSTALLED | 1 | HBASE |
158 | HBASE_CLIENT | INSTALLED | 3 | HBASE |
156 | PHOENIX_QUERY_SERVER | STARTED | 3 | HBASE | INSERVICE
152 | HBASE_REGIONSERVER | STARTED | 3 | HBASE |
153 | HBASE_REGIONSERVER | STARTED | 1 | HBASE |
151 | HBASE_MASTER | STARTED | 2 | HBASE |
(9 rows)
The desired_admin_state still says 'inservice' in the rest api. "HostRoles" : {
"cluster_name" : "PIEE",
"component_name" : "HBASE_REGIONSERVER",
"desired_admin_state" : "INSERVICE",
"desired_repository_version" : "3.0.1.0-187",
"desired_stack_id" : "HDP-3.0",
"desired_state" : "STARTED",
"display_name" : "RegionServer",
"host_name" : "hadoop-2.nit.disa.mil",
"maintenance_state" : "OFF",
"public_host_name" : "hadoop-2.nit.disa.mil",
"reload_configs" : false,
"service_name" : "HBASE",
"stale_configs" : false,
"state" : "STARTED",
"upgrade_state" : "NONE",
"version" : "3.0.1.0-187",
"actual_configs" : { }
},
... View more
12-27-2018
06:28 PM
I changed the admin_state to NULL and restarted ambari. The regionserver status still shows 'Decommissioning'. The rest api still shows desired_admin_state" : "INSERVICE.
... View more
12-27-2018
04:53 PM
It displays started and a green check mark for a few seconds then eventually goes to a decommissioning status. It's as if there's a process that's checking something and changing the status
... View more
12-26-2018
06:21 PM
Here is the output from ambari-agent log debug level: DEBUG 2018-12-26 11:21:32,977 HeartbeatThread.py:99 - Heartbeat response is {u'status': u'OK', u'id': 8}
... View more
12-26-2018
06:12 PM
Partial outptut: {
"href" : "https://hadoop-1.nit.disa.mil:8443/api/v1/clusters/PIEE/hosts/hadoop-2.nit.disa.mil/host_components/HBASE_REGIONSERVER/?fields=*",
"HostRoles" : {
"cluster_name" : "PIEE",
"component_name" : "HBASE_REGIONSERVER",
"desired_admin_state" : "INSERVICE",
"desired_repository_version" : "3.0.1.0-187",
"desired_stack_id" : "HDP-3.0",
"desired_state" : "STARTED",
"display_name" : "RegionServer",
"host_name" : "hadoop-2.nit.disa.mil",
"maintenance_state" : "OFF",
"public_host_name" : "hadoop-2.nit.disa.mil",
"reload_configs" : false,
"service_name" : "HBASE",
"stale_configs" : false,
"state" : "STARTED",
"upgrade_state" : "NONE",
"version" : "3.0.1.0-187",
"actual_configs" : { }
},
... View more
12-26-2018
04:57 PM
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?
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache HBase
10-10-2018
01:33 PM
That worked. Thank you very much. I'm going to look for documentation listing all the available properties.
... View more
10-10-2018
01:32 PM
That worked. Thank you very much. I'm going to look for the documentation listing all the available properties.
... View more
- « Previous
-
- 1
- 2
- Next »