[ 
https://issues.apache.org/jira/browse/AMBARI-23562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sandor Molnar updated AMBARI-23562:
-----------------------------------
    Status: Patch Available  (was: In Progress)

> Regenerate Keytabs After Ambari Upgrade leads to AMS start failure due to 
> change in one core-site.xml config.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-23562
>                 URL: https://issues.apache.org/jira/browse/AMBARI-23562
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>            Reporter: Jasmeen Kaur
>            Assignee: Sandor Molnar
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 1) Upgrade Ambari from 2.6.0.0-267 to 2.7.0.0-292
> 2) Upgrade Non Stack Services ( Smartsense , Ambari Infra , Logsearch)
> 3) Regenerate Keytabs 
> At this step , hadoop.proxyuser.HTTP.hosts property in HDFS core-site 
> undergoes a change. Due to this , AMS start fails with below error.
> {code:java}
> 2018-04-10 19:34:41,668 ERROR [main] regionserver.HRegionServerCommandLine: 
> Region server exiting
> java.lang.RuntimeException: Failed construction of Regionserver: class 
> org.apache.hadoop.hbase.regionserver.HRegionServer
>       at 
> org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:2801)
>       at 
> org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:64)
>       at 
> org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:87)
>       at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
>       at 
> org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
>       at 
> org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:2816)
> Caused by: java.lang.reflect.InvocationTargetException
>       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>       at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>       at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>       at 
> org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:2799)
>       ... 5 more
> Caused by: java.lang.IllegalArgumentException: Could not parse 
> [${clusterHostInfo/webhcat_server_host|append(core-site/hadoop.proxyuser.HTTP.hosts]
>       at 
> org.apache.commons.net.util.SubnetUtils.calculate(SubnetUtils.java:220)
>       at org.apache.commons.net.util.SubnetUtils.<init>(SubnetUtils.java:52)
>       at org.apache.hadoop.util.MachineList.<init>(MachineList.java:109)
>       at org.apache.hadoop.util.MachineList.<init>(MachineList.java:83)
>       at org.apache.hadoop.util.MachineList.<init>(MachineList.java:75)
>       at 
> org.apache.hadoop.security.authorize.DefaultImpersonationProvider.init(DefaultImpersonationProvider.java:97)
>       at 
> org.apache.hadoop.security.authorize.ProxyUsers.refreshSuperUserGroupsConfiguration(ProxyUsers.java:75)
>       at 
> org.apache.hadoop.security.authorize.ProxyUsers.refreshSuperUserGroupsConfiguration(ProxyUsers.java:85)
>       at 
> org.apache.hadoop.hbase.security.HBasePolicyProvider.init(HBasePolicyProvider.java:54)
>       at org.apache.hadoop.hbase.ipc.RpcServer.start(RpcServer.java:2090)
>       at 
> org.apache.hadoop.hbase.regionserver.RSRpcServices.start(RSRpcServices.java:1042)
>       at 
> org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:628)
>       ... 10 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to