0
我安裝了hadoop-3.0.0-alpha2,我試圖執行Mapreduce wordcount示例。 我創建了mapper.R和reducer.R腳本,但是當我嘗試執行作業R中的Hadoop wordcount示例
hadoop jar /home/rania/Downloads/hadoop-streaming-0.20.204.0.jar \
-file /home/rania/Downloads/mapper.R -mapper /home/rania/Downloads/mapper.R \
-file /home/rania/Downloads/reducer.R -reducer /home/rania/Downloads/reducer.R \
-input /readme -output /RCount
我得到以下
2017-06-04 08:12:42,252 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
2017-06-04 08:12:43,119 INFO Configuration.deprecation: mapred.job.tracker is deprecated. Instead, use mapreduce.jobtracker.address
packageJobJar: [/home/rania/Downloads/mapper.R, /home/rania/Downloads/reducer.R] [] /tmp/streamjob5589642909909116910.jar tmpDir=null
2017-06-04 08:12:43,303 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
2017-06-04 08:12:43,603 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
2017-06-04 08:12:43,734 ERROR streaming.StreamJob: Error launching job , Output path already exists : Output directory hdfs://localhost:9000/RCount already exists
Streaming Job Failed!
出了什麼問題? 謝謝!