Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-14232

Kerberization fails if Hive is not installed but Spark is installed without Spark TS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 2.2.0
    • ambari-server
    • None

    Description

      Install spark without Hive. Spark-client installation fails with below error.

      "/var/lib/ambari-agent/data/errors-85.txt"
      Traceback (most recent call last):
        File "/var/lib/ambari-agent/cache/common-services/SPARK/1.2.0.2.2/package/scripts/spark_client.py", line 59, in <module>
          SparkClient().execute()
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 217, in execute
          method(env)
        File "/var/lib/ambari-agent/cache/common-services/SPARK/1.2.0.2.2/package/scripts/spark_client.py", line 35, in install
          self.configure(env)
        File "/var/lib/ambari-agent/cache/common-services/SPARK/1.2.0.2.2/package/scripts/spark_client.py", line 41, in configure
          setup_spark(env, 'client', action = 'config')
        File "/var/lib/ambari-agent/cache/common-services/SPARK/1.2.0.2.2/package/scripts/setup_spark.py", line 89, in setup_spark
          key_value_delimiter = " ",
        File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
          self.env.run()
        File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158, in run
          self.run_action(resource, action)
        File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, in run_action
          provider_action()
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/properties_file.py", line 55, in action_create
          mode = self.resource.mode
        File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
          self.env.run()
        File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158, in run
          self.run_action(resource, action)
        File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, in run_action
          provider_action()
        File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 108, in action_create
          self.resource.group, mode=self.resource.mode, cd_access=self.resource.cd_access)
        File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 44, in _ensure_metadata
          _user_entity = pwd.getpwnam(user)
      KeyError: 'getpwnam(): name not found: hive'
      ambari hash
      root@os-u14-qihles-spark-re1-2:~# ambari-server --hash
      863d787b3c2f06b9593aa3cca6656f9ee666817d
      ===========
      Version 2.1.3.0 
      

      Attachments

        1. AMBARI-14232.v1.patch
          10 kB
          Sebastian Toader

        Activity

          People

            stoader Sebastian Toader
            stoader Sebastian Toader
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: