hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinay Kumar Thota (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1889) [herriot] Ability to restart a single node for pushconfig
Date Mon, 28 Jun 2010 11:00:56 GMT

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

Vinay Kumar Thota commented on MAPREDUCE-1889:
----------------------------------------------

- Add the return type deatils in java doc section.
{noformat}
+  
+  /**
+   * getTTClient will give access to one of many TTClient present 
+   */
+  public TTClient getTTClient() {
{noformat}

- there's no need to assign {{null]] to a variable and then immediately assign a real object
to it.
{noformat}
+  private void writeConfToFile(String configFile, String localDirPath,
+      Configuration conf) throws IOException{      
+    File xmlFileObj = null;
+    String confXMLFile = null;
+    
+    localFolderObj = new File(localDirPath);
+    if (!localFolderObj.exists()) {
+      localFolderObj.mkdir();
+    }
+    confXMLFile = localDirPath + File.separator + configFile;
+    xmlFileObj = new File(confXMLFile);
{noformat}

-Incomplete java doc details. 
{noformat}
   /**
+   * Restart only one daemon as opposed to all the daemons
+   * @param client points to the daemon that will restarted. 
+   * @throws IOException
+   */
+  public void restart(AbstractDaemonClient client) throws IOException {
{noformat}
{noformat}
+  
+  /**
+   * Get a RemoteProcess given the hostname
+   */
+  RemoteProcess getDaemonProcess(String hostname);
 {noformat}

> [herriot] Ability to restart a single node for pushconfig
> ---------------------------------------------------------
>
>                 Key: MAPREDUCE-1889
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1889
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>          Components: test
>            Reporter: Balaji Rajagopalan
>            Assignee: Balaji Rajagopalan
>         Attachments: restartDaemon.txt
>
>
> Right now the pushconfig is supported only at a cluster level, this jira will introduce
the functionality to be supported at node level. 

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


Mime
View raw message