Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Configuration parameter 'REPOSITORY_CONFIG_USERNAME' was not found in configurations dictionary!

Highlighted

Configuration parameter 'REPOSITORY_CONFIG_USERNAME' was not found in configurations dictionary!

New Contributor

Hi,

I recently installed apace Ranger and Enabled the hive plugins.when try to restart the Effected components at hive got the following error

Configuration parameter 'REPOSITORY_CONFIG_USERNAME' was not found in configurations dictionary!

stderr:   /var/lib/ambari-agent/data/errors-2693.txt
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 85, in <module>
    HCatClient().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 314, in execute
    method(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 722, 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 34, in install
    import params
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/params.py", line 27, 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 781, in <module>
    'config': json.dumps(hive_ranger_plugin_config),
  File "/usr/lib/python2.6/site-packages/ambari_simplejson/__init__.py", line 230, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib/python2.6/site-packages/ambari_simplejson/encoder.py", line 202, in encode
    chunks = list(chunks)
  File "/usr/lib/python2.6/site-packages/ambari_simplejson/encoder.py", line 426, in _iterencode
    for chunk in _iterencode_dict(o, _current_indent_level):
  File "/usr/lib/python2.6/site-packages/ambari_simplejson/encoder.py", line 400, in _iterencode_dict
    for chunk in chunks:
  File "/usr/lib/python2.6/site-packages/ambari_simplejson/encoder.py", line 434, in _iterencode
    o = _default(o)
  File "/usr/lib/python2.6/site-packages/ambari_simplejson/encoder.py", line 177, in default
    raise TypeError(repr(o) + " is not JSON serializable")
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py", line 73, in __getattr__
    raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!")
resource_management.core.exceptions.Fail: Configuration parameter 'REPOSITORY_CONFIG_USERNAME' was not found in configurations dictionary!
1 REPLY 1

Re: Configuration parameter 'REPOSITORY_CONFIG_USERNAME' was not found in configurations dictionary!

New Contributor

Hi @Vijay Kiran, can you please add which version of Ranger have you installed, is this a manual installation or Ranger was installed through Ambari (do mention Ambari version also if in use) and How did you enable Ranger plugin for Hive ?