Uploaded image for project: 'Ambari (Retired)'
  1. Ambari (Retired)
  2. AMBARI-20361

Stack Upgrade tests fail during Hive Metastore restart due to missing hive-site.jceks file

    XMLWordPrintableJSON

Details

    Description

      STR

      1. Deploy HDP-2.5.0.0 with Ambari-2.5.x
      2. Register HDP-2.6 version and install the bits
      3. Start Express Upgrade

      Result:
      Failed with below error during restart of Hive Metastore:

      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 313, in execute
          method(env)
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 761, in restart
          self.start(env, upgrade_type=upgrade_type)
        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 116, 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 228, in hive
          params.user_group
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/security_commons.py", line 55, in update_credential_provider_path
          content = StaticFile(src_provider_path)
        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 76, in get_content
          raise Fail("{0} Source file {1} is not found".format(repr(self), path))
      resource_management.core.exceptions.Fail: StaticFile('/usr/hdp/current/hive-metastore/conf/conf.server/hive-site.jceks') Source file /usr/hdp/current/hive-metastore/conf/conf.server/hive-site.jceks is not found
      

      Attachments

        1. AMBARI-20361.patch
          2 kB
          Jonathan Hurley

        Issue Links

          Activity

            People

              jonathanhurley Jonathan Hurley
              shavi71 Vivek Sharma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: