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

Reply via email to