Return-Path: X-Original-To: apmail-tez-issues-archive@minotaur.apache.org Delivered-To: apmail-tez-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A9E0518EA1 for ; Sun, 5 Jul 2015 02:38:04 +0000 (UTC) Received: (qmail 45338 invoked by uid 500); 5 Jul 2015 02:38:04 -0000 Delivered-To: apmail-tez-issues-archive@tez.apache.org Received: (qmail 45275 invoked by uid 500); 5 Jul 2015 02:38:04 -0000 Mailing-List: contact issues-help@tez.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tez.apache.org Delivered-To: mailing list issues@tez.apache.org Received: (qmail 45266 invoked by uid 99); 5 Jul 2015 02:38:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Jul 2015 02:38:04 +0000 Date: Sun, 5 Jul 2015 02:38:04 +0000 (UTC) From: "xiaowei wang (JIRA)" To: issues@tez.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (TEZ-2600) When use HDFS federation(viewfs) ,tez will throw a error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TEZ-2600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] xiaowei wang updated TEZ-2600: ------------------------------ Attachment: TEZ-2600.0.patch.txt > When use 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.6.1 > Environment: cdh5.3.2 federation+ha > tez-0.6.9 > Reporter: xiaowei wang > Fix For: 0.6.0 > > Attachments: TEZ-2600.0.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)