Sushmitha Sreenivasan created TEZ-3276:
------------------------------------------

             Summary: Tez Example MRRSleep job fails when defaultFS is s3 and 
tez.staging-dir is in HDFS
                 Key: TEZ-3276
                 URL: https://issues.apache.org/jira/browse/TEZ-3276
             Project: Apache Tez
          Issue Type: Bug
            Reporter: Sushmitha Sreenivasan
            Assignee: Harish Jaiprakash


{code:title=tez-site.xml}
<property>
      <name>tez.staging-dir</name>
      <value>hdfs://<NN_HOST>:8020/tmp/${user.name}/staging</value>
</property>
{code}

{code:title=core-site.xml}
<property>
      <name>fs.defaultFS</name>
      <value>s3a://myCluster</value>
      <final>true</final>
</property>
{code}

hadoop jar /usr/hdp/current/tez-client/tez-tests-0.7.0.2.5.0.0-562.jar mrrsleep 
-m 1
WARNING: Use "yarn jar" to launch YARN applications.
java.lang.IllegalArgumentException: Wrong FS: 
hdfs://<NN_HOST>:8020/tmp/hrt_qa/staging/1464213994527, expected: 
s3a://myCluster
        at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:658)
        at org.apache.hadoop.fs.FileSystem.makeQualified(FileSystem.java:478)
        at 
org.apache.tez.mapreduce.examples.MRRSleepJob.run(MRRSleepJob.java:739)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
        at 
org.apache.tez.mapreduce.examples.MRRSleepJob.main(MRRSleepJob.java:399)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:71)
        at org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:144)
        at 
org.apache.tez.mapreduce.examples.ExampleDriver.main(ExampleDriver.java:87)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:136) 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to