Hadoop/cygwin failure in bin/hadoop tasktracker command

2013-05-22T22:30:28

i am following http://ebiquity.umbc.edu/Tutorials/Hadoop/00%20-%20Intro.html

Start the namenode in the first window by executing cd hadoop-0.19.1 bin/hadoop namenode Start the secondary namenode in the second window by executing cd hadoop-0.19.1 bin/hadoop secondarynamenode Start the job tracker the third window by executing cd hadoop-0.19.1 bin/hadoop jobtracker Start the data node the fourth window by executing cd hadoop-0.19.1 bin/hadoop datanode Start the task tracker the fifth window by executing cd hadoop-0.19.1 bin/hadoop tasktracker

till "bin/hadoop datanode" is working fine the last one for "bin/hadoop tasktracker"

this is what i gets

`$ bin/hadoop tasktracker
bin/hadoop: line 350: C:\Program: command not found
13/05/22 09:42:15 INFO mapred.TaskTracker: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting TaskTracker
STARTUP_MSG:   host = xxxx/10.10.200.94
STARTUP_MSG:   args = []
STARTUP_MSG:   version = 1.2.0
STARTUP_MSG:   build = https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.2 -r 1479473; compiled by 'hortonfo' on Mon May  6 06:59:37 UTC 2013
STARTUP_MSG:   java = 1.7.0_21
************************************************************/
13/05/22 09:42:15 INFO impl.MetricsConfig: loaded properties from hadoop-metrics2.properties
13/05/22 09:42:15 INFO impl.MetricsSourceAdapter: MBean for source MetricsSystem,sub=Stats registered.
13/05/22 09:42:15 INFO impl.MetricsSystemImpl: Scheduled snapshot period at 10 second(s).
13/05/22 09:42:15 INFO impl.MetricsSystemImpl: TaskTracker metrics system started
13/05/22 09:42:15 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
13/05/22 09:42:15 INFO impl.MetricsSourceAdapter: MBean for source ugi registered.
13/05/22 09:42:15 INFO mortbay.log: Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
13/05/22 09:42:15 INFO http.HttpServer: Added global filtersafety (class=org.apache.hadoop.http.HttpServer$QuotingInputFilter)
Patch for HADOOP-7682: Instantiating workaround file system
13/05/22 09:42:15 INFO mapred.TaskLogsTruncater: Initializing logs' truncater with mapRetainSize=-1 and reduceRetainSize=-1
13/05/22 09:42:15 INFO mapred.TaskTracker: Starting tasktracker with owner as xxxx
13/05/22 09:42:15 INFO mapred.TaskTracker: Good mapred local directories are: /tmp/hadoop-xxxx/mapred/local
Patch for HADOOP-7682: Ignoring IOException setting persmission for path "/tmp/hadoop-xxx/mapred/local/taskTracker": Failed to set permissions of path: \tmp\hadoop-xxxx\mapred\local\taskTracker to 0755
Patch for HADOOP-7682: Ignoring IOException setting persmission for path "/tmp/hadoop-xxxx/mapred/local/ttprivate": Failed to set permissions of path: \tmp\hadoop-xxxx\mapred\local\ttprivate to 0700
Patch for HADOOP-7682: Ignoring IOException setting persmission for path "/tmp/hadoop-xxx/mapred/local/tt_log_tmp": Failed to set permissions of path: \tmp\hadoop-xxxx\mapred\local\tt_log_tmp to 0755
13/05/22 09:42:15 INFO impl.MetricsSourceAdapter: MBean for source jvm registered.
13/05/22 09:42:15 INFO impl.MetricsSourceAdapter: MBean for source TaskTrackerMetrics registered.
13/05/22 09:42:15 INFO ipc.Server: Starting SocketReader
13/05/22 09:42:15 INFO impl.MetricsSourceAdapter: MBean for source RpcDetailedActivityForPort53336 registered.
13/05/22 09:42:15 INFO impl.MetricsSourceAdapter: MBean for source RpcActivityForPort53336 registered.
13/05/22 09:42:15 INFO ipc.Server: IPC Server Responder: starting
13/05/22 09:42:15 INFO ipc.Server: IPC Server listener on 53336: starting
13/05/22 09:42:15 INFO ipc.Server: IPC Server handler 0 on 53336: starting
13/05/22 09:42:15 INFO ipc.Server: IPC Server handler 1 on 53336: starting
13/05/22 09:42:15 INFO ipc.Server: IPC Server handler 2 on 53336: starting
13/05/22 09:42:15 INFO ipc.Server: IPC Server handler 3 on 53336: starting
13/05/22 09:42:15 INFO mapred.TaskTracker: TaskTracker up at: 127.0.0.1/127.0.0.1:53336
13/05/22 09:42:15 INFO mapred.TaskTracker: Starting tracker tracker_xxxx.local:127.0.0.1/127.0.0.1:53336
13/05/22 09:42:16 INFO mapred.TaskTracker: Starting thread: Map-events fetcher for all reduce tasks on tracker_xxx.local:127.0.0.1/127.0.0.1:53336
13/05/22 09:42:16 INFO mapred.TaskTracker:  Using ResourceCalculatorPlugin : null
13/05/22 09:42:16 WARN util.ProcessTree: setsid is not available on this machine. So not using it.
13/05/22 09:42:16 INFO util.ProcessTree: setsid exited with exit code 0
13/05/22 09:42:16 INFO util.ProcfsBasedProcessTree: ProcfsBasedProcessTree currently is supported only on Linux.
13/05/22 09:42:16 INFO mapred.TaskTracker: ProcessTree implementation is missing on this system. TaskMemoryManager is disabled.
13/05/22 09:42:16 INFO mapred.IndexCache: IndexCache created with max memory = 10485760
13/05/22 09:42:16 INFO impl.MetricsSourceAdapter: MBean for source ShuffleServerMetrics registered.
13/05/22 09:42:16 INFO http.HttpServer: Port returned by webServer.getConnectors()[0].getLocalPort() before open() is -1. Opening the listener on 50060
13/05/22 09:42:16 INFO http.HttpServer: listener.getLocalPort() returned 50060 webServer.getConnectors()[0].getLocalPort() returned 50060
13/05/22 09:42:16 INFO http.HttpServer: Jetty bound to port 50060
13/05/22 09:42:16 INFO mortbay.log: jetty-6.1.26
13/05/22 09:42:16 INFO mortbay.log: Started [email protected]:50060
13/05/22 09:42:16 INFO mapred.TaskTracker: FILE_CACHE_SIZE for mapOutputServlet set to : 2000
13/05/22 09:42:16 INFO mapred.TaskTracker: Failed to get system directory...
13/05/22 09:42:21 INFO mapred.TaskTracker: Failed to get system directory...
13/05/22 09:42:24 INFO mapred.TaskTracker: Failed to get system directory...
13/05/22 09:42:26 INFO mapred.TaskTracker: Failed to get system directory...
13/05/22 09:42:30 INFO mapred.TaskTracker: Failed to get system directory...
13/05/22 09:42:32 INFO mapred.TaskTracker: Failed to get system directory...
13/05/22 09:42:33 INFO mapred.TaskTracker: Failed to get system directory...
13/05/22 09:42:35 INFO mapred.TaskTracker: Failed to get system directory...
13/05/22 09:42:36 INFO mapred.TaskTracker: Failed to get system directory...
13/05/22 09:42:40 INFO mapred.TaskTracker: Failed to get system directory...

`

could someone please help......

Copyright License:
Author:「Josh」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.
Link to:https://stackoverflow.com/questions/16694495/hadoop-cygwin-failure-in-bin-hadoop-tasktracker-command

About “Hadoop/cygwin failure in bin/hadoop tasktracker command” questions

i am following http://ebiquity.umbc.edu/Tutorials/Hadoop/00%20-%20Intro.html Start the namenode in the first window by executing cd hadoop-0.19.1 bin/hadoop namenode Start the secondary namenode ...
I have been following http://saphanatutorial.com/hadoop-installation-on-windows-7-using-cygwin/ tutorial for hadoop installation in windows7 Everything went fine, however I am facing issues while
I have setup hadoop 1.1.1 on cygwin under windows 7. The dfs components are starting fine (start-dfs.sh or start-all.sh both) so is jobtracker (start mapred.sh) but the tasktracker fails to start and
I am trying to use hadoop under windows and I am running into a problem when I want to start tasktracker. For example: $bin/start-all.sh then the logs writes: 2011-06-08 16:32:18,157 ERROR org.a...
I have set up a pseudo-distributed Hadoop cluster (with jobtracker, a tasktracker, and namenode all on the same box) per tutorial instructions and it's working fine. I am now trying to add in a sec...
I am running Hadoop 1.0.1 on Ubuntu 11.10. ./bin/start-all.sh command does not prompt any errors but the TaskTracker fails to start with the following error in the tasktracker.log file: ERRO...
I am new to hadoop. I have local dir and system dir mentioned in the mapred config. The error log is saying cannot create the directory so the start up failed. root@SYS-01:/etc/hadoop/conf.
I am trying to collect various metrics for active tasttrackers but it throws an exception Not sure why? for(String s: jc.getClusterStatus(true).getActiveTrackerNames()){ System.out.prin...
i have just started to work on hadoop, cygwin in windows 7. i need to know , that is there any method to start all the services using command like- start-all.sh in linux. i used this command in cyg...
I am installing hadoop on cygwin. I have a windows 7 64-bit machine and i've been following the instrux here: http://alans.se/blog/2010/hadoop-hbase-cygwin-windows-7-x64/#software. I have passwordl...

Copyright License:Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.