hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shengjun Xin <s...@gopivotal.com>
Subject Re: How to start one nodemanager in HDP 2.0.6 ?
Date Tue, 20 May 2014 03:40:28 GMT
Did you configure the environment variables, such as $HADOOP_YARN_HOME?


On Tue, May 20, 2014 at 11:32 AM, Ted Yu <yuzhihong@gmail.com> wrote:

> Which user did you use for the yarn-daemon.sh command ?
>
> See the following:
>
> bq. mkdir: cannot create directory `/logs': Permission denied
>
> Cheers
>
>
> On Mon, May 19, 2014 at 8:22 PM, Tao Xiao <xiaotao.cs.nju@gmail.com>wrote:
>
>> I'm using Hortonworks HDP 2.0.6. One of the nodes reboots and I want to
>> start nodemanager manually on that node, but the command "/usr/lib/hadoop-yarn/sbin/yarn-daemon.sh
>> start nodemanager" complains the following:
>>
>> /usr/lib/hadoop-yarn/sbin/yarn-daemon.sh: line 44:
>> /usr/lib/hadoop-yarn/sbin/../libexec/yarn-config.sh: No such file or
>> directory
>> mkdir: cannot create directory `/logs': Permission denied
>> chown: cannot access `/logs': No such file or directory
>> starting nodemanager, logging to
>> /logs/yarn-hadoop-nodemanager-a04.jsepc.com.out
>> /usr/lib/hadoop-yarn/sbin/yarn-daemon.sh: line 124:
>> /logs/yarn-hadoop-nodemanager-a04.jsepc.com.out: No such file or directory
>> head: cannot open `/logs/yarn-hadoop-nodemanager-a04.jsepc.com.out' for
>> reading: No such file or directory
>> /usr/lib/hadoop-yarn/sbin/yarn-daemon.sh: line 129:
>> /logs/yarn-hadoop-nodemanager-a04.jsepc.com.out: No such file or directory
>> /usr/lib/hadoop-yarn/sbin/yarn-daemon.sh: line 130:
>> /logs/yarn-hadoop-nodemanager-a04.jsepc.com.out: No such file or directory
>>
>>
>> I suppose that is caused by configuration-related issues ( /usr/lib/hadoop-yarn/sbin/../libexec/yarn-config.sh:
>> No such file or directory). So how should I start a nodemanager manually
>> ?
>>
>>
>>
>


-- 
Regards
Shengjun

Mime
View raw message