Home > other > Program on WordCount runs abnormally, please answer!
Program on WordCount runs abnormally, please answer!
Time:10-06
Problem description: Input two files: The first file contents: Hello World Bye World The second file contents: Hello Hadoop Goodbye Hadoop are ate Run WordCount program output content: is the above two lines! Hello Hadoop Goodbye Hadoop are ate Hello World Bye World -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- WordCount program should be no problem, should be running normally before, today suddenly runs abnormally, feel like Mapper, Reducer don't work, really don't know what happened!
Wanted to see if the hadoop process running normally, but after entering the installation directory for the hadoop bin folder, it should say the JPS command to find!
Console to print some information: 13/10/02 21:35:43 WARN util. NativeCodeLoader: Unable to load the native - hadoop library for your platform... Using the builtin - Java classes where applicable 13/10/02 21:35:43 WARN mapred. JobClient: No job jar file set. The User classes may not be found. See JobConf (Class) or JobConf# setJar (String). 13/10/02 21:35:43 INFO input. FileInputFormat: Total input paths to the process: 2 13/10/02 21:35:43 WARN snappy. LoadSnappy: after native library not the loaded 13/10/02 21:35:44 INFO mapred. JobClient: Running job: job_local255489033_0001 13/10/02 21:35:44 INFO mapred. LocalJobRunner: Waiting for the map tasks 13/10/02 21:35:44 INFO mapred. LocalJobRunner: Starting task: attempt_local255489033_0001_m_000000_0 13/10/02 21:35:44 INFO util. ProcessTree: setsid exited with exit code 0 13/10/02 21:35:44 INFO mapred. Task: Using ResourceCalculatorPlugin: org.. Apache hadoop. Util. 58 dad8b5 LinuxResourceCalculatorPlugin @ 13/10/02 21:35:44 INFO mapred. MapTask: Processing the split: HDFS://localhost: 9000/user/test/input/2. TXT: 0 + 36 13/10/02 21:35:44 INFO mapred. MapTask: IO. Sort. MB=100 13/10/02 21:35:45 INFO mapred. MapTask: data buffer=79691776/99614720 13/10/02 21:35:45 INFO mapred. MapTask: record buffer=262144/327680