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

Smartsense Install fails while installing cluster with Blueprint with Customized Service Users

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.5.0
    • 2.5.0
    • None
    • None

    Description

      Smartsense Install fails while installing cluster with Blueprint with Customized Service User

      Execution of 'useradd -m -G cstm-hdfs -g hadoop activity_analyzer' returned 6. useradd: group 'cstm-hdfs' does not exist
      
      Traceback (most recent call last):
        File "/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/scripts/hst_agent.py", line 22, in <module>
          HSTScript('agent').execute()
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 282, in execute
          method(env)
        File "/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/scripts/hst_script.py", line 48, in install
          self.deploy_component_specific_config(env)
        File "/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/scripts/hst_script.py", line 360, in deploy_component_specific_config
          self.create_activity_user()
        File "/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/scripts/hst_script.py", line 516, in create_activity_user
          groups = params.config['configurations']['hadoop-env']['hdfs_user']
        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/accounts.py", line 82, in action_create
          shell.checked_call(command, sudo=True)
        File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72, in inner
          result = function(command, **kwargs)
        File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102, in checked_call
          tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
        File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in _call_wrapper
          result = _call(command, **kwargs_copy)
        File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303, in _call
          raise ExecutionFailed(err_msg, code, out, err)
      resource_management.core.exceptions.ExecutionFailed: Execution of 'useradd -m -G cstm-hdfs -g hadoop activity_analyzer' returned 6. useradd: group 'cstm-hdfs' does not exist
      Traceback (most recent call last):
        File "/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/scripts/hst_agent.py", line 22, in <module>
          HSTScript('agent').execute()
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 282, in execute
          method(env)
        File "/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/scripts/hst_script.py", line 48, in install
          self.deploy_component_specific_config(env)
        File "/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/scripts/hst_script.py", line 360, in deploy_component_specific_config
          self.create_activity_user()
        File "/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/scripts/hst_script.py", line 516, in create_activity_user
          groups = params.config['configurations']['hadoop-env']['hdfs_user']
        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/accounts.py", line 82, in action_create
          shell.checked_call(command, sudo=True)
        File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72, in inner
          result = function(command, **kwargs)
        File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102, in checked_call
          tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
        File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in _call_wrapper
          result = _call(command, **kwargs_copy)
        File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303, in _call
          raise ExecutionFailed(err_msg, code, out, err)
      resource_management.core.exceptions.ExecutionFailed: Execution of 'useradd -m -G cstm-hdfs -g hadoop activity_analyzer' returned 6. useradd: group 'cstm-hdfs' does not exist
      Traceback (most recent call last):
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            vrathod Vivek Rathod
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: