Hi, 

 

Trying to run Hive on TEZ for the first time. Getting the error below

 

 

 

0: jdbc:hive2://rhes564:10010/default> set hive.execution.engine=tez;

No rows affected (0.001 seconds)

0: jdbc:hive2://rhes564:10010/default> use oraclehadoop;

No rows affected (0.018 seconds)

0: jdbc:hive2://rhes564:10010/default> select count(1) from sales;

INFO  : Tez session hasn't been created yet. Opening session

ERROR : Failed to execute tez graph.

java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal
character in scheme name at index 0:
"hdfs://rhes564:9000/apps/tez-0.7.1-SNAPSHOT/tez-0.7.1-SNAPSHOT.tar.gz%22

        at org.apache.hadoop.fs.Path.initialize(Path.java:206)

        at org.apache.hadoop.fs.Path.<init>(Path.java:172)

        at
org.apache.tez.client.TezClientUtils.checkAncestorPermissionsForAllUsers(Tez
ClientUtils.java:964)

        at
org.apache.tez.client.TezClientUtils.addLocalResources(TezClientUtils.java:2
28)

        at
org.apache.tez.client.TezClientUtils.setupTezJarsLocalResources(TezClientUti
ls.java:203)

        at
org.apache.tez.client.TezClient.getTezJarResources(TezClient.java:883)

        at org.apache.tez.client.TezClient.start(TezClient.java:365)

        at
org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java
:184)

        at
org.apache.hadoop.hive.ql.exec.tez.TezTask.updateSession(TezTask.java:239)

        at
org.apache.hadoop.hive.ql.exec.tez.TezTask.execute(TezTask.java:137)

        at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160)

        at
org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:88)

        at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1653)

        at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1412)

        at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1195)

        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1059)

        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1054)

        at
org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.jav
a:154)

        at
org.apache.hive.service.cli.operation.SQLOperation.access$100(SQLOperation.j
ava:71)

        at
org.apache.hive.service.cli.operation.SQLOperation$1$1.run(SQLOperation.java
:206)

        at java.security.AccessController.doPrivileged(Native Method)

        at javax.security.auth.Subject.doAs(Subject.java:415)

        at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.ja
va:1628)

        at
org.apache.hive.service.cli.operation.SQLOperation$1.run(SQLOperation.java:2
18)

        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

        at java.util.concurrent.FutureTask.run(FutureTask.java:166)

        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
45)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
15)

        at java.lang.Thread.run(Thread.java:724)

Caused by: java.net.URISyntaxException: Illegal character in scheme name at
index 0:
"hdfs://rhes564:9000/apps/tez-0.7.1-SNAPSHOT/tez-0.7.1-SNAPSHOT.tar.gz%22

        at java.net.URI$Parser.fail(URI.java:2829)

        at java.net.URI$Parser.checkChars(URI.java:3002)

        at java.net.URI$Parser.checkChar(URI.java:3012)

        at java.net.URI$Parser.parse(URI.java:3028)

        at java.net.URI.<init>(URI.java:753)

        at org.apache.hadoop.fs.Path.initialize(Path.java:203)

 

 

Anything wrong with my configuration for TEZ?

 

Dr Mich Talebzadeh

 

LinkedIn
<https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABU
rV8Pw>
https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUr
V8Pw

 

Sybase ASE 15 Gold Medal Award 2008

A Winning Strategy: Running the most Critical Financial Data on ASE 15

 
<http://login.sybase.com/files/Product_Overviews/ASE-Winning-Strategy-091908
.pdf>
http://login.sybase.com/files/Product_Overviews/ASE-Winning-Strategy-091908.
pdf

Author of the books "A Practitioner's Guide to Upgrading to Sybase ASE 15",
ISBN 978-0-9563693-0-7. 

co-author "Sybase Transact SQL Guidelines Best Practices", ISBN
978-0-9759693-0-4

Publications due shortly:

Complex Event Processing in Heterogeneous Environments, ISBN:
978-0-9563693-3-8

Oracle and Sybase, Concepts and Contrasts, ISBN: 978-0-9563693-1-4, volume
one out shortly

 

 <http://talebzadehmich.wordpress.com/> http://talebzadehmich.wordpress.com

 

NOTE: The information in this email is proprietary and confidential. This
message is for the designated recipient only, if you are not the intended
recipient, you should destroy it immediately. Any information in this
message shall not be understood as given or endorsed by Peridale Technology
Ltd, its subsidiaries or their employees, unless expressly so stated. It is
the responsibility of the recipient to ensure that this email is virus free,
therefore neither Peridale Ltd, its subsidiaries nor their employees accept
any responsibility.

 

Reply via email to