You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hari Sekhon (JIRA)" <ji...@apache.org> on 2015/09/22 17:11:05 UTC

[jira] [Updated] (AMBARI-13189) Ranger Config Revert incomplete - breaks Hive service restart on HCat client with error "resource_management.core.exceptions.Fail: Configuration parameter 'REPOSITORY_CONFIG_PASSWORD' was not found in configurations dictionary!"

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

Hari Sekhon updated AMBARI-13189:
---------------------------------
    Description: 
Due to the Ambari restart bug upon Ranger integration (AMBARI-13168), reverting the Ranger configuration change in Hive using the in-built Ambari revision control fails to undo all the Ranger related changes and the service instead fails to restart on the very first HCat client with the following error instead:
{code}Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_client.py", line 56, in <module>
    HCatClient().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 218, in execute
    method(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 444, in restart
    self.install(env)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_client.py", line 31, in install
    import params
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/params.py", line 26, in <module>
    from params_linux import *
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py", line 483, in <module>
    repo_config_password = unicode(config['configurations']['ranger-hive-plugin-properties']['REPOSITORY_CONFIG_PASSWORD'])
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py", line 81, in __getattr__
    raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!")
resource_management.core.exceptions.Fail: Configuration parameter 'REPOSITORY_CONFIG_PASSWORD' was not found in configurations dictionary!{code}
This appears to be different to AMBARI-13000 as the hive.security.authorization.manager was reverted to org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdConfOnlyAuthorizerFactory

  was:
Due to the Ambari restart bug upon Ranger integration (AMBARI-13168), reverting the Ranger configuration change in Hive using the in-built Ambari revision control fails to undo all the Ranger related changes and the service instead fails to restart on the very first HCat client with the following error instead:
{code}Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_client.py", line 56, in <module>
    HCatClient().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 218, in execute
    method(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 444, in restart
    self.install(env)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_client.py", line 31, in install
    import params
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/params.py", line 26, in <module>
    from params_linux import *
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py", line 483, in <module>
    repo_config_password = unicode(config['configurations']['ranger-hive-plugin-properties']['REPOSITORY_CONFIG_PASSWORD'])
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py", line 81, in __getattr__
    raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!")
resource_management.core.exceptions.Fail: Configuration parameter 'REPOSITORY_CONFIG_PASSWORD' was not found in configurations dictionary!{code} 


> Ranger Config Revert incomplete - breaks Hive service restart on HCat client with error "resource_management.core.exceptions.Fail: Configuration parameter 'REPOSITORY_CONFIG_PASSWORD' was not found in configurations dictionary!"
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-13189
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13189
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>         Environment: HDP 2.3 + Kerberos + Ranger
>            Reporter: Hari Sekhon
>            Priority: Blocker
>
> Due to the Ambari restart bug upon Ranger integration (AMBARI-13168), reverting the Ranger configuration change in Hive using the in-built Ambari revision control fails to undo all the Ranger related changes and the service instead fails to restart on the very first HCat client with the following error instead:
> {code}Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_client.py", line 56, in <module>
>     HCatClient().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 218, in execute
>     method(env)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 444, in restart
>     self.install(env)
>   File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_client.py", line 31, in install
>     import params
>   File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/params.py", line 26, in <module>
>     from params_linux import *
>   File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py", line 483, in <module>
>     repo_config_password = unicode(config['configurations']['ranger-hive-plugin-properties']['REPOSITORY_CONFIG_PASSWORD'])
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py", line 81, in __getattr__
>     raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!")
> resource_management.core.exceptions.Fail: Configuration parameter 'REPOSITORY_CONFIG_PASSWORD' was not found in configurations dictionary!{code}
> This appears to be different to AMBARI-13000 as the hive.security.authorization.manager was reverted to org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdConfOnlyAuthorizerFactory



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)