[
https://issues.apache.org/jira/browse/MAPREDUCE-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12866656#action_12866656
]
Vinay Kumar Thota commented on MAPREDUCE-1713:
----------------------------------------------
- don't use intExp.printStackTrace();. Consider passing the Throwable to
LOG.warn invocation instead.
Done.
- stop() and stop(String confLocation) are defined in ClusterProcessManagement
interface. So, I'm kinda confused by your explanation
Yes,you are correct.But what I said is the stop() and start() methods are also
available in AbstractDamenonCluster. Those methods
implcitly calling the clusterManager.start() and clusterManager.stop().
> Utilities for system tests specific.
> ------------------------------------
>
> Key: MAPREDUCE-1713
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1713
> Project: Hadoop Map/Reduce
> Issue Type: Task
> Components: test
> Reporter: Vinay Kumar Thota
> Assignee: Vinay Kumar Thota
> Attachments: 1713-ydist-security.patch, 1713-ydist-security.patch,
> 1713-ydist-security.patch, 1713-ydist-security.patch,
> systemtestutils_MR1713.patch, utilsforsystemtest_1713.patch
>
>
> 1. A method for restarting the daemon with new configuration.
> public static void restartCluster(Hashtable<String,Long> props, String
> confFile) throws Exception;
> 2. A method for resetting the daemon with default configuration.
> public void resetCluster() throws Exception;
> 3. A method for waiting until daemon to stop.
> public void waitForClusterToStop() throws Exception;
> 4. A method for waiting until daemon to start.
> public void waitForClusterToStart() throws Exception;
> 5. A method for checking the job whether it has started or not.
> public boolean isJobStarted(JobID id) throws IOException;
> 6. A method for checking the task whether it has started or not.
> public boolean isTaskStarted(TaskInfo taskInfo) throws IOException;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.