Support Questions

Find answers, ask questions, and share your expertise

resource_management.core.exceptions.Fail: Configuration parameter 'hivemetastore-site' was not found in configurations dictionary!

avatar
Explorer

As part of the service start (Fresh Installation ) of Hive Metastore, Getting error "resource_management.core.exceptions.Fail: Configuration parameter 'hivemetastore-site' was not found in configurations dictionary!".

Ambari version Version2.5.0.3

HDP Version HDP-2.4

14 REPLIES 14

avatar
Explorer

Below is the full stderr message :

stderr: Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", line 260, in <module> HiveMetastore().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 314, in execute method(env) File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", line 58, in start self.configure(env) File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 117, in locking_configure original_configure(obj, *args, **kw) File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", line 74, in configure hive(name = 'metastore') File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk return fn(*args, **kwargs) File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py", line 259, in hive mode=0600) File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/xml_config.py", line 66, in action_create encoding = self.resource.encoding File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 123, in action_create content = self._get_content() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 160, in _get_content return content() File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 52, in __call__ return self.get_content() File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 144, in get_content rendered = self.template.render(self.context) File "/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py", line 891, in render return self.environment.handle_exception(exc_info, True) File "<template>", line 2, in top-level template code File "/usr/lib/python2.6/site-packages/ambari_jinja2/filters.py", line 176, in do_dictsort return sorted(value.items(), key=sort_func) 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 'hivemetastore-site' was not found in configurations dictionary! stdout: 2018-10-10 15:00:23,301 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2018-10-10 15:00:23,534 - Stack Feature Version Info: stack_version=2.4, version=2.6.0.3-8, current_cluster_version=2.6.0.3-8 -> 2.6.0.3-8 2018-10-10 15:00:23,536 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf User Group mapping (user_group) is missing in the hostLevelParams 2018-10-10 15:00:23,539 - Group['spark'] {} 2018-10-10 15:00:23,541 - Group['hadoop'] {} 2018-10-10 15:00:23,542 - Group['users'] {} 2018-10-10 15:00:23,542 - Group['knox'] {} 2018-10-10 15:00:23,543 - User['hive'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2018-10-10 15:00:23,544 - User['storm'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2018-10-10 15:00:23,545 - User['zookeeper'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2018-10-10 15:00:23,547 - User['infra-solr'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2018-10-10 15:00:23,548 - User['oozie'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['users']} 2018-10-10 15:00:23,549 - User['atlas'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2018-10-10 15:00:23,550 - User['ams'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2018-10-10 15:00:23,552 - User['falcon'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['users']} 2018-10-10 15:00:23,553 - User['tez'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['users']} 2018-10-10 15:00:23,554 - User['accumulo'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2018-10-10 15:00:23,556 - User['mahout'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2018-10-10 15:00:23,557 - User['spark'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2018-10-10 15:00:23,558 - User['ambari-qa'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['users']} 2018-10-10 15:00:23,559 - User['flume'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2018-10-10 15:00:23,561 - User['kafka'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2018-10-10 15:00:23,562 - User['hdfs'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2018-10-10 15:00:23,563 - User['sqoop'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2018-10-10 15:00:23,565 - User['yarn'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2018-10-10 15:00:23,566 - User['mapred'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2018-10-10 15:00:23,567 - User['hbase'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2018-10-10 15:00:23,569 - User['knox'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2018-10-10 15:00:23,570 - User['hcat'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2018-10-10 15:00:23,571 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2018-10-10 15:00:23,574 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa'] {'not_if': '(test $(id -u ambari-qa) -gt 1000) || (false)'} 2018-10-10 15:00:23,581 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa'] due to not_if 2018-10-10 15:00:23,585 - Directory['/tmp/hbase-hbase'] {'owner': 'hbase', 'create_parents': True, 'mode': 0775, 'cd_access': 'a'} 2018-10-10 15:00:23,587 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2018-10-10 15:00:23,589 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase'] {'not_if': '(test $(id -u hbase) -gt 1000) || (false)'} 2018-10-10 15:00:23,596 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase'] due to not_if 2018-10-10 15:00:23,596 - Group['hdfs'] {} 2018-10-10 15:00:23,597 - User['hdfs'] {'fetch_nonlocal_groups': True, 'groups': ['hadoop', 'hdfs']} 2018-10-10 15:00:23,598 - FS Type: 2018-10-10 15:00:23,598 - Directory['/etc/hadoop'] {'mode': 0755} 2018-10-10 15:00:23,631 - File['/usr/hdp/current/hadoop-client/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'} 2018-10-10 15:00:23,632 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 01777} 2018-10-10 15:00:23,656 - Execute[('setenforce', '0')] {'not_if': '(! which getenforce ) || (which getenforce && getenforce | grep -q Disabled)', 'sudo': True, 'only_if': 'test -f /selinux/enforce'} 2018-10-10 15:00:23,665 - Skipping Execute[('setenforce', '0')] due to not_if 2018-10-10 15:00:23,665 - Directory['/var/log/hadoop'] {'owner': 'root', 'create_parents': True, 'group': 'hadoop', 'mode': 0775, 'cd_access': 'a'} 2018-10-10 15:00:23,670 - Directory['/var/run/hadoop'] {'owner': 'root', 'create_parents': True, 'group': 'root', 'cd_access': 'a'} 2018-10-10 15:00:23,670 - Directory['/tmp/hadoop-hdfs'] {'owner': 'hdfs', 'create_parents': True, 'cd_access': 'a'} 2018-10-10 15:00:23,679 - File['/usr/hdp/current/hadoop-client/conf/commons-logging.properties'] {'content': Template('commons-logging.properties.j2'), 'owner': 'hdfs'} 2018-10-10 15:00:23,682 - File['/usr/hdp/current/hadoop-client/conf/health_check'] {'content': Template('health_check.j2'), 'owner': 'hdfs'} 2018-10-10 15:00:23,697 - File['/usr/hdp/current/hadoop-client/conf/log4j.properties'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop', 'mode': 0644} 2018-10-10 15:00:23,721 - File['/usr/hdp/current/hadoop-client/conf/hadoop-metrics2.properties'] {'content': Template('hadoop-metrics2.properties.j2'), 'owner': 'hdfs', 'group': 'hadoop'} 2018-10-10 15:00:23,722 - File['/usr/hdp/current/hadoop-client/conf/task-log4j.properties'] {'content': StaticFile('task-log4j.properties'), 'mode': 0755} 2018-10-10 15:00:23,724 - File['/usr/hdp/current/hadoop-client/conf/configuration.xsl'] {'owner': 'hdfs', 'group': 'hadoop'} 2018-10-10 15:00:23,733 - File['/etc/hadoop/conf/topology_mappings.data'] {'owner': 'hdfs', 'content': Template('topology_mappings.data.j2'), 'only_if': 'test -d /etc/hadoop/conf', 'group': 'hadoop'} 2018-10-10 15:00:23,739 - File['/etc/hadoop/conf/topology_script.py'] {'content': StaticFile('topology_script.py'), 'only_if': 'test -d /etc/hadoop/conf', 'mode': 0755} 2018-10-10 15:00:24,153 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2018-10-10 15:00:24,161 - call['ambari-python-wrap /usr/bin/hdp-select status hive-server2'] {'timeout': 20} 2018-10-10 15:00:24,188 - call returned (0, 'hive-server2 - 2.6.0.3-8') 2018-10-10 15:00:24,189 - Stack Feature Version Info: stack_version=2.4, version=2.6.0.3-8, current_cluster_version=2.6.0.3-8 -> 2.6.0.3-8 2018-10-10 15:00:24,205 - Directory['/etc/hive'] {'mode': 0755} 2018-10-10 15:00:24,207 - Directories to fill with configs: ['/usr/hdp/current/hive-metastore/conf', '/usr/hdp/current/hive-metastore/conf/conf.server'] 2018-10-10 15:00:24,208 - Directory['/etc/hive/2.6.0.3-8/0'] {'owner': 'hive', 'group': 'hadoop', 'create_parents': True, 'mode': 0755} 2018-10-10 15:00:24,208 - XmlConfig['mapred-site.xml'] {'group': 'hadoop', 'conf_dir': '/etc/hive/2.6.0.3-8/0', 'mode': 0644, 'configuration_attributes': {}, 'owner': 'hive', 'configurations': ...} 2018-10-10 15:00:24,225 - Generating config: /etc/hive/2.6.0.3-8/0/mapred-site.xml 2018-10-10 15:00:24,225 - File['/etc/hive/2.6.0.3-8/0/mapred-site.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'} 2018-10-10 15:00:24,280 - File['/etc/hive/2.6.0.3-8/0/hive-default.xml.template'] {'owner': 'hive', 'group': 'hadoop', 'mode': 0644} 2018-10-10 15:00:24,281 - File['/etc/hive/2.6.0.3-8/0/hive-env.sh.template'] {'owner': 'hive', 'group': 'hadoop', 'mode': 0644} 2018-10-10 15:00:24,283 - File['/etc/hive/2.6.0.3-8/0/hive-exec-log4j.properties'] {'content': InlineTemplate(...), 'owner': 'hive', 'group': 'hadoop', 'mode': 0644} 2018-10-10 15:00:24,287 - File['/etc/hive/2.6.0.3-8/0/hive-log4j.properties'] {'content': InlineTemplate(...), 'owner': 'hive', 'group': 'hadoop', 'mode': 0644} 2018-10-10 15:00:24,288 - Directory['/etc/hive/2.6.0.3-8/0/conf.server'] {'owner': 'hive', 'group': 'hadoop', 'create_parents': True, 'mode': 0700} 2018-10-10 15:00:24,289 - XmlConfig['mapred-site.xml'] {'group': 'hadoop', 'conf_dir': '/etc/hive/2.6.0.3-8/0/conf.server', 'mode': 0600, 'configuration_attributes': {}, 'owner': 'hive', 'configurations': ...} 2018-10-10 15:00:24,302 - Generating config: /etc/hive/2.6.0.3-8/0/conf.server/mapred-site.xml 2018-10-10 15:00:24,302 - File['/etc/hive/2.6.0.3-8/0/conf.server/mapred-site.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0600, 'encoding': 'UTF-8'} 2018-10-10 15:00:24,357 - File['/etc/hive/2.6.0.3-8/0/conf.server/hive-default.xml.template'] {'owner': 'hive', 'group': 'hadoop', 'mode': 0600} 2018-10-10 15:00:24,358 - File['/etc/hive/2.6.0.3-8/0/conf.server/hive-env.sh.template'] {'owner': 'hive', 'group': 'hadoop', 'mode': 0600} 2018-10-10 15:00:24,360 - File['/etc/hive/2.6.0.3-8/0/conf.server/hive-exec-log4j.properties'] {'content': InlineTemplate(...), 'owner': 'hive', 'group': 'hadoop', 'mode': 0600} 2018-10-10 15:00:24,364 - File['/etc/hive/2.6.0.3-8/0/conf.server/hive-log4j.properties'] {'content': InlineTemplate(...), 'owner': 'hive', 'group': 'hadoop', 'mode': 0600} 2018-10-10 15:00:24,365 - XmlConfig['hive-site.xml'] {'group': 'hadoop', 'conf_dir': '/usr/hdp/current/hive-metastore/conf/conf.server', 'mode': 0600, 'configuration_attributes': {'hidden': {'javax.jdo.option.ConnectionPassword': 'HIVE_CLIENT,WEBHCAT_SERVER,HCAT,CONFIG_DOWNLOAD'}}, 'owner': 'hive', 'configurations': ...} 2018-10-10 15:00:24,377 - Generating config: /usr/hdp/current/hive-metastore/conf/conf.server/hive-site.xml 2018-10-10 15:00:24,377 - File['/usr/hdp/current/hive-metastore/conf/conf.server/hive-site.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0600, 'encoding': 'UTF-8'} 2018-10-10 15:00:24,552 - Generating Atlas Hook config file /usr/hdp/current/hive-metastore/conf/conf.server/application.properties 2018-10-10 15:00:24,552 - PropertiesFile['/usr/hdp/current/hive-metastore/conf/conf.server/application.properties'] {'owner': 'hive', 'group': 'hadoop', 'mode': 0644, 'properties': {'atlas.cluster.name': '{{cluster_name}}'}} 2018-10-10 15:00:24,559 - Generating properties file: /usr/hdp/current/hive-metastore/conf/conf.server/application.properties 2018-10-10 15:00:24,559 - File['/usr/hdp/current/hive-metastore/conf/conf.server/application.properties'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644} 2018-10-10 15:00:24,561 - Writing File['/usr/hdp/current/hive-metastore/conf/conf.server/application.properties'] because contents don't match 2018-10-10 15:00:24,562 - XmlConfig['hivemetastore-site.xml'] {'group': 'hadoop', 'conf_dir': '/usr/hdp/current/hive-metastore/conf/conf.server', 'mode': 0600, 'configuration_attributes': [EMPTY], 'owner': 'hive', 'configurations': [EMPTY]} 2018-10-10 15:00:24,574 - Generating config: /usr/hdp/current/hive-metastore/conf/conf.server/hivemetastore-site.xml 2018-10-10 15:00:24,574 - File['/usr/hdp/current/hive-metastore/conf/conf.server/hivemetastore-site.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0600, 'encoding': 'UTF-8'} Command failed after 1 tries

Please help

avatar
Master Mentor

@Sateesh Battu

It looks like Hive Service is not installed properly.

As you mentioned that it is (Fresh Installation ) of Hive Metastore. So it will be better and quick if you Delete the "Hive" service from ambari UI and then try installing it again.

The other alternate approach will be to review the whole Hive Service installation logs to find out why the mentioned config is missing and accordingly need to fix it from Ambari DB or using some API calls. But better to reinstall hive service if it is a freshly installed service.

avatar
Explorer

@Jay Kumar SenSharma

Thanks for your response, i tried to delete the service and install it again from Ambari UI. Still getting the same error.

In Hive Configs, i am not able to see the parameter hivemetastore-site under custom, is that a problem.

Please help

avatar
Explorer

@Jay Kumar SenSharma

Thanks for your response, i tried to delete the service and install it again from Ambari UI. Still getting the same error.

In Hive Configs, i am not able to see the parameter hivemetastore-site under custom, is that a problem.

Please help

avatar
Master Mentor

@Sateesh Battu

May be you can take Ambari DB dump backup (this is Must to perform DB backup) and then from Ambari Db you can perform Hive Service cleanup as mentioned in

How to cleanup service from Ambari database:

https://community.hortonworks.com/articles/79546/how-to-cleanup-service-from-ambari-database.html

Also there are detailed steps mentioned in https://community.hortonworks.com/articles/81939/how-to-resolve-ambari-db-inconsistency-error-you-h....

avatar
Explorer

@Jay Kumar SenSharma

I am trying to run those queries but not able to find those tables in mysql.

Also not sure how this will resolve my issue.

Please let me know if you have any better references which will help to resolve my current issue.

avatar
Master Mentor

@Sateesh Battu

From Ambari Server host can you please try running the following command once to see if it is able to put a dummy key/value inside "hivemetastore-site". If the following command succeeds then you should be able to see the "hivemetastore-site" in ambari UI as well.

# /var/lib/ambari-server/resources/scripts/configs.py --user=admin --password=admin --port=8080 --action=set --host=localhost --cluster=TestCluster --config-type=hivemetastore-site -k "key1" -v "value1"<br>

.

Please make sure to run the above command from ambari server host and also Change the cluster name "TestCluster" with your own cluster name.

avatar
Explorer

@Jay Kumar SenSharma

I tried running thise commands and below is the error / response. Seems it got failed also i am not able to see hivemetastore-site in ambari UI.

2018-10-10 16:47:53,665 INFO ### Performing "set":
2018-10-10 16:47:53,665 INFO ### new property - "key1":"value1"
Traceback (most recent call last):
  File "/var/lib/ambari-server/resources/scripts/configs.py", line 376, in <module>
    sys.exit(main())
  File "/var/lib/ambari-server/resources/scripts/configs.py", line 355, in main
    return set_properties(cluster, config_type, action_args, accessor)
  File "/var/lib/ambari-server/resources/scripts/configs.py", line 249, in set_properties
    update_config(cluster, config_type, updater, accessor)
  File "/var/lib/ambari-server/resources/scripts/configs.py", line 131, in update_config
    properties, attributes = config_updater(cluster, config_type, accessor)
  File "/var/lib/ambari-server/resources/scripts/configs.py", line 136, in update
    properties, attributes = get_current_config(cluster, config_type, accessor)
  File "/var/lib/ambari-server/resources/scripts/configs.py", line 123, in get_current_config
    config_tag = get_config_tag(cluster, config_type, accessor)
  File "/var/lib/ambari-server/resources/scripts/configs.py", line 99, in get_config_tag
    raise Exception('"{0}" not found in server response. Response:\n{1}'.format(config_type, response))
Exception: "hivemetastore-site" not found in server response. Response:
{
  "href" : "http://localhost:8080/api/v1/clusters/hadoopunit?fields=Clusters/desired_configs",
  "Clusters" : {
    "cluster_name" : "hadoopunit",
    "version" : "HDP-2.4",
    "desired_configs" : {
      "accumulo-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "accumulo-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "accumulo-logsearch-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "accumulo-site" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "activity-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "activity-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "activity-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "activity-zeppelin-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "activity-zeppelin-interpreter" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "activity-zeppelin-shiro" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "activity-zeppelin-site" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "admin-topology" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ams-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ams-grafana-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ams-grafana-ini" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ams-hbase-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ams-hbase-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ams-hbase-policy" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ams-hbase-security-site" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ams-hbase-site" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ams-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ams-logsearch-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ams-site" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ams-ssl-client" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ams-ssl-server" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "anonymization-rules" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "application-properties" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "atlas-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "atlas-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "atlas-logsearch-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "capacity-scheduler" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "client" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "cluster-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "core-site" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "falcon-client.properties" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "falcon-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "falcon-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "falcon-logsearch-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "falcon-runtime.properties" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "falcon-startup.properties" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "flume-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "flume-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "flume-logsearch-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "gateway-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "gateway-site" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "hadoop-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "hadoop-policy" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "hbase-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "hbase-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "hbase-logsearch-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "hbase-policy" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "hbase-site" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "hcat-env" : {
        "tag" : "version1539165585209",
        "user" : "admin",
        "version" : 2
      },
      "hdfs-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "hdfs-logsearch-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "hdfs-site" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "hive-env" : {
        "tag" : "version1539165585209",
        "user" : "admin",
        "version" : 2
      },
      "hive-exec-log4j" : {
        "tag" : "version1539165585209",
        "user" : "admin",
        "version" : 2
      },
      "hive-log4j" : {
        "tag" : "version1539165585209",
        "user" : "admin",
        "version" : 2
      },
      "hive-logsearch-conf" : {
        "tag" : "version1539165585209",
        "user" : "admin",
        "version" : 2
      },
      "hive-site" : {
        "tag" : "version1539165585209",
        "user" : "admin",
        "version" : 2
      },
      "hiveserver2-site" : {
        "tag" : "version1539165585209",
        "user" : "admin",
        "version" : 2
      },
      "hst-agent-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "hst-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "hst-server-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "infra-logsearch-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "infra-solr-client-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "infra-solr-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "infra-solr-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "infra-solr-security-json" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "infra-solr-xml" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "kafka-broker" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "kafka-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "kafka-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "kafka-logsearch-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "kafka_client_jaas_conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "kafka_jaas_conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "knox-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "knox-logsearch-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "knoxsso-topology" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ldap-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "mahout-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "mahout-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "mapred-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "mapred-logsearch-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "mapred-site" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "oozie-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "oozie-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "oozie-logsearch-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "oozie-site" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "pig-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "pig-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "pig-properties" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-hbase-audit" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-hbase-plugin-properties" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-hbase-policymgr-ssl" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-hbase-security" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-hdfs-audit" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-hdfs-plugin-properties" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-hdfs-policymgr-ssl" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-hdfs-security" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-hive-audit" : {
        "tag" : "version1539165585209",
        "user" : "admin",
        "version" : 2
      },
      "ranger-hive-plugin-properties" : {
        "tag" : "version1539165585209",
        "user" : "admin",
        "version" : 2
      },
      "ranger-hive-policymgr-ssl" : {
        "tag" : "version1539165585209",
        "user" : "admin",
        "version" : 2
      },
      "ranger-hive-security" : {
        "tag" : "version1539165585209",
        "user" : "admin",
        "version" : 2
      },
      "ranger-kafka-audit" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-kafka-plugin-properties" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-kafka-policymgr-ssl" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-kafka-security" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-knox-audit" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-knox-plugin-properties" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-knox-policymgr-ssl" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-knox-security" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-storm-audit" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-storm-plugin-properties" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-storm-policymgr-ssl" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-storm-security" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-yarn-audit" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-yarn-plugin-properties" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-yarn-policymgr-ssl" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ranger-yarn-security" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "slider-client" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "slider-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "slider-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "sqoop-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "sqoop-site" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ssl-client" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "ssl-server" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "storm-cluster-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "storm-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "storm-logsearch-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "storm-site" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "storm-worker-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "tez-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "tez-site" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "topology" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "users-ldif" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "webhcat-env" : {
        "tag" : "version1539165585209",
        "user" : "admin",
        "version" : 2
      },
      "webhcat-log4j" : {
        "tag" : "version1539165585209",
        "user" : "admin",
        "version" : 2
      },
      "webhcat-site" : {
        "tag" : "version1539165585209",
        "user" : "admin",
        "version" : 2
      },
      "yarn-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "yarn-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "yarn-logsearch-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "yarn-site" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "zoo.cfg" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "zookeeper-env" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "zookeeper-log4j" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      },
      "zookeeper-logsearch-conf" : {
        "tag" : "version1",
        "user" : "admin",
        "version" : 1
      }
    }
  }
}


avatar

@Sateesh Battu

You could try the workaround suggested in this thread of manually creating the /etc/hive/conf/conf.server/hivemetastore-site.xml file.