Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-3276

Tez Example MRRSleep job fails when tez.staging-dir fs is not same as default FS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • None
    • None

    Description

      tez-site.xml
      <property>
            <name>tez.staging-dir</name>
            <value>hdfs://<NN_HOST>:8020/tmp/${user.name}/staging</value>
      </property>
      
      core-site.xml
      <property>
            <name>fs.defaultFS</name>
            <value>s3a://myCluster</value>
            <final>true</final>
      </property>
      

      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)

      Attachments

        1. TEZ-3276.0.patch
          3 kB
          Harish JP

        Activity

          People

            harishjp Harish JP
            ssreenivasan Sushmitha Sreenivasan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: