You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Hitesh Shah (JIRA)" <ji...@apache.org> on 2016/06/03 21:49:59 UTC

[jira] [Commented] (TEZ-3289) Tez Example MRRSleep job does not set Staging dir correctly on secure cluster

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

Hitesh Shah commented on TEZ-3289:
----------------------------------

I dont believe the second change is needed. Does something fail if the stagingDir path is not fully qualified? 

> Tez Example MRRSleep job does not set Staging dir correctly on secure cluster
> -----------------------------------------------------------------------------
>
>                 Key: TEZ-3289
>                 URL: https://issues.apache.org/jira/browse/TEZ-3289
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Sushmitha Sreenivasan
>            Assignee: Harish Jaiprakash
>         Attachments: TEZ-3289.0.patch
>
>
> {noformat}
> /usr/hdp/current/hadoop-client/bin/hadoop jar /usr/hdp/current/tez-client/tez-tests-<version>.jar mrrsleep -m 1 -r 1 -mt 1000 -rt 1
> java.io.IOException: java.net.URISyntaxException: Expected scheme name at index 0: :///tmp/hrt_qa/staging/1464974420900/dag_job.jar
> 	at org.apache.tez.client.TezClientUtils.setupDAGCredentials(TezClientUtils.java:393)
> 	at org.apache.tez.client.TezClientUtils.prepareAndCreateDAGPlan(TezClientUtils.java:692)
> 	at org.apache.tez.client.TezClientUtils.createApplicationSubmissionContext(TezClientUtils.java:608)
> 	at org.apache.tez.client.TezClient.submitDAGApplication(TezClient.java:861)
> 	at org.apache.tez.client.TezClient.submitDAGApplication(TezClient.java:838)
> 	at org.apache.tez.client.TezClient.submitDAG(TezClient.java:456)
> 	at org.apache.tez.mapreduce.examples.MRRSleepJob.run(MRRSleepJob.java:751)
> 	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:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)
> 	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:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)
> 	at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
> Caused by: java.net.URISyntaxException: Expected scheme name at index 0: :///tmp/hrt_qa/staging/1464974420900/dag_job.jar
> 	at java.net.URI$Parser.fail(URI.java:2848)
> 	at java.net.URI$Parser.failExpecting(URI.java:2854)
> 	at java.net.URI$Parser.parse(URI.java:3046)
> 	at java.net.URI.<init>(URI.java:746)
> 	at org.apache.hadoop.yarn.util.ConverterUtils.getPathFromYarnURL(ConverterUtils.java:81)
> 	at org.apache.tez.client.TezClientUtils.setupDAGCredentials(TezClientUtils.java:373)
> 	... 21 more
> {noformat}



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