[jira] [Updated] (YARN-2940) Fix new findbugs warnings in rest of the hadoop-yarn components

2014-12-23 Thread Li Lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Li Lu updated YARN-2940:

Attachment: YARN-2940-122314.patch

Thanks [~djp] for the review! I updated the patch according to you suggestions. 
After changing the field into transient I got another 
SE_TRANSIENT_FIELD_NOT_RESTORED warning. I fixed it by adding a customized 
readObject method. 

 Fix new findbugs warnings in rest of the hadoop-yarn components
 ---

 Key: YARN-2940
 URL: https://issues.apache.org/jira/browse/YARN-2940
 Project: Hadoop YARN
  Issue Type: Improvement
Reporter: Varun Saxena
Assignee: Li Lu
 Attachments: YARN-2940-121014-1.patch, YARN-2940-121014.patch, 
 YARN-2940-122314.patch, findbugs_report_yarn.zip


 Fix findbugs warnings in the following YARN components:
 hadoop-yarn-applications-distributedshell
 hadoop-yarn-applications-unmanaged-am-launcher
 hadoop-yarn-server-web-proxy
 hadoop-yarn-registry
 hadoop-yarn-server-common
 hadoop-yarn-client



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-2940) Fix new findbugs warnings in rest of the hadoop-yarn components

2014-12-16 Thread Li Lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Li Lu updated YARN-2940:

Attachment: findbugs_report_yarn.zip

I'm attaching the findbugs reports for the related components. 

 Fix new findbugs warnings in rest of the hadoop-yarn components
 ---

 Key: YARN-2940
 URL: https://issues.apache.org/jira/browse/YARN-2940
 Project: Hadoop YARN
  Issue Type: Improvement
Reporter: Varun Saxena
Assignee: Li Lu
 Attachments: YARN-2940-121014-1.patch, YARN-2940-121014.patch, 
 findbugs_report_yarn.zip


 Fix findbugs warnings in the following YARN components:
 hadoop-yarn-applications-distributedshell
 hadoop-yarn-applications-unmanaged-am-launcher
 hadoop-yarn-server-web-proxy
 hadoop-yarn-registry
 hadoop-yarn-server-common
 hadoop-yarn-client



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-2940) Fix new findbugs warnings in rest of the hadoop-yarn components

2014-12-10 Thread Li Lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Li Lu updated YARN-2940:

Attachment: YARN-2940-121014.patch

I this patch I fixed warnings from findbugs 3. Most of them are related to 
encoding and format strings, so fixes are relatively simple. There is one 
warning about non-serializable field. I think the current design is fine so I 
added this into findbugs-exclude.xml. Please feel free to correct me if I'm 
wrong. Thanks! 

 Fix new findbugs warnings in rest of the hadoop-yarn components
 ---

 Key: YARN-2940
 URL: https://issues.apache.org/jira/browse/YARN-2940
 Project: Hadoop YARN
  Issue Type: Improvement
Reporter: Varun Saxena
Assignee: Li Lu
 Attachments: YARN-2940-121014.patch


 Fix findbugs warnings in the following YARN components:
 hadoop-yarn-applications-distributedshell
 hadoop-yarn-applications-unmanaged-am-launcher
 hadoop-yarn-server-web-proxy
 hadoop-yarn-registry
 hadoop-yarn-server-common
 hadoop-yarn-client



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-2940) Fix new findbugs warnings in rest of the hadoop-yarn components

2014-12-10 Thread Li Lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Li Lu updated YARN-2940:

Attachment: (was: YARN-2940-121014.patch)

 Fix new findbugs warnings in rest of the hadoop-yarn components
 ---

 Key: YARN-2940
 URL: https://issues.apache.org/jira/browse/YARN-2940
 Project: Hadoop YARN
  Issue Type: Improvement
Reporter: Varun Saxena
Assignee: Li Lu
 Attachments: YARN-2940-121014.patch


 Fix findbugs warnings in the following YARN components:
 hadoop-yarn-applications-distributedshell
 hadoop-yarn-applications-unmanaged-am-launcher
 hadoop-yarn-server-web-proxy
 hadoop-yarn-registry
 hadoop-yarn-server-common
 hadoop-yarn-client



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-2940) Fix new findbugs warnings in rest of the hadoop-yarn components

2014-12-10 Thread Li Lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Li Lu updated YARN-2940:

Attachment: YARN-2940-121014.patch

Kick Jenkins

 Fix new findbugs warnings in rest of the hadoop-yarn components
 ---

 Key: YARN-2940
 URL: https://issues.apache.org/jira/browse/YARN-2940
 Project: Hadoop YARN
  Issue Type: Improvement
Reporter: Varun Saxena
Assignee: Li Lu
 Attachments: YARN-2940-121014.patch


 Fix findbugs warnings in the following YARN components:
 hadoop-yarn-applications-distributedshell
 hadoop-yarn-applications-unmanaged-am-launcher
 hadoop-yarn-server-web-proxy
 hadoop-yarn-registry
 hadoop-yarn-server-common
 hadoop-yarn-client



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-2940) Fix new findbugs warnings in rest of the hadoop-yarn components

2014-12-10 Thread Li Lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Li Lu updated YARN-2940:

Attachment: YARN-2940-121014-1.patch

Rebuild the patch to see if there's something wrong in the patch itself. 

 Fix new findbugs warnings in rest of the hadoop-yarn components
 ---

 Key: YARN-2940
 URL: https://issues.apache.org/jira/browse/YARN-2940
 Project: Hadoop YARN
  Issue Type: Improvement
Reporter: Varun Saxena
Assignee: Li Lu
 Attachments: YARN-2940-121014-1.patch, YARN-2940-121014.patch


 Fix findbugs warnings in the following YARN components:
 hadoop-yarn-applications-distributedshell
 hadoop-yarn-applications-unmanaged-am-launcher
 hadoop-yarn-server-web-proxy
 hadoop-yarn-registry
 hadoop-yarn-server-common
 hadoop-yarn-client



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)