Hadoop 未生成映射减少输出

Hadoop 未生成映射减少输出,hadoop,mapreduce,Hadoop,Mapreduce,我正在尝试运行map reduce作业,但无法查看输出,即使此处未创建“outp”文件夹。下面是控制台o/p **alok@alok-Aspire-5920:~/Documents$ hadoop jar /usr/local/hadoop_test_file/votecount.jar VoteCountApplication /input/booth1.txt /outp** 14/09/06 09:30:41 WARN util.NativeCodeLoader: Unable to

我正在尝试运行map reduce作业,但无法查看输出,即使此处未创建“outp”文件夹。下面是控制台o/p

**alok@alok-Aspire-5920:~/Documents$ hadoop jar  /usr/local/hadoop_test_file/votecount.jar VoteCountApplication /input/booth1.txt /outp**

14/09/06 09:30:41 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
14/09/06 09:30:41 INFO Configuration.deprecation: session.id is deprecated. Instead, use dfs.metrics.session-id
14/09/06 09:30:41 INFO jvm.JvmMetrics: Initializing JVM Metrics with processName=JobTracker, sessionId=
14/09/06 09:30:42 WARN mapreduce.JobSubmitter: Hadoop command-line option parsing not performed. Implement the Tool interface and execute your application with ToolRunner to remedy this.
14/09/06 09:30:42 INFO input.FileInputFormat: Total input paths to process : 1
14/09/06 09:30:42 INFO mapreduce.JobSubmitter: number of splits:1
14/09/06 09:30:42 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_local336021261_0001
14/09/06 09:30:42 WARN conf.Configuration: file:/tmp/hadoop-alok/mapred/staging/alok336021261/.staging/job_local336021261_0001/job.xml:an attempt to override final parameter: mapreduce.job.end-notification.max.retry.interval;  Ignoring.
14/09/06 09:30:42 WARN conf.Configuration: file:/tmp/hadoop-alok/mapred/staging/alok336021261/.staging/job_local336021261_0001/job.xml:an attempt to override final parameter: mapreduce.job.end-notification.max.attempts;  Ignoring.
14/09/06 09:30:43 WARN conf.Configuration: file:/tmp/hadoop-alok/mapred/local/localRunner/alok/job_local336021261_0001/job_local336021261_0001.xml:an attempt to override final parameter: mapreduce.job.end-notification.max.retry.interval;  Ignoring.
14/09/06 09:30:43 WARN conf.Configuration: file:/tmp/hadoop-alok/mapred/local/localRunner/alok/job_local336021261_0001/job_local336021261_0001.xml:an attempt to override final parameter: mapreduce.job.end-notification.max.attempts;  Ignoring.
14/09/06 09:30:43 INFO mapreduce.Job: The url to track the job: localhost:8080/
14/09/06 09:30:43 INFO mapred.LocalJobRunner: OutputCommitter set in config null
14/09/06 09:30:43 INFO mapred.LocalJobRunner: OutputCommitter is org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter

在包中指定VoteCountApplication,尝试以下操作

$ hadoop jar /usr/local/hadoop_test_file/votecount.jar com.test.VoteCountApplication /input/booth1.txt /outpath
:(仍获得相同的输出。请参阅此选项可解决您的问题找到解决方案,网址为: