[ 
https://issues.apache.org/jira/browse/HDFS-15673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17227780#comment-17227780
 ] 

Steve Loughran commented on HDFS-15673:
---------------------------------------

sorry, this isn't the place for support calls. Please ask on one of the user 
mailing lists...probably an ambari one by the look of that stack trace.

closing as invalid, not because you don't have a problem, but as its a 
deployment issue, we aren't treating it as a bug

> Cannot set priority of datanode process 6667
> --------------------------------------------
>
>                 Key: HDFS-15673
>                 URL: https://issues.apache.org/jira/browse/HDFS-15673
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: 3.1.1
>         Environment: ambari 2.7.4.0 HDP-3.1.4.0 hadoop3.1.1
>            Reporter: chenxiaoyong
>            Priority: Major
>
> ambari 2.7.4.0 HDP-3.1.4.0 hadoop3.1.1
> When I start datanode by ambari,4 datanode start success,1 datanode start 
> failed
> {code:java}
> stderr:   /var/lib/ambari-agent/data/errors-909.txt
> Traceback (most recent call last):
>   File 
> "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/HDFS/package/scripts/datanode.py",
>  line 126, in <module>
>     DataNode().execute()
>   File 
> "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", 
> line 352, in execute
>     method(env)
>   File 
> "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/HDFS/package/scripts/datanode.py",
>  line 68, in start
>     datanode(action="start")
>   File "/usr/lib/ambari-agent/lib/ambari_commons/os_family_impl.py", line 89, 
> in thunk
>     return fn(*args, **kwargs)
>   File 
> "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/HDFS/package/scripts/hdfs_datanode.py",
>  line 71, in datanode
>     create_log_dir=True
>   File 
> "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/HDFS/package/scripts/utils.py",
>  line 261, in service
>     Execute(daemon_cmd, not_if=process_id_exists_command, 
> environment=hadoop_env_exports)
>   File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 
> 166, in __init__
>     self.env.run()
>   File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", 
> line 160, in run
>     self.run_action(resource, action)
>   File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", 
> line 124, in run_action
>     provider_action()
>   File 
> "/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", 
> line 263, in action_run
>     returns=self.resource.returns)
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 
> 72, in inner
>     result = function(command, **kwargs)
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 
> 102, in checked_call
>     tries=tries, try_sleep=try_sleep, 
> timeout_kill_strategy=timeout_kill_strategy, returns=returns)
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 
> 150, in _call_wrapper
>     result = _call(command, **kwargs_copy)
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 
> 314, in _call
>     raise ExecutionFailed(err_msg, code, out, err)
> resource_management.core.exceptions.ExecutionFailed: Execution of 
> 'ambari-sudo.sh su hdfs -l -s /bin/bash -c 'ulimit -c unlimited ;  
> /usr/hdp/3.1.4.0-315/hadoop/bin/hdfs --config 
> /usr/hdp/3.1.4.0-315/hadoop/conf --daemon start datanode'' returned 1. ERROR: 
> Cannot set priority of datanode process 31009
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to