[jira] Commented: (MAPREDUCE-1753) Implement a functionality for suspend and resume a task's process.

2010-05-19 Thread Konstantin Boudnik (JIRA)

[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12869363#action_12869363
 ] 

Konstantin Boudnik commented on MAPREDUCE-1753:
---

It isn't about my satisfaction. It's two bits return value which is done as 
boolean type. C language doesn't have it that's why they use integer instead.

Now, about suspend resume process: you are right, it is generic. Which 
technically allow to suspend a daemon VM's process and never be able to resume 
it. But It seems to be Ok, I guess. I was totally confused by the fact that 
this has been tracked by a MAPREDUCE JIRA :( I'm moving this ticket out to 
HADOOP.

 Implement a functionality for suspend and resume a task's process.
 --

 Key: MAPREDUCE-1753
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1753
 Project: Hadoop Map/Reduce
  Issue Type: Task
  Components: test
Reporter: Vinay Kumar Thota
Assignee: Vinay Kumar Thota
 Attachments: 1753-ydist-security.patch, 1753-ydist-security.patch, 
 1753-ydist-security.patch, daemonprotocolaspect.patch


 Adding  two methods in DaemonProtocolAspect.aj for suspend and resume the 
 process.
 public int DaemonProtocol.resumeProcess(String pid) throws IOException;
 public int DaemonProtocol.suspendProcess(String pid) throws IOException;

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



[jira] Commented: (MAPREDUCE-1753) Implement a functionality for suspend and resume a task's process.

2010-05-18 Thread Konstantin Boudnik (JIRA)

[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12868930#action_12868930
 ] 

Konstantin Boudnik commented on MAPREDUCE-1753:
---

bq. Actually I am not suspending the daemonprocess. I am just suspending the 
task attempt process id that is running on 
I have edited the name of the JIRA. Please update the JavaDocs accordingly. It 
should clear state that the suspend is done for a task's process.

 Implement a functionality for suspend and resume a task's process.
 --

 Key: MAPREDUCE-1753
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1753
 Project: Hadoop Map/Reduce
  Issue Type: Task
  Components: test
Reporter: Vinay Kumar Thota
Assignee: Vinay Kumar Thota
 Attachments: 1753-ydist-security.patch, 1753-ydist-security.patch, 
 daemonprotocolaspect.patch


 Adding  two methods in DaemonProtocolAspect.aj for suspend and resume the 
 process.
 public int DaemonProtocol.resumeProcess(String pid) throws IOException;
 public int DaemonProtocol.suspendProcess(String pid) throws IOException;

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



[jira] Commented: (MAPREDUCE-1753) Implement a functionality for suspend and resume a task's process.

2010-05-18 Thread Vinay Kumar Thota (JIRA)

[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12868982#action_12868982
 ] 

Vinay Kumar Thota commented on MAPREDUCE-1753:
--

This functionality implemented in a generic fashion. You can suspend or resume 
any process if you know the process id. It's not specific to only task 
processes. So that I have given the description in more generic way instead of 
mentioning task process. If you see, these two methods are implemented in 
DaemonProtocolAspect.aj file for utilizing the other purposes.Otherwise if it 
is task level, we can implement in TaskTrackerAspect.aj itself.

 Implement a functionality for suspend and resume a task's process.
 --

 Key: MAPREDUCE-1753
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1753
 Project: Hadoop Map/Reduce
  Issue Type: Task
  Components: test
Reporter: Vinay Kumar Thota
Assignee: Vinay Kumar Thota
 Attachments: 1753-ydist-security.patch, 1753-ydist-security.patch, 
 daemonprotocolaspect.patch


 Adding  two methods in DaemonProtocolAspect.aj for suspend and resume the 
 process.
 public int DaemonProtocol.resumeProcess(String pid) throws IOException;
 public int DaemonProtocol.suspendProcess(String pid) throws IOException;

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