You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Prakash Ramachandran (JIRA)" <ji...@apache.org> on 2015/07/16 00:25:04 UTC

[jira] [Commented] (TEZ-2600) When used with HDFS federation(viewfs) ,tez will throw a error

    [ https://issues.apache.org/jira/browse/TEZ-2600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14628865#comment-14628865 ] 

Prakash Ramachandran commented on TEZ-2600:
-------------------------------------------

committed to master, 0.7, 0.6 and 0.5 branches. Thanks  Xiaowei Wang

> When used with HDFS federation(viewfs) ,tez will throw a error
> --------------------------------------------------------------
>
>                 Key: TEZ-2600
>                 URL: https://issues.apache.org/jira/browse/TEZ-2600
>             Project: Apache Tez
>          Issue Type: Bug
>    Affects Versions: 0.6.0, 0.5.3, 0.7.0, 0.6.1
>         Environment: cdh5.3.2 federation+ha
> tez-0.6.0
>            Reporter: Xiaowei Wang
>            Assignee: Xiaowei Wang
>         Attachments: TEZ-2600.0.patch.txt, TEZ-2600.1.patch.txt, TEZ-2600.2.patch.txt, TEZ-2600.3.patch.txt
>
>
> When I execute the exapmle of tez,orderedwordcount ,Tez throw a error
> {code}
> java.lang.IllegalArgumentException: Wrong FS: hdfs://SunshineNameNode2/user/wang/tez-0.6.0.tar.gz, expected: viewfs://nsX/
>         at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:645)
>         at org.apache.hadoop.fs.viewfs.ViewFileSystem.getUriPath(ViewFileSystem.java:117)
>         at org.apache.hadoop.fs.viewfs.ViewFileSystem.getFileStatus(ViewFileSystem.java:346)
>         at org.apache.hadoop.fs.FileSystem.isDirectory(FileSystem.java:1413)
>         at org.apache.tez.client.TezClientUtils.getLRFileStatus(TezClientUtils.java:130)
>         at org.apache.tez.client.TezClientUtils.setupTezJarsLocalResources(TezClientUtils.java:179)
>         at org.apache.tez.client.TezClient.getTezJarResources(TezClient.java:757)
>         at org.apache.tez.client.TezClient.submitDAGApplication(TezClient.java:725)
>         at org.apache.tez.client.TezClient.submitDAGApplication(TezClient.java:703)
>         at org.apache.tez.client.TezClient.submitDAG(TezClient.java:383)
>         at org.apache.tez.examples.OrderedWordCount.run(OrderedWordCount.java:208)
>         at org.apache.tez.examples.OrderedWordCount.run(OrderedWordCount.java:232)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>         at org.apache.tez.examples.OrderedWordCount.main(OrderedWordCount.java:240)
>         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:72)
>         at org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:145)
>         at org.apache.tez.examples.ExampleDriver.main(ExampleDriver.java:61)
>         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.main(RunJar.java:212)
> {code} 



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