You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Harish Jaiprakash (JIRA)" <ji...@apache.org> on 2016/06/01 00:36:12 UTC

[jira] [Updated] (TEZ-3276) Tez Example MRRSleep job fails when defaultFS is s3 and tez.staging-dir is in HDFS

     [ https://issues.apache.org/jira/browse/TEZ-3276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harish Jaiprakash updated TEZ-3276:
-----------------------------------
    Attachment: TEZ-3276.0.patch

> 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
>         Attachments: TEZ-3276.0.patch
>
>
> {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)