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

Lefty Leverenz commented on HIVE-9351:
--------------------------------------

Should the new guidelines in hcatalog/src/test/e2e/templeton/README.txt be 
documented in the wiki?

{code}
+Running on Tez
+1. set up Tez as in http://tez.apache.org/install.html
+2. set hive.execution.engine=tez in hive-site.xml (actually is this needed?)
+3. add hive.execution.engine=tez to templeton.hive.properties in 
webhcat-site.xml
+4. add to mapred-env.sh/yarn-env.sh (as you defined these in step 1)
+export TEZ_VERSION=0.5.3
+export TEZ_JARS=/Users/ekoifman/dev/apache-tez-client-${TEZ_VERSION}
+export TEZ_CONF_DIR=${TEZ_JARS}/conf
+export 
HADOOP_CLASSPATH=${TEZ_CONF_DIR}:${TEZ_JARS}/*:${TEZ_JARS}/lib/*:${HADOOP_CLASSPATH}
+(w/o this you'll see something like "java.lang.NoClassDefFoundError: 
org/apache/tez/dag/api/SessionNotRunning")
{code}

> Running Hive Jobs with Tez cause templeton to never report percent complete
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-9351
>                 URL: https://issues.apache.org/jira/browse/HIVE-9351
>             Project: Hive
>          Issue Type: Bug
>          Components: WebHCat
>    Affects Versions: 0.14.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>             Fix For: 0.15.0
>
>         Attachments: HIVE-9351.patch
>
>
> Currently, when submitting Hive jobs through WebHCat and Hive is configured 
> to use Tez, the "percentComplete" field returned by WebHCat is empty.
> LaunchMapper in WebHCat parses stderr of the process that it launches to 
> extract map = 100%,  reduce = 100% for Map/Reduce case.  With Tez the content 
> of stderr looks like 
> {noformat}
>   Map 1: -/-  Reducer 2: 0/1  
>   Map 1: -/-  Reducer 2: 0(+1)/1      
>   Map 1: -/-  Reducer 2: 1/1
> {noformat}
> WebHCat should handle that as well.
> WebHCat will follow HIVE-8495 and report (completed tasks)/(total tasks) as a 
> percentage.



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

Reply via email to