Re: Hadoop Issues - Can't find on StackOverflow

2017-07-23 Thread Jeff Zhang
I would suggest user to run hadoop on linux, do not waste time on these OS
related issues.



zlgonzalez <zlgonza...@yahoo.com.invalid>于2017年7月23日周日 下午12:06写道:

> Looks like you're running on Windows. Not sure if hadoop running on
> Windows even for single nodes is still supported...
>
> Thanks,
> Ron
>
>
>
> Sent via the Samsung Galaxy S7 active, an AT 4G LTE smartphone
>
>  Original message 
> From: "संजीव (Sanjeev Tripurari)" <sanjeevtripur...@gmail.com>
> Date: 7/22/17 8:25 PM (GMT-08:00)
> To: johnsonngu...@ups.com.invalid
> Cc: user@hadoop.apache.org
> Subject: Re: Hadoop Issues - Can't find on StackOverflow
>
> Hi,
>
> Can you share the environment where you did the setup.
> - Which distribution
> - OS
> - Hadoop version
>
> Regards
> -Sanjeev
>
>
> On 19 July 2017 at 00:36, <johnsonngu...@ups.com.invalid> wrote:
>
>> Hi Hadoop People,
>>
>>
>>
>>  I cannot get my YARN to run for my single node cluster. The error I
>> receive when I run start-yarn.sh is:
>>
>> No Title
>>
>> starting yarn daemons
>>
>> mkdir: cannot create directory ‘/opt/hadoop/bin/yarn.cmd’: Not a directory
>>
>> chown: cannot access ‘/opt/hadoop/bin/yarn.cmd/logs’: Not a directory
>>
>> starting resourcemanager, logging to
>> /opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out
>>
>> /root/hadoop-2.7.2/sbin/yarn-daemon.sh: line 123: cd:
>> /opt/hadoop/bin/yarn.cmd: Not a directory
>>
>> /root/hadoop-2.7.2/sbin/yarn-daemon.sh: line 124:
>> /opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out: Not
>> a directory
>>
>> head: cannot open
>> ‘/opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out’ for
>> reading: Not a directory
>>
>> /root/hadoop-2.7.2/sbin/yarn-daemon.sh: line 129:
>> /opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out: Not
>> a directory
>>
>> /root/hadoop-2.7.2/sbin/yarn-daemon.sh: line 130:
>> /opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out: Not
>> a directory
>>
>>
>>
>>
>>
>> If there is a fix to this, please do tell. Thank you for your help and
>> reading.
>>
>>
>>
>> Best Regards,
>>
>> Johnson Nguyen
>>
>
>


Re: Hadoop Issues - Can't find on StackOverflow

2017-07-22 Thread Sanjeev Tripurari
Hi,

Can you share the environment where you did the setup.
- Which distribution
- OS
- Hadoop version

Regards
-Sanjeev


On 19 July 2017 at 00:36,  wrote:

> Hi Hadoop People,
>
>
>
>  I cannot get my YARN to run for my single node cluster. The error I
> receive when I run start-yarn.sh is:
>
> No Title
>
> starting yarn daemons
>
> mkdir: cannot create directory ‘/opt/hadoop/bin/yarn.cmd’: Not a directory
>
> chown: cannot access ‘/opt/hadoop/bin/yarn.cmd/logs’: Not a directory
>
> starting resourcemanager, logging to /opt/hadoop/bin/yarn.cmd/logs/
> yarn-vkq8pyw-resourcemanager-master.out
>
> /root/hadoop-2.7.2/sbin/yarn-daemon.sh: line 123: cd:
> /opt/hadoop/bin/yarn.cmd: Not a directory
>
> /root/hadoop-2.7.2/sbin/yarn-daemon.sh: line 124:
> /opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out:
> Not a directory
>
> head: cannot open 
> ‘/opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out’
> for reading: Not a directory
>
> /root/hadoop-2.7.2/sbin/yarn-daemon.sh: line 129:
> /opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out:
> Not a directory
>
> /root/hadoop-2.7.2/sbin/yarn-daemon.sh: line 130:
> /opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out:
> Not a directory
>
>
>
>
>
> If there is a fix to this, please do tell. Thank you for your help and
> reading.
>
>
>
> Best Regards,
>
> Johnson Nguyen
>


Re: Hadoop Issues - Can't find on StackOverflow

2017-07-22 Thread Brahma Reddy Battula
I guess it's in DOS format..can you execute "dos2unix start-yarn.sh" and check 
once..?



From: johnsonngu...@ups.com.INVALID <johnsonngu...@ups.com.INVALID>
Sent: Wednesday, July 19, 2017 3:06 AM
To: user@hadoop.apache.org
Subject: Hadoop Issues - Can't find on StackOverflow


Hi Hadoop People,



 I cannot get my YARN to run for my single node cluster. The error I 
receive when I run start-yarn.sh is:

No Title

starting yarn daemons

mkdir: cannot create directory ‘/opt/hadoop/bin/yarn.cmd’: Not a directory

chown: cannot access ‘/opt/hadoop/bin/yarn.cmd/logs’: Not a directory

starting resourcemanager, logging to 
/opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out

/root/hadoop-2.7.2/sbin/yarn-daemon.sh: line 123: cd: /opt/hadoop/bin/yarn.cmd: 
Not a directory

/root/hadoop-2.7.2/sbin/yarn-daemon.sh: line 124: 
/opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out: Not a 
directory

head: cannot open 
‘/opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out’ for 
reading: Not a directory

/root/hadoop-2.7.2/sbin/yarn-daemon.sh: line 129: 
/opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out: Not a 
directory

/root/hadoop-2.7.2/sbin/yarn-daemon.sh: line 130: 
/opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out: Not a 
directory





If there is a fix to this, please do tell. Thank you for your help and reading.



Best Regards,

Johnson Nguyen


Hadoop Issues - Can't find on StackOverflow

2017-07-18 Thread johnsonnguyen
Hi Hadoop People,

 I cannot get my YARN to run for my single node cluster. The error I 
receive when I run start-yarn.sh is:
No Title
starting yarn daemons
mkdir: cannot create directory '/opt/hadoop/bin/yarn.cmd': Not a directory
chown: cannot access '/opt/hadoop/bin/yarn.cmd/logs': Not a directory
starting resourcemanager, logging to 
/opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out
/root/hadoop-2.7.2/sbin/yarn-daemon.sh: line 123: cd: /opt/hadoop/bin/yarn.cmd: 
Not a directory
/root/hadoop-2.7.2/sbin/yarn-daemon.sh: line 124: 
/opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out: Not a 
directory
head: cannot open 
'/opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out' for 
reading: Not a directory
/root/hadoop-2.7.2/sbin/yarn-daemon.sh: line 129: 
/opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out: Not a 
directory
/root/hadoop-2.7.2/sbin/yarn-daemon.sh: line 130: 
/opt/hadoop/bin/yarn.cmd/logs/yarn-vkq8pyw-resourcemanager-master.out: Not a 
directory


If there is a fix to this, please do tell. Thank you for your help and reading.

Best Regards,
Johnson Nguyen