Using the jars:
/usr/hdp/2.4.3.0-227/hadoop-mapreduce/hadoop-openstack-2.7.1.2.4.3.0-227.jar
/usr/hdp/2.4.3.0-227/hadoop-mapreduce/hadoop-streaming-2.7.1.2.4.3.0-227.jar
I cannot reproduce the bug.
But, if I compile the hadoop-openstack jar from the Sahara repository, then I can reproduce the bug.
Hello,
I retested with the Hortonworks distribution.
Using the jars: 2.4.3.0- 227/hadoop- mapreduce/ hadoop- openstack- 2.7.1.2. 4.3.0-227. jar 2.4.3.0- 227/hadoop- mapreduce/ hadoop- streaming- 2.7.1.2. 4.3.0-227. jar
/usr/hdp/
/usr/hdp/
I cannot reproduce the bug.
But, if I compile the hadoop-openstack jar from the Sahara repository, then I can reproduce the bug.
The code here works: /github. com/hortonworks /hadoop- release/ tree/HDP- 2.5.2.1- tag/hadoop- tools/hadoop- openstack
https:/
But the code here DO NOT work: /github. com/openstack/ sahara- extra/tree/ master/ hadoop- swiftfs
https:/
ubuntu@ ambari1: ~/hadoop- swift-tutorial$ sudo -u hdfs -i hadoop jar /usr/hdp/ 2.4.3.0- 227/hadoop- mapreduce/ hadoop- streaming- 2.7.1.2. 4.3.0-227. jar -input swift:/ /googlebooks- ngrams- gz-swift. switchengines/ eng/oglebooks- eng-all- 0gram-20120701- a.gz -output /switch/testnumber4 -mapper mapper-ngrams.py -reducer reducer-ngrams.py -file /home/ubuntu/ hadoop- swift-tutorial/ mapper- ngrams. py -file /home/ubuntu/ hadoop- swift-tutorial/ reducer- ngrams. py -numReduceTasks 1 StreamJob: -file option is deprecated, please use generic option -files instead. ubuntu/ hadoop- swift-tutorial/ mapper- ngrams. py, /home/ubuntu/ hadoop- swift-tutorial/ reducer- ngrams. py] [/usr/hdp/ 2.4.3.0- 227/hadoop- mapreduce/ hadoop- streaming- 2.7.1.2. 4.3.0-227. jar] /tmp/streamjob1 748730503238342 006.jar tmpDir=null ientImpl: Timeline service address: http:// ambari2: 8188/ws/ v1/timeline/ 10.0.192. 10:8050 ientImpl: Timeline service address: http:// ambari2: 8188/ws/ v1/timeline/ 10.0.192. 10:8050 StreamJob: Error Launching job : Output directory hdfs:// ambari1: 8020/switch/ testnumber4 already exists ambari1: ~/hadoop- swift-tutorial$ sudo -u hdfs -i hadoop jar /usr/hdp/ 2.4.3.0- 227/hadoop- mapreduce/ hadoop- streaming- 2.7.1.2. 4.3.0-227. jar -input swift:/ /googlebooks- ngrams- gz-swift. switchengines/ eng/googlebooks -eng-all- 0gram-20120701- a.gz -output /switch/testnumber5 -mapper mapper-ngrams.py -reducer reducer-ngrams.py -file /home/ubuntu/ hadoop- swift-tutorial/ mapper- ngrams. py -file /home/ubuntu/ hadoop- swift-tutorial/ reducer- ngrams. py -numReduceTasks 1 StreamJob: -file option is deprecated, please use generic option -files instead. ubuntu/ hadoop- swift-tutorial/ mapper- ngrams. py, /home/ubuntu/ hadoop- swift-tutorial/ reducer- ngrams. py] [/usr/hdp/ 2.4.3.0- 227/hadoop- mapreduce/ hadoop- streaming- 2.7.1.2. 4.3.0-227. jar] /tmp/streamjob3 486478259414753 576.jar tmpDir=null ientImpl: Timeline service address: http:// ambari2: 8188/ws/ v1/timeline/ 10.0.192. 10:8050 ientImpl: Timeline service address: http:// ambari2: 8188/ws/ v1/timeline/ 10.0.192. 10:8050 FileInputFormat : Total input paths to process : 1 JobSubmitter: Cleaning up the staging area /user/hdfs/ .staging/ job_14806969326 87_0010 StreamJob: Error launching job , bad input path : Not Found swift:/ /googlebooks- ngrams- gz-swift. switchengines/ eng/googlebooks -eng-all- 0gram-20120701- a.gz/1466054520 .469164168/ 15339202495/ 00000000
WARNING: Use "yarn jar" to launch YARN applications.
16/12/05 17:04:48 WARN streaming.
packageJobJar: [/home/
16/12/05 17:04:49 INFO impl.TimelineCl
16/12/05 17:04:49 INFO client.RMProxy: Connecting to ResourceManager at ambari2/
16/12/05 17:04:49 INFO impl.TimelineCl
16/12/05 17:04:49 INFO client.RMProxy: Connecting to ResourceManager at ambari2/
16/12/05 17:04:49 ERROR streaming.
Streaming Command Failed!
ubuntu@
WARNING: Use "yarn jar" to launch YARN applications.
16/12/05 17:05:33 WARN streaming.
packageJobJar: [/home/
16/12/05 17:05:34 INFO impl.TimelineCl
16/12/05 17:05:34 INFO client.RMProxy: Connecting to ResourceManager at ambari2/
16/12/05 17:05:35 INFO impl.TimelineCl
16/12/05 17:05:35 INFO client.RMProxy: Connecting to ResourceManager at ambari2/
16/12/05 17:05:38 INFO mapred.
16/12/05 17:05:40 INFO mapreduce.
16/12/05 17:05:40 ERROR streaming.
Streaming Command Failed!