Vivek Rathod created AMBARI-19245:
-------------------------------------
Summary: Smartsense Install fails while installing cluster with
Blueprint with Customized Service Users
Key: AMBARI-19245
URL: https://issues.apache.org/jira/browse/AMBARI-19245
Project: Ambari
Issue Type: Bug
Affects Versions: 2.5.0
Reporter: Vivek Rathod
Fix For: 2.5.0
Smartsense Install fails while installing cluster with Blueprint with
Customized Service User
{code}
Execution of 'useradd -m -G cstm-hdfs -g hadoop activity_analyzer' returned 6.
useradd: group 'cstm-hdfs' does not exist
{code}
{code}
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):
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)