[jira] [Commented] (YARN-513) Create common proxy client for communicating with RM

2013-06-12 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13681656#comment-13681656 ] Xuan Gong commented on YARN-513: +1 Looks good Create common proxy client

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-14 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.1.patch add applicationType as parameter to clientRMProtocol.getAllApplications().

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-15 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.2.patch ClientRMProtocol.getAllApplications should accept ApplicationType as a

[jira] [Commented] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-15 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13684092#comment-13684092 ] Xuan Gong commented on YARN-727: 1.Add a new field String applicationType into

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-15 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.3.patch ClientRMProtocol.getAllApplications should accept ApplicationType as a

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-15 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.4.patch ClientRMProtocol.getAllApplications should accept ApplicationType as a

[jira] [Commented] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-15 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13684251#comment-13684251 ] Xuan Gong commented on YARN-727: Add YarnConfiguration.All_APPLICATION_TYPE to list all

[jira] [Commented] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-15 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13684541#comment-13684541 ] Xuan Gong commented on YARN-727: Yes, that is the better way to do it. Thanks for the

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-15 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.5.patch ClientRMProtocol.getAllApplications should accept ApplicationType as a

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-16 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.6.patch 1. Add applicationType into GetAllApplicationsRequest request object 2. change

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-16 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.7.patch remove the description pCurrently, this is empty./p from

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-17 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.8.patch ClientRMProtocol.getAllApplications should accept ApplicationType as a

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-17 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.9.patch create patch based on latest trunk

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-17 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.10.patch ClientRMProtocol.getAllApplications should accept ApplicationType as a

[jira] [Commented] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-17 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13685873#comment-13685873 ] Xuan Gong commented on YARN-727: 1.change TestYarnCLI::testGetAllApplications() to test new

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-17 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.11.patch Add help_cmd to ApplicationCLI to output all commands. Type: yarn application

[jira] [Commented] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-17 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686120#comment-13686120 ] Xuan Gong commented on YARN-727: I thought If we type command like yarn application -list

[jira] [Commented] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-17 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686124#comment-13686124 ] Xuan Gong commented on YARN-727: bq.@Xuan, why should calling -help return an exit code of

[jira] [Commented] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-17 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686145#comment-13686145 ] Xuan Gong commented on YARN-727: bq.@Xuan, given that above, are you suggesting changing the

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-17 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.12.patch ClientRMProtocol.getAllApplications should accept ApplicationType as a

[jira] [Commented] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-17 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686160#comment-13686160 ] Xuan Gong commented on YARN-727: 1. calling -help will return 0 2. If the input which the

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-18 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.13.patch change listApplications api to take in a list of application types

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-19 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.14.patch 1. getApplications API accept a set of appTypes as a parameter 2. parse the

[jira] [Commented] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-19 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13688710#comment-13688710 ] Xuan Gong commented on YARN-727: bq.Does the webservice also handle multiple app types or

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-20 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.15.patch ClientRMProtocol.getAllApplications should accept ApplicationType as a

[jira] [Commented] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-20 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13689824#comment-13689824 ] Xuan Gong commented on YARN-727: bq.appType_opt.setArgs(Option.UNLIMITED_VALUES); Is there a

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-06-20 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.16.patch ClientRMProtocol.getAllApplications should accept ApplicationType as a

[jira] [Assigned] (YARN-808) ApplicationReport does not clearly tell that the attempt is running or not

2013-06-23 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong reassigned YARN-808: -- Assignee: Xuan Gong ApplicationReport does not clearly tell that the attempt is running or not

[jira] [Commented] (YARN-873) YARNClient.getApplicationReport(unknownAppId) returns a null report

2013-06-24 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13692601#comment-13692601 ] Xuan Gong commented on YARN-873: At commandLine, if we type yarn application -status

[jira] [Updated] (YARN-763) AMRMClientAsync should stop heartbeating after receiving shutdown from RM

2013-06-24 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-763: --- Attachment: YARN-763.1.patch AMRMClientAsync should stop heartbeating after receiving shutdown from RM

[jira] [Commented] (YARN-808) ApplicationReport does not clearly tell that the attempt is running or not

2013-06-24 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13692632#comment-13692632 ] Xuan Gong commented on YARN-808: How about we expose the current attempt Id with attempt

[jira] [Commented] (YARN-873) YARNClient.getApplicationReport(unknownAppId) returns a null report

2013-07-01 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13697513#comment-13697513 ] Xuan Gong commented on YARN-873: Throwing Exceptions may not be a good option. If we throw

[jira] [Updated] (YARN-763) AMRMClientAsync should stop heartbeating after receiving shutdown from RM

2013-07-02 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-763: --- Attachment: YARN-763.2.patch 1. remove the boolean stop 2. put heartbeat thread interrupt logic inside the

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-07-03 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.17.patch ClientRMProtocol.getAllApplications should accept ApplicationType as a

[jira] [Commented] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-07-03 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13699535#comment-13699535 ] Xuan Gong commented on YARN-727: 1.Change API from GetAllApplicationsRequest to

[jira] [Assigned] (YARN-107) ClientRMService.forceKillApplication() should handle the non-RUNNING applications properly

2013-07-06 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong reassigned YARN-107: -- Assignee: Xuan Gong (was: Devaraj K) ClientRMService.forceKillApplication() should handle the

[jira] [Commented] (YARN-107) ClientRMService.forceKillApplication() should handle the non-RUNNING applications properly

2013-07-06 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13701493#comment-13701493 ] Xuan Gong commented on YARN-107: Currently, if we try to kill an absent application by

[jira] [Assigned] (YARN-643) WHY appToken is removed both in BaseFinalTransition and AMUnregisteredTransition AND clientToken is removed in FinalTransition and not BaseFinalTransition

2013-07-07 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong reassigned YARN-643: -- Assignee: Xuan Gong (was: Jian He) WHY appToken is removed both in BaseFinalTransition and

[jira] [Commented] (YARN-643) WHY appToken is removed both in BaseFinalTransition and AMUnregisteredTransition AND clientToken is removed in FinalTransition and not BaseFinalTransition

2013-07-07 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13701683#comment-13701683 ] Xuan Gong commented on YARN-643: I did not see any issues if we did not remove

[jira] [Commented] (YARN-873) YARNClient.getApplicationReport(unknownAppId) returns a null report

2013-07-07 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13701687#comment-13701687 ] Xuan Gong commented on YARN-873: Instead of simplying throwing out the YarnException, how

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-07-08 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.18.patch ClientRMProtocol.getAllApplications should accept ApplicationType as a

[jira] [Commented] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-07-08 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13702511#comment-13702511 ] Xuan Gong commented on YARN-727: Thanks for the comments. Created a new patch to address the

[jira] [Commented] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-07-08 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13702514#comment-13702514 ] Xuan Gong commented on YARN-727: Related MR changes are in

[jira] [Commented] (YARN-763) AMRMClientAsync should stop heartbeating after receiving shutdown from RM

2013-07-08 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13702693#comment-13702693 ] Xuan Gong commented on YARN-763: bq.On a different note, serviceStop() should not call

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-07-08 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.19.patch ClientRMProtocol.getAllApplications should accept ApplicationType as a

[jira] [Commented] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-07-08 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13702719#comment-13702719 ] Xuan Gong commented on YARN-727: Recreate the patch based on the latest trunk, and address

[jira] [Updated] (YARN-763) AMRMClientAsync should stop heartbeating after receiving shutdown from RM

2013-07-08 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-763: --- Attachment: YARN-763.3.patch AMRMClientAsync should stop heartbeating after receiving shutdown from RM

[jira] [Updated] (YARN-763) AMRMClientAsync should stop heartbeating after receiving shutdown from RM

2013-07-08 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-763: --- Attachment: YARN-763.4.patch AMRMClientAsync should stop heartbeating after receiving shutdown from RM

[jira] [Updated] (YARN-763) AMRMClientAsync should stop heartbeating after receiving shutdown from RM

2013-07-08 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-763: --- Attachment: YARN-763.5.patch AMRMClientAsync should stop heartbeating after receiving shutdown from RM

[jira] [Commented] (YARN-763) AMRMClientAsync should stop heartbeating after receiving shutdown from RM

2013-07-08 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13702799#comment-13702799 ] Xuan Gong commented on YARN-763: fix the test case failure AMRMClientAsync

[jira] [Commented] (YARN-875) Application can hang if AMRMClientAsync callback thread has exception

2013-07-08 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13702933#comment-13702933 ] Xuan Gong commented on YARN-875: For the callback, we can catch Throwable, and call

[jira] [Commented] (YARN-873) YARNClient.getApplicationReport(unknownAppId) returns a null report

2013-07-08 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13702938#comment-13702938 ] Xuan Gong commented on YARN-873: [~bikassaha] any comments

[jira] [Commented] (YARN-643) WHY appToken is removed both in BaseFinalTransition and AMUnregisteredTransition AND clientToken is removed in FinalTransition and not BaseFinalTransition

2013-07-08 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13702940#comment-13702940 ] Xuan Gong commented on YARN-643: [~vinodkv] any comments ? WHY appToken is

[jira] [Commented] (YARN-763) AMRMClientAsync should stop heartbeating after receiving shutdown from RM

2013-07-09 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13703476#comment-13703476 ] Xuan Gong commented on YARN-763: Thanks for the comments, Jian. I miss that part. Add the

[jira] [Updated] (YARN-763) AMRMClientAsync should stop heartbeating after receiving shutdown from RM

2013-07-09 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-763: --- Attachment: YARN-763.6.patch AMRMClientAsync should stop heartbeating after receiving shutdown from RM

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-07-09 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.20.patch ClientRMProtocol.getAllApplications should accept ApplicationType as a

[jira] [Commented] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-07-09 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13703598#comment-13703598 ] Xuan Gong commented on YARN-727: bq.testHelpCommand is only testing whether a function is

[jira] [Commented] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-07-09 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13703723#comment-13703723 ] Xuan Gong commented on YARN-727: [~hitesh] bq.There is getApplications() and

[jira] [Commented] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-07-09 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13703739#comment-13703739 ] Xuan Gong commented on YARN-727: bq.addApplicationTypesToProto api seems to indicate add and

[jira] [Commented] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-07-09 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13703821#comment-13703821 ] Xuan Gong commented on YARN-727: Add test cases to test getApplications() and

[jira] [Updated] (YARN-727) ClientRMProtocol.getAllApplications should accept ApplicationType as a parameter

2013-07-09 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-727: --- Attachment: YARN-727.21.patch ClientRMProtocol.getAllApplications should accept ApplicationType as a

[jira] [Updated] (YARN-865) RM webservices can't query on application Types

2013-07-10 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-865: --- Attachment: YARN-865.1.patch Recreate the patch based on the latest trunk RM webservices

[jira] [Updated] (YARN-763) AMRMClientAsync should stop heartbeating after receiving shutdown from RM

2013-07-10 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-763: --- Attachment: YARN-763.7.patch AMRMClientAsync should stop heartbeating after receiving shutdown from RM

[jira] [Commented] (YARN-763) AMRMClientAsync should stop heartbeating after receiving shutdown from RM

2013-07-10 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13705290#comment-13705290 ] Xuan Gong commented on YARN-763: Add new patch to address all the comments

[jira] [Updated] (YARN-865) RM webservices can't query on application Types

2013-07-10 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-865: --- Attachment: YARN-865.2.patch RM webservices can't query on application Types

[jira] [Commented] (YARN-873) YARNClient.getApplicationReport(unknownAppId) returns a null report

2013-07-10 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13705345#comment-13705345 ] Xuan Gong commented on YARN-873: YARNClient.getApplicationReport(unknownAppId) and

[jira] [Commented] (YARN-865) RM webservices can't query on application Types

2013-07-10 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13705349#comment-13705349 ] Xuan Gong commented on YARN-865: 1.add the test case for empty type string 2.add

[jira] [Updated] (YARN-654) AMRMClient: Perform sanity checks for parameters of public methods

2013-07-10 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-654: --- Attachment: YARN-654.1.patch Do the sanity checks(null and negative) for public methods in AMRMClient api. No

[jira] [Commented] (YARN-763) AMRMClientAsync should stop heartbeating after receiving shutdown from RM

2013-07-11 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13705515#comment-13705515 ] Xuan Gong commented on YARN-763: Oh, You are right. If we want to let CallBackThread to call

[jira] [Updated] (YARN-865) RM webservices can't query on application Types

2013-07-11 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-865: --- Attachment: YARN-865.3.patch RM webservices can't query on application Types

[jira] [Commented] (YARN-865) RM webservices can't query on application Types

2013-07-11 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13705956#comment-13705956 ] Xuan Gong commented on YARN-865: Yes, those logic should move out of the loop.

[jira] [Updated] (YARN-763) AMRMClientAsync should stop heartbeating after receiving shutdown from RM

2013-07-11 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-763: --- Attachment: YARN-763.8.patch AMRMClientAsync should stop heartbeating after receiving shutdown from RM

[jira] [Commented] (YARN-865) RM webservices can't query on application Types

2013-07-12 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707128#comment-13707128 ] Xuan Gong commented on YARN-865: Both of them works. But they do have some drawbacks. 1.

[jira] [Updated] (YARN-865) RM webservices can't query based on application Types

2013-07-12 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-865: --- Attachment: YARN-865.4.patch RM webservices can't query based on application Types

[jira] [Commented] (YARN-865) RM webservices can't query based on application Types

2013-07-12 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707502#comment-13707502 ] Xuan Gong commented on YARN-865: In new patch, map QueryParam appTypes to a Set and for each

[jira] [Updated] (YARN-865) RM webservices can't query based on application Types

2013-07-14 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-865: --- Attachment: YARN-865.5.patch RM webservices can't query based on application Types

[jira] [Commented] (YARN-865) RM webservices can't query based on application Types

2013-07-14 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13708185#comment-13708185 ] Xuan Gong commented on YARN-865: Created a new patch to address the latest comment

[jira] [Commented] (YARN-654) AMRMClient: Perform sanity checks for parameters of public methods

2013-07-14 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13708195#comment-13708195 ] Xuan Gong commented on YARN-654: bq.Is the test failure related? I do not think so. All

[jira] [Updated] (YARN-654) AMRMClient: Perform sanity checks for parameters of public methods

2013-07-14 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-654: --- Attachment: YARN-654.2.patch AMRMClient: Perform sanity checks for parameters of public methods

[jira] [Commented] (YARN-654) AMRMClient: Perform sanity checks for parameters of public methods

2013-07-14 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13708196#comment-13708196 ] Xuan Gong commented on YARN-654: use Google preconditions and throw standard

[jira] [Updated] (YARN-875) Application can hang if AMRMClientAsync callback thread has exception

2013-07-15 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-875: --- Attachment: YARN-875.1.patch Application can hang if AMRMClientAsync callback thread has exception

[jira] [Commented] (YARN-875) Application can hang if AMRMClientAsync callback thread has exception

2013-07-15 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13709461#comment-13709461 ] Xuan Gong commented on YARN-875: fix -1 on javadoc Application can hang if

[jira] [Updated] (YARN-875) Application can hang if AMRMClientAsync callback thread has exception

2013-07-15 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-875: --- Attachment: YARN-875.2.patch Application can hang if AMRMClientAsync callback thread has exception

[jira] [Updated] (YARN-865) RM webservices can't query based on application Types

2013-07-16 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-865: --- Attachment: YARN-865.6.patch Add more test cases RM webservices can't query based on

[jira] [Commented] (YARN-76) killApplication doesn't fully kill application master

2013-07-16 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13710753#comment-13710753 ] Xuan Gong commented on YARN-76: --- Do the simple test on Mac environment. Create a java class

[jira] [Commented] (YARN-76) killApplication doesn't fully kill application master on Mac OS

2013-07-17 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13710816#comment-13710816 ] Xuan Gong commented on YARN-76: --- {code} public static String[] getSignalKillCommand(int

[jira] [Updated] (YARN-873) YARNClient.getApplicationReport(unknownAppId) returns a null report

2013-07-17 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-873: --- Attachment: YARN-873.1.patch YARNClient.getApplicationReport(unknownAppId) returns a null report

[jira] [Commented] (YARN-873) YARNClient.getApplicationReport(unknownAppId) returns a null report

2013-07-17 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13711949#comment-13711949 ] Xuan Gong commented on YARN-873: create the new Exception class called

[jira] [Updated] (YARN-873) YARNClient.getApplicationReport(unknownAppId) returns a null report

2013-07-17 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-873: --- Attachment: YARN-873.2.patch fix the test failure

[jira] [Commented] (YARN-873) YARNClient.getApplicationReport(unknownAppId) returns a null report

2013-07-18 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13712968#comment-13712968 ] Xuan Gong commented on YARN-873: bq.Having a return statement in a catch/finally block is

[jira] [Commented] (YARN-873) YARNClient.getApplicationReport(unknownAppId) returns a null report

2013-07-18 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13712985#comment-13712985 ] Xuan Gong commented on YARN-873: bq.Requiring to parse a string message to determine whether

[jira] [Commented] (YARN-873) YARNClient.getApplicationReport(unknownAppId) returns a null report

2013-07-19 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13714212#comment-13714212 ] Xuan Gong commented on YARN-873: Currently, exist code = 0: everything is correct. exist

[jira] [Updated] (YARN-873) YARNClient.getApplicationReport(unknownAppId) returns a null report

2013-07-21 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-873: --- Attachment: YARN-873.4.patch YARNClient.getApplicationReport(unknownAppId) returns a null report

[jira] [Commented] (YARN-873) YARNClient.getApplicationReport(unknownAppId) returns a null report

2013-07-21 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13714902#comment-13714902 ] Xuan Gong commented on YARN-873: That works.

[jira] [Assigned] (YARN-609) Fix synchronization issues in APIs which take in lists

2013-07-22 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong reassigned YARN-609: -- Assignee: Xuan Gong (was: Vinod Kumar Vavilapalli) Fix synchronization issues in APIs which take

[jira] [Updated] (YARN-609) Fix synchronization issues in APIs which take in lists

2013-07-22 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-609: --- Attachment: YARN-609.1.patch Fix synchronization issues in APIs which take in lists

[jira] [Commented] (YARN-770) NPE NodeStatusUpdaterImpl

2013-07-22 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13715895#comment-13715895 ] Xuan Gong commented on YARN-770: [~ste...@apache.org] Could you provide me more information

[jira] [Commented] (YARN-770) NPE NodeStatusUpdaterImpl

2013-07-22 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13715904#comment-13715904 ] Xuan Gong commented on YARN-770: Sorry for the previous comment. This one is much clearer.

[jira] [Updated] (YARN-875) Application can hang if AMRMClientAsync callback thread has exception

2013-07-24 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuan Gong updated YARN-875: --- Attachment: YARN-875.4.patch Application can hang if AMRMClientAsync callback thread has exception

[jira] [Commented] (YARN-873) YARNClient.getApplicationReport(unknownAppId) returns a null report

2013-07-24 Thread Xuan Gong (JIRA)
[ https://issues.apache.org/jira/browse/YARN-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13718831#comment-13718831 ] Xuan Gong commented on YARN-873: bq.Per Vinod's comment above we should make sure other

  1   2   3   4   5   6   7   8   9   10   >