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

Eugene Koifman commented on HIVE-4808:
--------------------------------------

3 things to keep in mind when testing:
1. TempletonControllerJob is hardcoded to send ping every 1 second
2. Set mapred.task.timeout to 70+ seconds, i.e. larger than interval in #1
3. when running test case (in bug description) set -mt 90000 (to be larger than 
# 2)
                
> WebHCat job submission is killed by TaskTracker since it's not sending a 
> heartbeat properly
> -------------------------------------------------------------------------------------------
>
>                 Key: HIVE-4808
>                 URL: https://issues.apache.org/jira/browse/HIVE-4808
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog
>    Affects Versions: 0.11.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>             Fix For: 0.12.0
>
>         Attachments: HIVE-4808.patch
>
>
> (set mapred.task.timeout=70000)
> curl -i -d user.name=ekoifman \
> -d jar=/user/ekoifman/webhcate2e/hexamples.jar \
> -d class=sleep \
> -d arg="-mt" \
> -d arg="50000" \
> -d statusdir=/tmp \
> 'http://localhost:50111/templeton/v1/mapreduce/jar'
> The TempletonControllerJob gets retried 4 times (Thus there are 4 SleepJob 
> invocations) with message that it was killed due to inactivity.
> hexamples.jar = hadoop-examples-*.jar

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to