[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-24 Thread Chris Nauroth (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14511653#comment-14511653
 ] 

Chris Nauroth commented on HADOOP-11746:


[~aw], I noticed a small discrepancy in CHANGES.txt between trunk and branch-2. 
 On trunk, HADOOP-11746 is listed in the Incompatible Changes section.  On 
branch-2, it's in New Features.  Would you mind committing a change to make 
them consistent?

I'd suggest New Features.  I mentioned in an earlier comment that I don't think 
the compatibility guidelines apply to CI automation that doesn't ship with the 
product.  If you feel strongly about marking it incompatible though, I'm still 
+1 to moving it to the Incompatible Changes section.  Thanks!

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-22 Thread Sean Busbey (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14507388#comment-14507388
 ] 

Sean Busbey commented on HADOOP-11746:
--

First is number of reported errors in that file pre-patch, second is the number 
after.

Getting useful pointers from checkstyle is difficult. It's relatively high on 
the list of improvements for HBase (we do this file-level count right now as 
well). When that happens we'll push it back over into Hadoop.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-22 Thread Naganarasimha G R (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14507384#comment-14507384
 ] 

Naganarasimha G R commented on HADOOP-11746:


Hi [~aw], 
Sorry for the naive query but some how dint understand the output of the check 
style. For instance in yarn-2740 output comes as 
{quote}
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/conf/YarnConfiguration.java
601 604
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/nodelabels/NodeLabelsStore.java
 32  33
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/nodelabels/FileSystemNodeLabelsStore.java
   75  77
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/nodelabels/CommonNodeLabelsManager.java
 240 241
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/AdminService.java
 146 151
{quote}
whats the significance of the 2 integers which follows the modified file name ?

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-22 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14507047#comment-14507047
 ] 

Hudson commented on HADOOP-11746:
-

FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #172 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/172/])
HADOOP-11746. rewrite test-patch.sh (aw) (aw: rev 
73ddb6b4f825be1d06fd1d2be86a4bea241e7aa0)
* dev-support/test-patch.d/whitespace.sh
* dev-support/shelldocs.py
* dev-support/test-patch.d/checkstyle.sh
* dev-support/test-patch.sh
* hadoop-common-project/hadoop-common/CHANGES.txt
* dev-support/test-patch.d/shellcheck.sh


 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-22 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14507092#comment-14507092
 ] 

Hudson commented on HADOOP-11746:
-

FAILURE: Integrated in Hadoop-Mapreduce-trunk #2121 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2121/])
HADOOP-11746. rewrite test-patch.sh (aw) (aw: rev 
73ddb6b4f825be1d06fd1d2be86a4bea241e7aa0)
* dev-support/shelldocs.py
* dev-support/test-patch.d/whitespace.sh
* dev-support/test-patch.sh
* hadoop-common-project/hadoop-common/CHANGES.txt
* dev-support/test-patch.d/checkstyle.sh
* dev-support/test-patch.d/shellcheck.sh


 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-22 Thread Naganarasimha G R (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14507413#comment-14507413
 ] 

Naganarasimha G R commented on HADOOP-11746:


thanks for the reply [~busbey], 
In that case would it be better to have header some thing like Name of the 
modified Java file | Number of Previous check style issues | Number of Current 
check style issues  ? and also if possible print the links of previous and 
current check style output. (either in the report or in the output file)

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-22 Thread Naganarasimha G R (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14507478#comment-14507478
 ] 

Naganarasimha G R commented on HADOOP-11746:


i have already raised one followup jira [HADOOP-11866] will add this point to 
it... :)

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-22 Thread Sean Busbey (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14507462#comment-14507462
 ] 

Sean Busbey commented on HADOOP-11746:
--

Those sounds like fine things for a follow-on improvement jira. :)

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-22 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14507530#comment-14507530
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

Linking HADOOP-11861, which I've stuffed a few fixes.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-22 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14507525#comment-14507525
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

I originally had links to the checkstyle reports.  Then realized they were 
*several megabytes* in size basically, too big to stuff into a web browser 
(at least, by random people clicking on it.. surprise!) plus I was worried 
about the load on the jenkins' hosts . :(

I tried a few different strategies to make checkstyle more usable, but it 
frankly isn't built for this type of thing.  I opted to steal the HBase code 
and punt on it.  On the flip side, it should be possible for someone to 
generate their *own* checkstyle report, dig up the file that broke, and fix it.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-22 Thread Wangda Tan (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14507573#comment-14507573
 ] 

Wangda Tan commented on HADOOP-11746:
-

Thanks [~aw] for this great work, adding checkstyle/whitespace check is 
helpful, but I think it's better to indicate it's a -0/+0 instead of -1. 
Different from other checks like findbugs/javac WARNINGs/test-not-include, 
they're best-to-have minor format suggestions. 

An example is: 
https://issues.apache.org/jira/browse/YARN-3413?focusedCommentId=14507511page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14507511.

Thoughts?

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-22 Thread Sean Busbey (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14507680#comment-14507680
 ] 

Sean Busbey commented on HADOOP-11746:
--

The QA bot doesn't get a binding vote, so I think clearly stating -1 for things 
that violate the community guidelines is preferable. Individual committers can 
always choose to ignore build bot feedback.

The whitespace / checkstyle improvements are being tracked on HADOOP-11866. 
please keep the discussion of them over there.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-22 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14507725#comment-14507725
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

bq. Thoughts?

I think ignoring whitespace problems when pointed out is lazy, given how 
relatively easy they are to fix. At this point, both git and test-patch are now 
warning about this issue.  If one is unmotivated to fix such a simple problem, 
what else is getting ignored? 

HowToContribute is actually pretty explicit about checkstyle errors.  Patches 
that violate it are supposed to be rejected.  We've been lax in the past. It's 
time to step up our vigilance and this is the first step.  We certainly need to 
improve the output here, but at least we're getting notified about them.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-22 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14507999#comment-14507999
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

Just a heads up, I've posted an addendum patch to HADOOP-11861 that fixes some 
semi-critical bugs based upon the past 24 hours of Jenkins usage.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-22 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14506564#comment-14506564
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

I posted this on -dev, but to copy the status update here:

* So far, HADOOP-11627 was filed which is luckily an extremely easy bug to fix.

* There have been a few runs which seems to indicate that *something* is 
destroying the artifact directory in the middle of runs…. which is very very 
odd and something I hadn’t seen in any of my testing.  In any case, I clearly 
need to add some safety code here to report back that something went awry and 
report back which node, console, etc this happened on. Someone more familiar 
with the Jenkins setup might be able to shed some light on why that might 
happen. All of these runs appear to be on H3, so might be related? Impacted 
issues with this have been:

- HDFS-8200 (https://builds.apache.org/job/PreCommit-HDFS-Build/10335/)
- HDFS-8147 (https://builds.apache.org/job/PreCommit-HDFS-Build/10338/)
- YARN-3301 (https://builds.apache.org/job/PreCommit-YARN-Build/7441/) 

* Some sort of good news! The new mvn site test does appear to be capable of 
catching issues!  YARN-3410 was committed just prior to the new test code and 
has markdown-to-html syntax issues.  HADOOP-11627 (for example) shows the 
results. :D

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-22 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14506885#comment-14506885
 ] 

Hudson commented on HADOOP-11746:
-

FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #162 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/162/])
HADOOP-11746. rewrite test-patch.sh (aw) (aw: rev 
73ddb6b4f825be1d06fd1d2be86a4bea241e7aa0)
* dev-support/test-patch.d/shellcheck.sh
* dev-support/test-patch.sh
* hadoop-common-project/hadoop-common/CHANGES.txt
* dev-support/shelldocs.py
* dev-support/test-patch.d/whitespace.sh
* dev-support/test-patch.d/checkstyle.sh


 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-22 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14506870#comment-14506870
 ] 

Hudson commented on HADOOP-11746:
-

FAILURE: Integrated in Hadoop-Hdfs-trunk #2103 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/2103/])
HADOOP-11746. rewrite test-patch.sh (aw) (aw: rev 
73ddb6b4f825be1d06fd1d2be86a4bea241e7aa0)
* dev-support/test-patch.d/whitespace.sh
* dev-support/test-patch.d/checkstyle.sh
* dev-support/shelldocs.py
* dev-support/test-patch.sh
* dev-support/test-patch.d/shellcheck.sh
* hadoop-common-project/hadoop-common/CHANGES.txt


 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-22 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14506905#comment-14506905
 ] 

Hudson commented on HADOOP-11746:
-

FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #171 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/171/])
HADOOP-11746. rewrite test-patch.sh (aw) (aw: rev 
73ddb6b4f825be1d06fd1d2be86a4bea241e7aa0)
* hadoop-common-project/hadoop-common/CHANGES.txt
* dev-support/test-patch.sh
* dev-support/test-patch.d/shellcheck.sh
* dev-support/shelldocs.py
* dev-support/test-patch.d/whitespace.sh
* dev-support/test-patch.d/checkstyle.sh


 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-22 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14506946#comment-14506946
 ] 

Hudson commented on HADOOP-11746:
-

SUCCESS: Integrated in Hadoop-Yarn-trunk #905 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/905/])
HADOOP-11746. rewrite test-patch.sh (aw) (aw: rev 
73ddb6b4f825be1d06fd1d2be86a4bea241e7aa0)
* dev-support/test-patch.sh
* dev-support/shelldocs.py
* hadoop-common-project/hadoop-common/CHANGES.txt
* dev-support/test-patch.d/whitespace.sh
* dev-support/test-patch.d/shellcheck.sh
* dev-support/test-patch.d/checkstyle.sh


 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-21 Thread Chris Nauroth (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14505598#comment-14505598
 ] 

Chris Nauroth commented on HADOOP-11746:


I checked the diff since my last review (-17), and everything looks good to me. 
 I agree with the decision to maintain the existing behavior of -1 when the 
existing trunk build is already broken, and I agree with changing those failure 
code paths to exit with a non-zero code.

+1 for patch -21.  Thanks for your work on this, Allen.  The new functionality 
is great.  Now hurry up and commit before you get more ideas!  :-)  Sean, thank 
you for helping with the code review.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-21 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14505755#comment-14505755
 ] 

Hudson commented on HADOOP-11746:
-

FAILURE: Integrated in Hadoop-trunk-Commit #7627 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/7627/])
HADOOP-11746. rewrite test-patch.sh (aw) (aw: rev 
73ddb6b4f825be1d06fd1d2be86a4bea241e7aa0)
* dev-support/test-patch.d/checkstyle.sh
* dev-support/shelldocs.py
* hadoop-common-project/hadoop-common/CHANGES.txt
* dev-support/test-patch.sh
* dev-support/test-patch.d/shellcheck.sh
* dev-support/test-patch.d/whitespace.sh


 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-21 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14505798#comment-14505798
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

FYI, HDFS-8200 @ 
https://builds.apache.org/job/PreCommit-HDFS-Build/10335/console appears to be 
the first jenkins run with the new test-patch.sh .

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-21 Thread Chris Nauroth (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14505710#comment-14505710
 ] 

Chris Nauroth commented on HADOOP-11746:


I didn't realize trunk test-patch.sh had diverged so much from branch-2.  Is 
this basically just copying the new code over to branch-2?  If so, then +1 for 
the branch-2 patch.  If not, then can you point out specific bits that would 
need review?  Thanks!

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-21 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14505810#comment-14505810
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

Nope, MAPREDUCE-6324 @ 
https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/5426/console was first 
by a few minutes.

Both have entered into mvn test phase.  Interesting to note that git clean 
removed quite a bit of gunk from the git repo on the HDFS test.  
Hmm..

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-21 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14505677#comment-14505677
 ] 

Hadoop QA commented on HADOOP-11746:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12726970/HADOOP-11746-21.patch
  against trunk revision 997408e.

{color:red}-1 @author{color}.  The patch appears to contain 13 @author tags 
which the Hadoop community has agreed to not allow in code contributions.

{color:green}+1 tests included{color}.  The patch appears to include 4 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6141//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6141//console

This message is automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-21 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14505718#comment-14505718
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

Yeah, I was surprised too!  I did indeed just copy the code over the top of it. 
 Hopefully it works. Haha.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch, 
 HADOOP-11746-21.branch-2.patch, HADOOP-11746-21.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-20 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14502467#comment-14502467
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

bq.  I found that surprising, as compared to say -0 since in those cases the 
QA bot can't judge the suitability of the patch.

This is actually how the old test-patch.sh works as well.  I tend to agree with 
the -1 because if the base universe is broken, it really can't judge how well 
the patch is going to work either.  The +1's are going to be false flags. 

bq. The rewrite is a great improvement. Any idea what else you want to cover 
before pushing?

Thanks! Not really.  Playing around with HADOOP-11843 (which upgraded 
shellcheck) and realizing I hadn't exercised the site tests yet popped up the 
problems fixed in -19.  At this point, I think all the subsystems have been 
thoroughly worked (at least by me) so any outstanding issues will likely be 
edge case bugs and/or issues with the Jenkins build environment.

[There are one or two more optimizations I could make in site tests, but since 
those run so quickly anyway, they aren't a big concern.]

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-20 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14502561#comment-14502561
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

bq. One thing I'm still confused by is why the original test-patch exit'd with 
0 during some failure situations. Is this a bug in the original or was there a 
reason? I kept that behavior but it still seems wrong...

I asked this question way above, but haven't gotten an answer.  This still 
feels wrong to me and suspect these should really be exiting with 1.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-20 Thread Sean Busbey (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14503068#comment-14503068
 ] 

Sean Busbey commented on HADOOP-11746:
--

probably an oversight? exiting with 0 in those conditions would prevent the 
jenkins job from registering as a failure, but I'm not sure why that would be 
desirable.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-20 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14503394#comment-14503394
 ] 

Hadoop QA commented on HADOOP-11746:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12726614/HADOOP-11746-20.patch
  against trunk revision f967fd2.

{color:red}-1 @author{color}.  The patch appears to contain 13 @author tags 
which the Hadoop community has agreed to not allow in code contributions.

{color:green}+1 tests included{color}.  The patch appears to include 4 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6129//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6129//console

This message is automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch, HADOOP-11746-20.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-19 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14502088#comment-14502088
 ] 

Hadoop QA commented on HADOOP-11746:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12726461/HADOOP-11746-19.patch
  against trunk revision 5459b24.

{color:red}-1 @author{color}.  The patch appears to contain 13 @author tags 
which the Hadoop community has agreed to not allow in code contributions.

{color:green}+1 tests included{color}.  The patch appears to include 4 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6123//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6123//console

This message is automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-19 Thread Sean Busbey (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14502290#comment-14502290
 ] 

Sean Busbey commented on HADOOP-11746:
--

This is a nit / stylistic issue, but I noticed that if compilation, javadoc, 
site, or checkstyle are broken before applying the patch, the jira comment is 
-1. I found that surprising, as compared to say -0 since in those cases the 
QA bot can't judge the suitability of the patch.

The rewrite is a great improvement. Any idea what else you want to cover before 
pushing?

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch, HADOOP-11746-19.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-17 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14499479#comment-14499479
 ] 

Hadoop QA commented on HADOOP-11746:


\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:red}-1{color} | patch |   0m 23s | The patch command could not apply 
the patch. |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12726104/HADOOP-11746-17.patch |
| Optional Tests | shellcheck |
| git revision | HADOOP-11746 / 4d7c867 |
| Console output | 
https://builds.apache.org/job/PreCommit-HADOOP-Build/fake//console |


This message was automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-17 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14499508#comment-14499508
 ] 

Hadoop QA commented on HADOOP-11746:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12726104/HADOOP-11746-17.patch
  against trunk revision 76e7264.

{color:red}-1 @author{color}.  The patch appears to contain 13 @author tags 
which the Hadoop community has agreed to not allow in code contributions.

{color:green}+1 tests included{color}.  The patch appears to include 4 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6115//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6115//console

This message is automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-17 Thread Sean Busbey (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14499925#comment-14499925
 ] 

Sean Busbey commented on HADOOP-11746:
--

The jenkins job should be restoring a clean workspace at job start, so we 
shouldn't need to worry about changing branches back after.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-17 Thread Sean Busbey (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14499986#comment-14499986
 ] 

Sean Busbey commented on HADOOP-11746:
--

+1 after non-nit issues below. Adding audience / stability comments is a really 
nice touch.

{code}
+## @description  Some crazy people like Eclipse.  Make sure Maven's eclipse 
generation
+## @description  works so they don't freak out.
{code}

Please leave out the ableist pejorative.

{code}
+function check_unittests
+{
+  verify_needed_test unit
+
+  if [[ $? == 0 ]]; then
+echo Existing unit tests do not test patched files. Skipping.
+return 0
+  fi

+  big_console_header Running unit tests
{code}

Nit: could we make this (and maybe the module choosing) optional so that if I 
know tests end up covering my changes indirectly I can set a flag to run 
through things? (Although maybe I missed how I could do this myself)

This will mostly be useful when I try to merge this set of changes with things 
over in HBase, since we run through all the unit tests on pre-patch.

{code}
+if [[ -d ${mypwd}/hadoop-hdfs-project/hadoop-hdfs/target/test/data/dfs 
]]; then
+  echo Changing permission on 
${mypwd}/hadoop-hdfs-project/hadoop-hdfs/target/test/data/dfs to avoid broken 
builds
+  chmod +x -R 
${mypwd}/hadoop-hdfs-project/hadoop-hdfs/target/test/data/dfs
+fi
{code}

Nit: so long as we're cleaning things up, could we replace this with a general 
solution? The root cause of the issue that introduced this change originally 
was that we need to ensure any directories that exist under a maven module 
target directory are executable. We know tests can break that one, but there's 
no reason some other module might break a different one later.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-17 Thread Chris Nauroth (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14500159#comment-14500159
 ] 

Chris Nauroth commented on HADOOP-11746:


+1 from me also after resolution of Sean's comments.  (Thanks, Sean!)

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-17 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14500686#comment-14500686
 ] 

Hadoop QA commented on HADOOP-11746:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12726255/HADOOP-11746-18.patch
  against trunk revision d573f09.

{color:red}-1 @author{color}.  The patch appears to contain 13 @author tags 
which the Hadoop community has agreed to not allow in code contributions.

{color:green}+1 tests included{color}.  The patch appears to include 4 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6118//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6118//console

This message is automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch, HADOOP-11746-17.patch, 
 HADOOP-11746-18.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-16 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14497782#comment-14497782
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

Oh, forgot:

bq. Are you planning to clean up smart-apply-patch.sh in scope of this jira, or 
will that happen elsewhere?

I was planning on ignoring smart-apply-patch for the time being.  [~raymie]'s 
patch in HADOOP-11781 fixed the dangerous problems.  Plus the HBase people are 
putting the pressure on for me to start work on HBASE-13231, especially since 
[~stack] is going around telling people publicly the new shell code will be a 
feature in 2.0... ;)

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-16 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14497820#comment-14497820
 ] 

Hadoop QA commented on HADOOP-11746:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12725807/HADOOP-11746-16.patch
  against trunk revision 1b89a3e.

{color:red}-1 @author{color}.  The patch appears to contain 13 @author tags 
which the Hadoop community has agreed to not allow in code contributions.

{color:green}+1 tests included{color}.  The patch appears to include 4 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6111//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6111//console

This message is automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-16 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14498673#comment-14498673
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

(Although, really, that's a problem with the branch detection unless we 
backport it to every single branch.  So we probably just need to commit this to 
a reason a reasonable number of branches (branch-1, branch-2, branch-2.7, 
trunk, ... ? ) and just be aware that someone can upload a patch that may throw 
things off.)

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-16 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14498660#comment-14498660
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

A few things:

a) It'd be great if HADOOP-11778 was committed as well.  This updates the 
checkstyle plugin so that it doesn't NPE on our code base in certain 
conditions, at least on trunk.  It doesn't *break* the plugin, but it does mean 
the results may not be 100% accurate.

b) We need to be aware that shellcheck isn't installed on the jenkins boxes 
yet.  This means the shellcheck tests won't execute until that's rectified. 
(That plugin shouldn't error, however, since the code does try to see if it is 
installed first.)

c) We'll likely need to commit to branch-2 anyway if we want the patch branch 
detection code to work.  I don't know how jenkins actually uses test-patch.sh, 
but this code does *not* switch the branch back to trunk after it runs on 
another branch.  This might very well be a bug, now that I think about it more.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch, HADOOP-11746-16.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-15 Thread Chris Nauroth (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14496745#comment-14496745
 ] 

Chris Nauroth commented on HADOOP-11746:


Thank you for the patch, Allen.  The new functionality looks great!  Here are a 
few comments.

checkstyle.sh
# {{checkstyle_postapply}}: Please correct the indentation on this line.
{code}
 cp -p ${BASEDIR}/target/checkstyle-result.xml 
${PATCH_DIR}/checkstyle-result-patch.xml
{code}
# Do you think it's worthwhile to move the Python code into its own .py file?

shellcheck.sh
# {{shellcheck_private_findbash}}: This looks for files in bin and sbin.  Do we 
also need libexec, which is currently used in hadoop-kms and hadoop-hdfs-httpfs?
# There are shellcheck warnings on lines 49 and 70.  I see shellcheck.sh caught 
them in the last run, so that's cool.  :-)

whitespace.sh
# From some quick testing of the grep, it's catching trailing spaces, but not 
trailing tabs.

test-patch.sh
# {{precheck_without_patch}} and {{check_site}}: The mvn site command that is 
echoed is slightly different from what is actually run.  The arguments are in a 
different order.  I wonder if it would be helpful to have a {{echo_and_exec}} 
helper function to call everywhere that we do this kind of thing.
# {{determine_needed_tests}}: I believe this would not identify tests for a 
patch that contained only changes in test resources (not Java test code).  
Examples of this include testConf.xml and editsStored and editsStored.xml.
# {{check_unittests}}: The echo of the mvn command on line 1736 does not 
include the redirection of output to test_logfile as the actual executed 
command does.
# {{output_to_console}}: Today I learned that your secret talent is ASCII 
elephant art.  :-)
# There are shellcheck warnings on lines 1158, 1573, 1732, 1751, and 1995.
# The old test-patch.sh output always included a hyperlink to the patch file 
that it ran.  Can we please add that?  I always found that helpful for knowing 
exactly which patch it was reporting on, in case multiple revisions got 
uploaded quickly.

Are you planning to clean up smart-apply-patch.sh in scope of this jira, or 
will that happen elsewhere?


 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-10 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14490265#comment-14490265
 ] 

Hadoop QA commented on HADOOP-11746:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12724628/HADOOP-11746-15.patch
  against trunk revision 7660da9.

{color:red}-1 @author{color}.  The patch appears to contain 13 @author tags 
which the Hadoop community has agreed to not allow in code contributions.

{color:green}+1 tests included{color}.  The patch appears to include 4 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6093//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6093//console

This message is automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch, HADOOP-11746-14.patch, 
 HADOOP-11746-15.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-09 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14487858#comment-14487858
 ] 

Hadoop QA commented on HADOOP-11746:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12724277/HADOOP-11746-13.patch
  against trunk revision 1885141.

{color:red}-1 @author{color}.  The patch appears to contain 13 @author tags 
which the Hadoop community has agreed to not allow in code contributions.

{color:green}+1 tests included{color}.  The patch appears to include 4 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6087//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6087//console

This message is automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch, HADOOP-11746-13.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-08 Thread Chris Nauroth (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14485609#comment-14485609
 ] 

Chris Nauroth commented on HADOOP-11746:


As per discussion on common-dev, we'd like to be able to exit early from 
test-patch runs against an attachment if the file name doesn't match *.patch.  
This would cut down on spam from Jenkins trying to run test-patch on other 
kinds of attachments, like screenshots and design docs.

Another potential improvement on top of that would be to skip runs if the patch 
file name contains a branch name, because we only do pre-commit for trunk 
currently.

Just as a reminder, naming conventions for patch files are documented here:

https://wiki.apache.org/hadoop/HowToContribute#Naming_your_patch


 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-08 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14485508#comment-14485508
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

[~gkesavan], how do we test this on a jenkins instance?

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-08 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14485621#comment-14485621
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

bq.  Another potential improvement on top of that would be to skip runs if the 
patch file name contains a branch name, because we only do pre-commit for trunk 
currently.

This code actually can do pre-commit runs for non-trunk based upon the patch 
name...

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-08 Thread Owen O'Malley (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14485894#comment-14485894
 ] 

Owen O'Malley commented on HADOOP-11746:


This looks like a nice improvement.

It would be great if we could name patch files like git.patch and have it 
apply to the git hash . That would let you upload patches for branches 
without worrying about conflicting changes.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-08 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14486661#comment-14486661
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

If I rename the patch file to be HADOOP-11746-12.git5449adc.patch, it provides 
this output in the JIRA message.  Note how it gives the 5449adc reference 
instead of trunk above.

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | reexec | 00m 00s | dev-support patch detected. |
| {color:blue}0{color} | pre-patch | 00m 00s | Pre-patch 5449adc compilation is 
healthy. |
| {color:red}-1{color} | @author | 00m 00s | The patch appears to contain 13 
@author tags which the Hadoop  community has agreed to not allow in code 
contributions. |
| {color:green}+1{color} | whitespace | 00m 00s | The patch has no   lines that 
end in whitespace. |
| {color:green}+1{color} | release audit | 00m 09s | The applied patch does not 
increase the total number of release audit warnings. |
| {color:green}+1{color} | shellcheck | 00m 02s | There were no new shellcheck 
issues. |
\\
\\
|| Subsystem || Report/Notes ||
| Optional Tests | shellcheck |
| git revision | 5449adc / 5449adc |
| Console output | /artifact/patchprocess/console |

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-08 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14486701#comment-14486701
 ] 

Allen Wittenauer commented on HADOOP-11746:
---


 Console summary for previous Java example:

{noformat}


-1 overall

| Vote |   Subsystem |  Runtime  | Comment
|   0  |  pre-patch  |  08m 44s  | Pre-patch trunk compilation is 
|  | |   | healthy.
|  +1  |@author  |  00m 00s  | The patch does not contain any 
|  | |   | @author tags.
|  -1  | tests included  |  00m 00s  | The patch doesn't appear to include 
|  | |   | any new or modified tests. Please
|  | |   | justify why no new tests are needed
|  | |   | for this patch. Also please list what
|  | |   | manual steps were performed to verify
|  | |   | this patch.
|  -1  | whitespace  |  00m 00s  | The patch has 1 lines that end in 
|  | |   | whitespace.
|  +1  |  javac  |  04m 09s  | There were no new javac warning 
|  | |   | messages.
|  +1  |javadoc  |  05m 41s  | There were no new javadoc warning 
|  | |   | messages.
|  +1  |  release audit  |  00m 11s  | The applied patch does not increase 
|  | |   | the total number of release audit
|  | |   | warnings.
|  +1  | checkstyle  |  03m 22s  | There were no new checkstyle issues. 
|  +1  |install  |  01m 00s  | mvn install still works. 
|  +1  |eclipse:eclipse  |  00m 22s  | The patch built with 
|  | |   | eclipse:eclipse.
|  -1  |   findbugs  |  00m 51s  | The patch appears to introduce 2 new 
|  | |   | Findbugs (version 3.0.1) warnings.
|  -1  | core tests  |  01m 20s  | Tests failed in 
|  | |   | 
hadoop-yarn-project/hadoop-yarn/hadoop
|  | |   | -yarn-common.


 Reason | Tests
  FindBugs  |  FindBugs 
|  Unread public/protected field:At 
Log4jWarningErrorMetricsAppender.java:[line 44] 
  FindBugs  |  FindBugs 
|  Unread public/protected field:At 
Log4jWarningErrorMetricsAppender.java:[line 45] 
 Failed unit tests  |  Failed unit tests 
|  hadoop.yarn.util.TestLog4jWarningErrorMetricsAppender 


|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12723637/MAPREDUCE-6301-002.patch
 |
| Optional Tests | javadoc javac unit checkstyle |
| git revision | f4b3fc5 / trunk |
| whitespace | /tmp/hadoop-test-patch/75950/whitespace.txt |
| Findbugs warnings | 
/tmp/hadoop-test-patch/75950/newPatchFindbugsWarningshadoop-yarn-common.html |
| hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common test log | 
/tmp/hadoop-test-patch/75950/testrun_hadoop-yarn-common.txt |
| Test Results | /testReport/ |
{noformat}

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-08 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14486687#comment-14486687
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

For comparison, I ran MAPREDUCE-6301 through it which has some known issues 
just so everyone can see what a Java failure looks like.  It downloaded the 
current patch (MR-6301-002) and gave this output:

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | pre-patch | 08m 44s | Pre-patch trunk compilation is 
healthy. |
| {color:green}+1{color} | @author | 00m 00s | The patch does not contain any 
@author tags. |
| {color:red}-1{color} | tests included | 00m 00s | The patch doesn't appear to 
include any new or modified tests.  Please justify why no new tests are needed 
for this patch. Also please list what manual steps were performed to verify 
this patch. |
| {color:red}-1{color} | whitespace | 00m 00s | The patch has 1  lines that end 
in whitespace. |
| {color:green}+1{color} | javac | 04m 09s | There were no new javac warning 
messages. |
| {color:green}+1{color} | javadoc | 05m 41s | There were no new javadoc 
warning messages. |
| {color:green}+1{color} | release audit | 00m 11s | The applied patch does not 
increase the total number of release audit warnings. |
| {color:green}+1{color} | checkstyle | 03m 22s | There were no new checkstyle 
issues. |
| {color:green}+1{color} | install | 01m 00s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse | 00m 22s | The patch built with 
eclipse:eclipse. |
| {color:red}-1{color} | findbugs | 00m 51s | The patch appears to introduce 2 
new Findbugs (version 3.0.1) warnings. |
| {color:red}-1{color} | core tests | 01m 20s | Tests failed in 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common. |
\\
\\
|| Reason || Tests ||
| FindBugs | FindBugs |
|   |  Unread public/protected field:At 
Log4jWarningErrorMetricsAppender.java:[line 44] |
| FindBugs | FindBugs |
|   |  Unread public/protected field:At 
Log4jWarningErrorMetricsAppender.java:[line 45] |
| Failed unit tests | Failed unit tests |
|   | hadoop.yarn.util.TestLog4jWarningErrorMetricsAppender |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12723637/MAPREDUCE-6301-002.patch
 |
| Optional Tests | javadoc javac unit checkstyle |
| git revision | f4b3fc5 / trunk |
| whitespace | /artifact/patchprocess/whitespace.txt |
| Findbugs warnings | 
/artifact/patchprocess/newPatchFindbugsWarningshadoop-yarn-common.html |
| hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common test log | 
/artifact/patchprocess/testrun_hadoop-yarn-common.txt |
| Test Results | /testReport/ |
| Console output | /artifact/patchprocess/console |


This message was automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-08 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14486690#comment-14486690
 ] 

Hadoop QA commented on HADOOP-11746:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12724125/HADOOP-11746-12.patch
  against trunk revision dc0282d.

{color:red}-1 @author{color}.  The patch appears to contain 13 @author tags 
which the Hadoop community has agreed to not allow in code contributions.

{color:green}+1 tests included{color}.  The patch appears to include 4 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6084//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6084//console

This message is automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch, 
 HADOOP-11746-12.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-07 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14482649#comment-14482649
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

The rat error is real, the rest are obviously bogus.  Will fix and post an 
update tomorrow.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-07 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14484337#comment-14484337
 ] 

Hadoop QA commented on HADOOP-11746:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12723763/HADOOP-11746-10.patch
  against trunk revision bd77a7c.

{color:red}-1 @author{color}.  The patch appears to contain 13 @author tags 
which the Hadoop community has agreed to not allow in code contributions.

{color:green}+1 tests included{color}.  The patch appears to include 4 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6071//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6071//console

This message is automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-07 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14484703#comment-14484703
 ] 

Hadoop QA commented on HADOOP-11746:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12723822/HADOOP-11746-11.patch
  against trunk revision 4be648b.

{color:red}-1 @author{color}.  The patch appears to contain 13 @author tags 
which the Hadoop community has agreed to not allow in code contributions.

{color:green}+1 tests included{color}.  The patch appears to include 4 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6073//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6073//console

This message is automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-07 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14484682#comment-14484682
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

Testing this patch takes less than a minute, BTW.  Huge improvement over the 
20+ mins it takes to run tests that don't make a bit of difference. It pulls in 
the shellcheck tests and completely skips the java-related tests.  Testing 
other patches seems to indicate the heuristics do more false positives (more 
tests than needed) but I haven't seen a situation with false negatives (missing 
tests that should really be run) yet. They are likely there, but we'll see. The 
system does report what tests it ran so we should be able to watch for that.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch, HADOOP-11746-10.patch, HADOOP-11746-11.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-06 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14482083#comment-14482083
 ] 

Hadoop QA commented on HADOOP-11746:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12723454/HADOOP-11746-08.patch
  against trunk revision 3fb5abf.

{color:red}-1 @author{color}.  The patch appears to contain 13 @author tags 
which the Hadoop community has agreed to not allow in code contributions.

{color:green}+1 tests included{color}.  The patch appears to include 4 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:red}-1 release audit{color}.  The applied patch generated 1 
release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6068//testReport/
Release audit warnings: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6068//artifact/patchprocess/patchReleaseAuditProblems.txt
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6068//console

This message is automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-06 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14482373#comment-14482373
 ] 

Hadoop QA commented on HADOOP-11746:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12723460/HADOOP-11746-09.patch
  against trunk revision 3fb5abf.

{color:red}-1 @author{color}.  The patch appears to contain 13 @author tags 
which the Hadoop community has agreed to not allow in code contributions.

{color:green}+1 tests included{color}.  The patch appears to include 4 new 
or modified test files.

  {color:red}-1 javac{color}.  The applied patch generated 1148 javac 
compiler warnings (more than the trunk's current 208 warnings).

{color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 
43 warning messages.
See 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6069//artifact/patchprocess/diffJavadocWarnings.txt
 for details.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:red}-1 release audit{color}.  The applied patch generated 1 
release audit warnings.

{color:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-hdfs-project/hadoop-hdfs:

  org.apache.hadoop.hdfs.TestDFSOutputStream

  The following test timeouts occurred in 
hadoop-hdfs-project/hadoop-hdfs:

org.apache.hadoop.hdfs.server.balancer.TestBalancerWithMultipleNameNodes

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6069//testReport/
Release audit warnings: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6069//artifact/patchprocess/patchReleaseAuditProblems.txt
Javac warnings: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6069//artifact/patchprocess/diffJavacWarnings.txt
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6069//console

This message is automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch, 
 HADOOP-11746-09.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-05 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14396338#comment-14396338
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

One thing I'm still confused by is why the original test-patch exit'd with 0 
during some failure situations.  Is this a bug in the original or was there a 
reason?  I kept that behavior but it still seems wrong...

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-05 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14396351#comment-14396351
 ] 

Hadoop QA commented on HADOOP-11746:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12709479/HADOOP-11746-07.patch
  against trunk revision 96d7211.

{color:red}-1 @author{color}.  The patch appears to contain 13 @author tags 
which the Hadoop community has agreed to not allow in code contributions.

{color:green}+1 tests included{color}.  The patch appears to include 3 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6065//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6065//console

This message is automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch, HADOOP-11746-07.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-04 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14396050#comment-14396050
 ] 

Hadoop QA commented on HADOOP-11746:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12709449/HADOOP-11746-06.patch
  against trunk revision 4b3948e.

{color:red}-1 @author{color}.  The patch appears to contain 13 @author tags 
which the Hadoop community has agreed to not allow in code contributions.

{color:green}+1 tests included{color}.  The patch appears to include 3 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6064//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6064//console

This message is automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-04 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14396057#comment-14396057
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

Argh, just realized -06 doesn't have the uniq'ing of CHANGED_MODULES, so you'll 
see duplicate tests.  

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch, HADOOP-11746-06.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-01 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14391300#comment-14391300
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

I pretty much don't trust ASF's reviewboard, given it has millions of spam 
accounts on it.  I don't think it's secure at all.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-01 Thread Sean Busbey (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14391288#comment-14391288
 ] 

Sean Busbey commented on HADOOP-11746:
--

would you mind throwing this on reviewboard? 

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-01 Thread Sean Busbey (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14391348#comment-14391348
 ] 

Sean Busbey commented on HADOOP-11746:
--

I don't follow. Presuming it is insecure, what could we lose by having the 
patch there? Is there another review tool that's more accessible than locally 
applying an putting comments here in Jira?

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-01 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14391453#comment-14391453
 ] 

Hadoop QA commented on HADOOP-11746:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12708777/HADOOP-11746-05.patch
  against trunk revision ed72daa.

{color:red}-1 @author{color}.  The patch appears to contain 13 @author tags 
which the Hadoop community has agreed to not allow in code contributions.

{color:green}+1 tests included{color}.  The patch appears to include 3 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6043//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6043//console

This message is automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-01 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14391635#comment-14391635
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

I actively try to avoid services that are so obviously compromised and not 
maintained since who knows what other problems may exist... iframe injections, 
etc.   Plus, Hadoop uses JIRA as the platform for this.  I understand that 
other projects use different tools, but we don't.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-04-01 Thread Colin Patrick McCabe (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14391696#comment-14391696
 ] 

Colin Patrick McCabe commented on HADOOP-11746:
---

[~busbey], have you tried out 
https://chrome.google.com/webstore/detail/git-patch-viewer/hkoggakcdopbgnaeeidcmopfekipkleg
 ?  I find it really helpful for viewing diffs on JIRA.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch, 
 HADOOP-11746-05.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-03-31 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14388108#comment-14388108
 ] 

Hadoop QA commented on HADOOP-11746:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12708341/HADOOP-11746-04.patch
  against trunk revision 85dc3c1.

{color:red}-1 @author{color}.  The patch appears to contain 12 @author tags 
which the Hadoop community has agreed to not allow in code contributions.

{color:green}+1 tests included{color}.  The patch appears to include 3 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6030//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6030//console

This message is automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-03-31 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14388574#comment-14388574
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

bq. -1 @author. The patch appears to contain 12 @author tags which the Hadoop 
community has agreed to not allow in code contributions.

lol

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-03-31 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14388901#comment-14388901
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

Oh, also, smart-apply.sh has the same /tmp race issues.  Hooray!

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-03-31 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14388861#comment-14388861
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

Found two bugs this morning with the current patch, both of them minor:
* http mode doesn't work because I forgot how regexp match worked in bash on 
that line. ;)
* in jenkins mode, we shouldn't try to cp the support dir lib if it doesn't 
exist.

BTW, there's a good chance I've already fixed the race that [~kasha] is hitting 
in YARN-3412.  findmodules (which is the one that determines which pom.xml 
files to use for tests) was one of the first parts of the old code that I saw 
that scared me a bit.  It features a hard-coded path that isn't tied to the 
current patch run directory at all and is global to the box.  While it does use 
the pid for the name, given the right conditions (like, oh, something that 
spawns lots of child processes...), one could see a race there.

FWIW, the current code races pretty hard at the directory level in developer 
mode.  In Jenkins mode, this should be less of a concern unless Jenkins isn't 
able to clean up it's workspace directory.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-03-30 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14387900#comment-14387900
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

Setting HADOOP-11778 as required for checkstyle support, based upon my current 
experiments.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-03-30 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14388072#comment-14388072
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

I'm marking this as incompatible because the output changed.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch, HADOOP-11746-04.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-03-28 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14385629#comment-14385629
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

Current shell-output:

{noformat}
-1 overall

| Vote |   Subsystem |  Runtime  | Comment
|   0  |  pre-patch  |  09m 30s  |  Pre-patch HADOOP-11746 compilation 
|  | |   | is healthy.
|  +1  |@author  |  00m 00s  |  The patch does not contain any 
|  | |   | @author tags.
|  -1  | tests included  |  00m 00s  |  The patch doesn't appear to include 
|  | |   | any new or modified tests. Please
|  | |   | justify why no new tests are needed
|  | |   | for this patch. Also please list what
|  | |   | manual steps were performed to verify
|  | |   | this patch.
|  +1  |  javac  |  04m 22s  |  There were no new javac warning 
|  | |   | messages.
|  +1  |javadoc  |  06m 16s  |  There were no new javadoc warning 
|  | |   | messages.
|  -1  |  release audit  |  00m 09s  |  The applied patch generated 3 
|  | |   | release audit warnings.
|  +1  | checkstyle  |  03m 04s  |  There were no new checkstyle 
issues. 
|  +1  | shellcheck  |  00m 02s  |  There were no new shellcheck 
issues. 
|  +1  |install  |  02m 31s  |  mvn install still works. 
|  +1  |eclipse:eclipse  |  00m 24s  |  The patch built with 
|  | |   | eclipse:eclipse.


|| Subsystem || Report ||
| Release Audit | /tmp/hadoop-test-patch/14934/patchReleaseAuditProblems.txt |
{noformat}

The current jira format has some minor issues. :( Fixing the two missing new 
lines and the missing backslash results in:

(x) *{color:red}-1 overall{color}*
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | pre-patch | 09m 30s | Pre-patch HADOOP-11746 
compilation is healthy. |
| {color:green}+1{color} | @author | 00m 00s | The patch does not contain any 
@author tags. |
| {color:red}-1{color} | tests included | 00m 00s | The patch doesn't appear to 
include any new or modified tests.  Please justify why no new tests are needed 
for this patch. Also please list what manual steps were performed to verify 
this patch. |
| {color:green}+1{color} | javac | 04m 22s | There were no new javac warning 
messages. |
| {color:green}+1{color} | javadoc | 06m 16s | There were no new javadoc 
warning messages. |
| {color:red}-1{color} | release audit | 00m 09s | The applied patch generated 
3 release audit warnings. |
| {color:green}+1{color} | checkstyle | 03m 04s | There were no new checkstyle 
issues. |
| {color:green}+1{color} | shellcheck | 00m 02s | There were no new shellcheck 
issues. |
| {color:green}+1{color} | install | 02m 31s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse | 00m 24s | The patch built with 
eclipse:eclipse. |
\\
|| Subsystem || Report ||
| Release Audit | /artifact/patchprocess/patchReleaseAuditProblems.txt |
| Console output | /artifact/patchprocess/console |


This message was automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch, HADOOP-11746-03.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-03-28 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14385502#comment-14385502
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

Just testing:

{color:red}-1 overall{color}

|| Vote || Subsystem || Comment ||
| {color:blue}0{color} | pre-patch | 09m 31s | Pre-patch trunk compilation is 
healthy. |
| {color:green}+1{color} | @author | 00m 00s | The patch does not contain any 
@author tags. |
| {color:red}-1{color} | tests included | 00m 00s | The patch doesn't appear to 
include any new or modified tests.  Please justify why no new tests are needed 
for this patch. Also please list what manual steps were performed to verify 
this patch. |
| {color:green}+1{color} | javac | 04m 34s | There were no new javac warning 
messages. |
| {color:green}+1{color} | javadoc | 06m 22s | There were no new javadoc 
warning messages. |
| {color:red}-1{color} | release audit | 00m 09s | The applied patch generated 
1 release audit warnings. |
| {color:green}+1{color} | install | 02m 33s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse | 00m 24s | The patch built with 
eclipse:eclipse. |

|| Subsystem || Report ||
| Release Audit | /artifact/patchprocess/diffJavacWarnings.txt |
| Console output | /console |


This message was automatically generated.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-03-26 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14383374#comment-14383374
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

(and, of course, JIRA's formatting screwed it up. lol.  but it should look good 
in email.  The JIRA formatting is different, so shouldn't suffer like that.)

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch, 
 HADOOP-11746-02.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-03-25 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14380948#comment-14380948
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

Nah.  Probably not worth it. 

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-03-25 Thread Sean Busbey (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14380936#comment-14380936
 ] 

Sean Busbey commented on HADOOP-11746:
--

Just heads up, I'd like to coalesce the test-patch process for both Hadoop and 
HBase. My planned start wasn't until April.

I'll try applying similar changes to the HBase fork as you develop here. Are 
the subtle bugs enough that I should do a pass of that now?

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-03-25 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14381370#comment-14381370
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

I see a few off by one errors. Woops.

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Attachments: HADOOP-11746-00.patch, HADOOP-11746-01.patch


 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-03-24 Thread Giridharan Kesavan (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14379244#comment-14379244
 ] 

Giridharan Kesavan commented on HADOOP-11746:
-

[~aw] are you planning to re-write the test-patch.sh in python? 
I'm interested in helping in any means, writing the python code or testing it 
out. please let me know. 


 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer

 This code is bad and you should feel bad.



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


[jira] [Commented] (HADOOP-11746) rewrite test-patch.sh

2015-03-24 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14379301#comment-14379301
 ] 

Allen Wittenauer commented on HADOOP-11746:
---

I'm going to go for bash for now, simply because there would be a ton of shell 
outs if we did it in python to the point that half the code would be bash 
anyway.  I *might* write some helper code in python to replace the wget though. 
 That would be significantly better to fetch from JIRA via REST.

As it is, just running shellcheck on the existing code has found quite a few 
subtle bugs. :(

 rewrite test-patch.sh
 -

 Key: HADOOP-11746
 URL: https://issues.apache.org/jira/browse/HADOOP-11746
 Project: Hadoop Common
  Issue Type: Test
  Components: build, test
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer

 This code is bad and you should feel bad.



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