Hi Tan, 50030 is the default port number that the job tracker's http server listens to. Check "mapred.job.tracker.http.address" the value of this property, because your hadoop cluster administrator may have changed it at installation.
To list all properties and their values, use this code snippet in the run() method: Configuration conf = getConf(); for (Entry<String, String> entry: conf) { System.out.printf("%s=%s\n", entry.getKey(), entry.getValue()); } 2011/8/11 谭军 <tanjun_2...@163.com> > Hi Harsh, > I cannot visit http://host:50030 > I don't know why. > The hadoop is installed by others. > -- > > Regards! > > Jun Tan > > > At 2011-08-11 19:40:16,"Harsh J" <ha...@cloudera.com> wrote: > >Tan, > > > >Can you check your userlogs via http://host:50030 for your job ID > >job_201108111412_0007 and see if any of the tasks carry helpful > >messages among its syslogs, stdout and stderr? > > > >TaskTracker logs are another place to check, if the above doesn't have > >anything. > > > >2011/8/11 谭军 <tanjun_2...@163.com>: > >> Hi, > >> I got the error information below. What's wrong? What I/O exception? > >> > >> root@cx1:/home/cx/software/Hadoop/hadoop-0.20.2# bin/hadoop jar > >> Retrieval.jar Retrieval protein/b.txt protein/a.txt protein/output > >> 11/08/11 18:31:24 WARN mapred.JobClient: Use GenericOptionsParser for > >> parsing the arguments. Applications should implement Tool for the same. > >> 11/08/11 18:31:24 INFO mapred.FileInputFormat: Total input paths to process > >> : 1 > >> 11/08/11 18:31:25 INFO mapred.JobClient: Running job: job_201108111412_0007 > >> 11/08/11 18:31:26 INFO mapred.JobClient: map 0% reduce 0% > >> 11/08/11 18:31:36 INFO mapred.JobClient: Task Id : > >> attempt_201108111412_0007_m_000000_0, Status : FAILED > >> Error: null > >> 11/08/11 18:31:38 INFO mapred.JobClient: Task Id : > >> attempt_201108111412_0007_m_000001_0, Status : FAILED > >> Error: null > >> 11/08/11 18:31:43 INFO mapred.JobClient: Task Id : > >> attempt_201108111412_0007_m_000000_ 1, Status : FAILED > >> Error: null > >> 11/08/11 18:31:45 INFO mapred.JobClient: Task Id : > >> attempt_201108111412_0007_m_000001_1, Status : FAILED > >> Error: null > >> 11/08/11 18:31:49 INFO mapred.JobClient: Task Id : > >> attempt_201108111412_0007_m_000000_2, Status : FAILED > >> Error: null > >> 11/08/11 18:31:51 INFO mapred.JobClient: Task Id : > >> attempt_201108111412_0007_m_000001_2, Status : FAILED > >> Error: null > >> 11/08/11 18:31:58 INFO mapred.JobClient: Job complete: > >> job_201108111412_0007 > >> 11/08/11 18:31:58 INFO mapred.JobClient: Counters: 3 > >> 11/08/11 18:31:58 INFO mapred.JobClient: Job Counters > >> 11/08/11 18:31:58 INFO mapred.JobClient: Launched map tasks=8 > >> 11/08/11 18:31:58 INFO mapred.JobClient: Data-local map tasks=8 > >> 11/08/11 18:31:58 INFO mapred.JobClient: Failed map tasks=1 > >> Exception in thread "main" java.io.IOException: Job failed! > >> at org.apache.hadoop.mapred.JobClient.run Job(JobClient.java:1252) > >> at Retrieval.main(Retrieval.java:41) > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> at > >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> at > >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >> at java.lang.reflect.Method.invoke(Method.java:597) > >> at org.apache.hadoop.util.RunJar.main(RunJar.java:156) > >> > >> -- > >> > >> Regards! > >> > >> Jun Tan > >> > >> > > > > > > > >-- > >Harsh J > > > > -- Best Regards, Mostafa Ead