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

Hudson commented on AMBARI-21637:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #1771 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/1771/])
AMBARI-21637. Hive CLI does not work after upgrade (adoroszlai: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f7a51bf0a4656b1d7bce55ab5041dba7506b1379])
* (edit) 
ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/config-upgrade.xml
* (edit) 
ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/nonrolling-upgrade-to-hdp-2.6.xml
* (edit) 
ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/config-upgrade.xml
* (edit) 
ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/nonrolling-upgrade-to-hdp-2.6.xml


> Maintain default hive.execution.engine as MR for IOP upgrade
> ------------------------------------------------------------
>
>                 Key: AMBARI-21637
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21637
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-upgrade
>    Affects Versions: 2.5.2
>            Reporter: Aswathy Chellammal Sreekumar
>            Assignee: Doroszlai, Attila
>             Fix For: 2.5.2
>
>         Attachments: AMBARI-21637.patch
>
>
> During IOP upgrade to HDP hive.execution.engine is being set to tez which 
> prevents hive cli from coming with below error
> {noformat}
> Exception in thread "main" java.lang.RuntimeException: java.io.IOException: 
> Previous writer likely failed to write 
> hdfs://nat-r6-macs-webhcat-4.openstacklocal:8020/tmp/hive/hrt_qa/_tez_session_dir/af63f8a7-3333-4252-bf22-4fffddae4680/hbase-client.jar.
>  Failing because I am unlikely to write too.
>       at 
> org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:560)
>       at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:681)
>       at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:625)
>       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:233)
>       at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
> Caused by: java.io.IOException: Previous writer likely failed to write 
> hdfs://nat-r6-macs-webhcat-4.openstacklocal:8020/tmp/hive/hrt_qa/_tez_session_dir/af63f8a7-3333-4252-bf22-4fffddae4680/hbase-client.jar.
>  Failing because I am unlikely to write too.
>       at 
> org.apache.hadoop.hive.ql.exec.tez.DagUtils.localizeResource(DagUtils.java:1002)
>       at 
> org.apache.hadoop.hive.ql.exec.tez.DagUtils.addTempResources(DagUtils.java:882)
>       at 
> org.apache.hadoop.hive.ql.exec.tez.DagUtils.localizeTempFilesFromConf(DagUtils.java:809)
>       at 
> org.apache.hadoop.hive.ql.exec.tez.TezSessionState.refreshLocalResourcesFromConf(TezSessionState.java:258)
>       at 
> org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:157)
>       at 
> org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:116)
>       at 
> org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:557)
>       ... 8 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to