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&T 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 >> > >