[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878914#action_12878914
 ] 

Balaji Rajagopalan commented on MAPREDUCE-1854:
-----------------------------------------------

What about getting rid of the script wrappers for ssh functionality and sleep? 
   I will come with script wrapper for copying and deleting the script files in 
remote nodes, but you do see the need to have sleep and echo ERROR message in a 
script, this is because tasktracker code picks up a health script and runs it 
in regular interval which is configurable. So to induce the error I change the 
health script location, and copy the error inducing health script, and put back 
everything to normal state at the end of the test. So I don't think I can do 
script wrapper for sleep, echo error. 

> [herriot] Automate health script system test
> --------------------------------------------
>
>                 Key: MAPREDUCE-1854
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1854
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>          Components: test
>         Environment: Herriot framework
>            Reporter: Balaji Rajagopalan
>            Assignee: Balaji Rajagopalan
>         Attachments: health_script_5.txt
>
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> 1. There are three scenarios, first is induce a error from health script, 
> verify that task tracker is blacklisted. 
> 2. Make the health script timeout and verify the task tracker is blacklisted. 
> 3. Make an error in the health script path and make sure the task tracker 
> stays healthy. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to