[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-08-03 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---

HADOOP-11791 has a patch to include the old versions in the appropriate place.  
When it is run again, --index should kick off and provide the necessary links.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 2.7.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-07-24 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---

I hope you realize there was more than just this JIRA for trunk's version of 
releasedocmaker (which is also several patches behind the one sitting in the 
Yetus branch)

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 2.7.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0, 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-07-24 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---

You'll need some modifications to pom.xml to use the version from yetus.  I 
wrote a patch somewhere, but haven't tested it very much.  Also keep in mind 
that releasedocmaker was built from the perspective that there would be 
multiple versions in the release directory so that it could build an index to 
all of them.



 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 2.7.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0, 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-07-24 Thread Andrew Wang (JIRA)

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

Andrew Wang commented on HADOOP-11731:
--

Aha, thanks for the heads up. I just pulled in HADOOP-11797 and HADOOP-11813.

I just did some test cherry-picks of everything that touches releasedocmaker in 
the HADOOP-12111 branch, and they came back clean. Cool if I just pull them 
down to trunk/branch-2?

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 2.7.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0, 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-07-24 Thread Andrew Wang (JIRA)

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

Andrew Wang commented on HADOOP-11731:
--

Thanks Allen. So if I understand you correctly, the remaining work is something 
like as follows:

* Pull aforementioned changes from HADOOP-12111 branch to trunk/branch-2
* Fix the -Preleasedocs profile (looks like we need the per-project logic? I 
only see it in common's pom right now)
* Fix the create-release script (HADOOP-11793) and update the instructions 
telling RMs to run the lint mode.
* You mentioned the HowToRelease wiki instructions being incorrect, but I 
didn't catch what exactly was off. It says to close the JIRAs as the last step, 
which still seems okay.

Regarding the index, are you recommending we run the script for historical 
releases? Since we still host the docs for prior releases, seems like people 
could just look at the old CHANGES.txt there. I ask because I know you did a 
lot of JIRA gardening when testing the tool, and it sounded like we never fully 
reconciled JIRA and manually entered CHANGES.txt state.

Please add anything else I might have missed, I'm willing to take the brunt of 
the work (though your help would of course be appreciated too :)).

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 2.7.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0, 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-07-24 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---


bq. Fix the -Preleasedocs profile (looks like we need the per-project logic? I 
only see it in common's pom right now)

You only need it in common with the proper flags.  The generated website points 
to the index which contains all of them. Separating them out is only useful to 
maybe some of the PMC and committers.  Everyone else treats Hadoop as one 
package.  Pretending otherwise is dumb.

bq. You mentioned the HowToRelease wiki instructions being incorrect, but I 
didn't catch what exactly was off. It says to close the JIRAs as the last step, 
which still seems okay.

There's some other stuff, but I don't remember off the top of my head.  It 
mainly had to do with the date reported in the generated notes vs. the tar ball 
and keeping them in sync.

bq. Regarding the index, are you recommending we run the script for historical 
releases? 

Yes.

bq. Since we still host the docs for prior releases, seems like people could 
just look at the old CHANGES.txt there.

It's not about backwards, it's about forwards.  At some point, (probably Hadoop 
2.12 or Hadoop 2.13, say autumn 2017 given current pace), there will be no more 
releases on the website that still have a CHANGES.txt file.   Then what?  If we 
generate the historical data, the answer is obvious.




 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 2.7.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0, 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-07-24 Thread Andrew Wang (JIRA)

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

Andrew Wang commented on HADOOP-11731:
--

Cool. I'm going to start by pulling in the changes from the branch to 
trunk/branch-2, and do whatever additional development is required there. Might 
ping you for reviews.

bq. You only need it in common with the proper flags

Hmm, so I work mostly on HDFS and Common, so would somewhat prefer not seeing 
YARN and MR mixed in. If you feel very strongly I can do 4-in-1, but I'm also 
willing to do the work to separate them out.

bq. It's not about backwards, it's about forwards

We've kept the docs for branch-1 releases and I hope 2.7.x would have similar 
legs, but fair enough. Do you have a sense for the state of JIRA fix versions? 
If it's just a matter of running the script and fixing the dates, easy. If more 
gardening is necessary, not so easy.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 2.7.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0, 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-07-24 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---

bq. Hmm, so I work mostly on HDFS and Common, so would somewhat prefer not 
seeing YARN and MR mixed in. If you feel very strongly I can do 4-in-1, but I'm 
also willing to do the work to separate them out.

Yes, I feel *very* strongly about this one.  Separating out the release notes 
into subprojects may be one of the most end user unfriendly things we do (#1 is 
the ridiculous number of incompatible changes).  Again, as I pointed out above, 
the *ONLY* people who truly, really care about these things being separated out 
are the committers and, frankly, the reasoning there is void, given they 
should know how to build their own set of notes if they really are too lazy to 
grep them out.. Everyone else wants to see one file that has all the big 
changes aka a single, consolidated release note file.

bq.  Do you have a sense for the state of JIRA fix versions? If it's just a 
matter of running the script and fixing the dates, easy. If more gardening is 
necessary, not so easy.

I know that up to 2.6.0 is correct.  But lint mode should tell you a lot about 
people doing things like assigning multiple versions to a JIRA.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 2.7.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0, 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-07-24 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---

BTW: https://github.com/aw-altiscale/eco-release-metadata is usually updated 
weekly.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 2.7.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 2.8.0, 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

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

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

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

bq. Steve said: I don't think CHANGES.TXT works that well. We may think it 
does, but that's because without the tooling to validate it, stuff doesn't get 
added and so it can omit a lot of work. Then there's the problem of merging 
across branches, and dealing with race conditions/commit conflict between other 
people's work and yours.

Absolutely.  CHANGES.txt does not work that well for many reasons.  It's often 
incorrect, as Allen pointed out, since it's entirely manually created.  It 
creates many spurious merge conflicts.

bq. Tsz Wo Nicholas Sze wrote: Again, I do not oppose using the new tool. 
However, we do need a transition period to see if it indeed works well.

I agree.  However, given that we are going to be maintaining branch-2 for at 
least another 2 years (we don't even have a 3.x release roadmap yet), it seems 
like that transition period should be in the 2.8 timeframe.  It would also be 
nice to move to this system for point releases.  Otherwise, we end up doing 
CHANGES.txt anyway for backports.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-04 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---

I've created HADOOP-11807 to add a lint mode.

bq.  we do need a transition period to see if it indeed works well.

... which is a good reason to target trunk rather than branch-2.  trunks' 
changes.txt files are very very wrong.  Any effort put into updating those 
files is wasted effort given that it's automated now.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-04 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---

bq. Why don't we use the git commit message instead of JIRA summary?

This has already been somewhat covered on the mailing list, but:

a) because we have to hit JIRA for the other information anyway.
b) parsing the commit logs is trickier than one thinks.

bq.  The git commit message is supposed to be the same as the entry in 
CHAGNES.txt.

Looking at https://wiki.apache.org/hadoop/HowToCommit, that isn't true.  In the 
vast majority of cases, however, I'd place money that JIRA summary==CHANGES.txt 
entry==git commit log entry.  But typos happen and these are much easier to fix 
in the JIRA summary by leaps and bounds.

bq. I disagree since the automation may have bugs or may not work at all.

Then our release notes have been broken for over 2 years, since it's 
effectively the same code but with different formatting.  

-

At this point, this JIRA is beating a horse that's been long dead.  The code is 
committed.  If there are issues with the code, then file new JIRAs against it.  
I'm pretty much going to ignore any new messages here and continue working on 
getting the rest of the release process updated to take advantage of it.


 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-04 Thread Tsz Wo Nicholas Sze (JIRA)

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

Tsz Wo Nicholas Sze commented on HADOOP-11731:
--

Why don't we use the git commit message instead of JIRA summary?  The git 
commit message is supposed to be the same as the entry in CHAGNES.txt.

BTW, I guess the tool won't handle the case that there are multiple 
contributors if it takes JIRA assignee as the contributor.  We should also 
retrieve the contributor list from the commit message.

 ... Any effort put into updating those files is wasted effort given that it's 
 automated now.

I disagree since the automation may have bugs or may not work at all.


 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-03 Thread Steve Loughran (JIRA)

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

Steve Loughran commented on HADOOP-11731:
-

I don't think CHANGES.TXT works that well. We may think it does, but that's 
because without the tooling to validate it, stuff doesn't get added and so it 
can omit a lot of work. Then there's the problem of merging across branches, 
and dealing with race conditions/commit conflict between other people's work 
and yours.

automated generation not only gives us the change list, it adds the option of 
generating a hyperlinked version where you can actually click through the JIRAs.

I do recognise the concerns about JIRA naming and tagging —but that's a process 
thing that is correctable. If we can put the effort in to maintaining 
CHANGES.TXT, we can do it for JIRAs. Many use cases will be easier. For example 
commit something to trunk and then backport it, today, is:
# pull trunk
# apply patch to trunk
# edit changes.txt
# commit
# attempt to push
# if unlucky: fix CHANGES.TXT conflict  commit, push.
# close JIRA

The backport workflow becomes
# switch to branch-2
# pull
# apply  the code bits of the patch
# edit changes.txt
# commit
# go to trunk
# fix changes.txt
# push
# remember to edit JIRA


Forward porting is easier: edit  commit branch-2, cherry pick the patch, push 
both

Now think of a JIRA-only workflow
# apply patch to trunk
# commit
# close in JIRA with 3.0.0 version

you'll only get commit conflict if someone patched the source files, so commits 
are more likely to go through.

backporting
# cherry pick patch
# commit  push
# in JIRA, change fix version.

It's backporting  cross version code where this stuff really excels. 



 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-03 Thread Tsz Wo Nicholas Sze (JIRA)

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

Tsz Wo Nicholas Sze commented on HADOOP-11731:
--

Again, I do not oppose using the new tool.  However, we do need a transition 
period to see if it indeed works well.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-02 Thread Tsz Wo Nicholas Sze (JIRA)

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

Tsz Wo Nicholas Sze commented on HADOOP-11731:
--

Generating change log from JIRA is a good idea.  It bases on an assumption that 
each JIRA has an accurate summary (a.k.a. JIRA title) to reflect the committed 
change. Unfortunately, the assumption is invalid for many cases since we never 
enforce that the JIRA summary must be the same as the change log.  Have you 
compared the current CHANGES.txt with the generated change log?  I beg the diff 
is long.

Besides, after a release R1 is out, someone may (accidentally or intentionally) 
modify the JIRA summary.  Then, the entry for the same item in a later release 
R2 could be different from the one in R1.

Yet another concern is that non-committers can add/edit JIRA summary but only 
committers could modify CHANGES.txt.

I agree that manually editing CHANGES.txt is not a perfect solution.  However, 
it worked well in the past for many releases.  I suggest we keep the current 
dev workflow.  Try using the new script provided here to generate the next 
release.  If everything works well, we shell remove CHANGES.txt and revise the 
dev workflow.  What do you think?

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-02 Thread Tsz Wo Nicholas Sze (JIRA)

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

Tsz Wo Nicholas Sze commented on HADOOP-11731:
--

An example of JIRA information being inaccurate is that the assignee is missing 
in this JIRA HADOOP-11731.  From CHANGES.txt, we see that aw has worked on it.
{noformat}
//hadoop-common-project/hadoop-common/CHANGES.txt 
HADOOP-11731. Rework the changelog and releasenotes (aw)
{noformat}

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-02 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---

bq. Have you compared the current CHANGES.txt with the generated change log? I 
beg the diff is long.

The summary lines no.  The content that matters? Very much so.  I spent about a 
man month repairing fix version information for all of branch-2 and trunk.  To 
the point that I know that this statement is patently false:

bq.  However, it worked well in the past for many releases.

I'd argue it has failed tremendously in past releases.  

* the number of incompatible changes that have been committed as bug fixes or 
what not with zero release notes to warn the user that we've screwed them over.

* CHANGES.txt is missing *hundreds* of commits in both branch-2 and trunk.  The 
number of JIRAs that needed to have 2.7.0 added to the fixversion vs. 
autogenerated was _3_.

* Right now, branch-2 and 2.7.0 changes.txt files even disagree about what 
patches are in 2.7.0.  That's not success at all.

The concern about the summary line is sort of moot since:

a) the reverse is also true:  it's rare that the changes.txt gets updated when 
it's incorrect vs the jira summary
b) the generated results provide links to the jira, providing easy click 
history to see what has happened.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-02 Thread Tsz Wo Nicholas Sze (JIRA)

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

Tsz Wo Nicholas Sze commented on HADOOP-11731:
--

 ... the changes.txt gets updated when it's incorrect vs the jira summary

We won't update it since CHANGES.txt and jira summary are not supposed to be 
the same.

 the generated results provide links to the jira, providing easy click history 
 to see what has happened.

The entry in CHANGES.txt is a concise statement about the change committed.  It 
takes much more time to understand what was going to read the JIRA itself, 
especially, when there was a long discussion.


 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-02 Thread Chris Douglas (JIRA)

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

Chris Douglas commented on HADOOP-11731:


bq. An example of JIRA information being inaccurate is that the assignee is 
missing...

Some of these inconsistencies are easier to spot with the tool, and fix both 
JIRA and the release notes. [~aw], would it be difficult to add a report for 
cases where the assignee is missing, incompatible changes don't have release 
notes, etc? I see it prints a warning for the latter, but a lint-style report 
could help RMs fixup JIRA as part of rolling a release.

bq. The single line summary at the top of a JIRA isn't what you are putting in 
CHANGES.txt?

I sometimes add more detail in the commit message, but if committers get used 
to setting the summary and release notes this seems workable.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
Assignee: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-02 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---

bq. We won't update it since CHANGES.txt and jira summary are not supposed to 
be the same.

Wait, what?  The single line summary at the top of a JIRA isn't what you are 
putting in CHANGES.txt?  I think you might be the *only* person who isn't using 
the summary line for the changes.txt that who any sort of semi-regular commits.

bq. The entry in CHANGES.txt is a concise statement about the change committed.

In other words, exactly what the JIRA summary is supposed to be as well, but 
used prior to commit.  





 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-02 Thread Hudson (JIRA)

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

Hudson commented on HADOOP-11731:
-

FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #151 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/151/])
HADOOP-11731. Rework the changelog and releasenotes (aw) (aw: rev 
f383fd9b6caf4557613250c5c218b1a1b65a212b)
* hadoop-common-project/hadoop-common/CHANGES.txt
* dev-support/relnotes.py
* hadoop-common-project/hadoop-common/pom.xml
* BUILDING.txt
* hadoop-project/src/site/site.xml
* dev-support/releasedocmaker.py


 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-02 Thread Hudson (JIRA)

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

Hudson commented on HADOOP-11731:
-

FAILURE: Integrated in Hadoop-Hdfs-trunk #2083 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/2083/])
HADOOP-11731. Rework the changelog and releasenotes (aw) (aw: rev 
f383fd9b6caf4557613250c5c218b1a1b65a212b)
* dev-support/relnotes.py
* BUILDING.txt
* hadoop-common-project/hadoop-common/pom.xml
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-project/src/site/site.xml
* dev-support/releasedocmaker.py


 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-02 Thread Hudson (JIRA)

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

Hudson commented on HADOOP-11731:
-

FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #151 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/151/])
HADOOP-11731. Rework the changelog and releasenotes (aw) (aw: rev 
f383fd9b6caf4557613250c5c218b1a1b65a212b)
* dev-support/relnotes.py
* hadoop-project/src/site/site.xml
* hadoop-common-project/hadoop-common/pom.xml
* dev-support/releasedocmaker.py
* hadoop-common-project/hadoop-common/CHANGES.txt
* BUILDING.txt


 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-02 Thread Hudson (JIRA)

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

Hudson commented on HADOOP-11731:
-

FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #142 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/142/])
HADOOP-11731. Rework the changelog and releasenotes (aw) (aw: rev 
f383fd9b6caf4557613250c5c218b1a1b65a212b)
* BUILDING.txt
* hadoop-common-project/hadoop-common/CHANGES.txt
* dev-support/relnotes.py
* dev-support/releasedocmaker.py
* hadoop-common-project/hadoop-common/pom.xml
* hadoop-project/src/site/site.xml


 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-02 Thread Hudson (JIRA)

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

Hudson commented on HADOOP-11731:
-

FAILURE: Integrated in Hadoop-Yarn-trunk #885 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/885/])
HADOOP-11731. Rework the changelog and releasenotes (aw) (aw: rev 
f383fd9b6caf4557613250c5c218b1a1b65a212b)
* hadoop-common-project/hadoop-common/pom.xml
* hadoop-project/src/site/site.xml
* hadoop-common-project/hadoop-common/CHANGES.txt
* BUILDING.txt
* dev-support/relnotes.py
* dev-support/releasedocmaker.py


 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-02 Thread Hudson (JIRA)

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

Hudson commented on HADOOP-11731:
-

FAILURE: Integrated in Hadoop-Mapreduce-trunk #2101 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2101/])
HADOOP-11731. Rework the changelog and releasenotes (aw) (aw: rev 
f383fd9b6caf4557613250c5c218b1a1b65a212b)
* hadoop-common-project/hadoop-common/pom.xml
* BUILDING.txt
* dev-support/releasedocmaker.py
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-project/src/site/site.xml
* dev-support/relnotes.py


 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-01 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---

So is this ready to go in?

Which do we prefer, with all subtasks listed or without?

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-01 Thread Andrew Wang (JIRA)

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

Andrew Wang commented on HADOOP-11731:
--

I think we should list the subtasks, since they're JIRAs too.

I'll add that I looked at an earlier version of Allen's script and it looked 
basically good. If Colin's happy too, let's just get it in and fix the rest 
later.

Allen, do you mind also updating the release Jenkins job 
(https://builds.apache.org/job/HADOOP2_Release_Artifacts_Builder/) so it also 
runs this script?

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-01 Thread Hudson (JIRA)

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

Hudson commented on HADOOP-11731:
-

SUCCESS: Integrated in Hadoop-trunk-Commit #7490 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/7490/])
HADOOP-11731. Rework the changelog and releasenotes (aw) (aw: rev 
f383fd9b6caf4557613250c5c218b1a1b65a212b)
* hadoop-project/src/site/site.xml
* dev-support/releasedocmaker.py
* hadoop-common-project/hadoop-common/pom.xml
* hadoop-common-project/hadoop-common/CHANGES.txt
* BUILDING.txt
* dev-support/relnotes.py


 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

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

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

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

I think we should support subtasks for now.  If we later decide they aren't 
important we can make it optional in the script.

I actually am completely neutral on whether we should have release notes for 
multiple releases in one file (or changes for CHANGES.txt).  I think if we want 
to change the format for upcoming releases, we should discuss that on the 
mailing list first.  However, that issue shouldn't hold up this patch.  It's 
easy enough to create a file with release notes for multiple releases by 
cat'ing together files, or passing multiple revisions on the relnotes.py 
command line.

This is certainly a big improvement on what came before, so +1.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-01 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HADOOP-11731:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12708858/HADOOP-11731-07.patch
  against trunk revision 4d14816.

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+0 tests included{color}.  The patch appears to be a 
documentation patch that doesn't require tests.

{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:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-common-project/hadoop-common:

  org.apache.hadoop.ipc.TestRPCWaitForProxy

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

This message is automatically generated.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Fix For: 3.0.0

 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-04-01 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---

Ha, sorry, we crossed each other. 

I'll see what it takes to fix the Jenkins job.  I want to poke around Jenkins 
for HADOOP-11746 anyway. 

Thanks everyone.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch, HADOOP-11731-07.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-03-30 Thread Colin Patrick McCabe (JIRA)

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

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

Thanks, Allen.  This looks good.

bq. Nope, otherwise releasedocmaker.py --version trunk-win would fail.

OK.  I guess we can revisit this later if it becomes an issue.  Do you think it 
would be helpful to have a log message about the versions that can't be parsed?

Did you confirm that the CHANGES.txt generated for 2.7 is the same as the 
current one in branch-2.7?  +1 once that is confirmed

We may have to fiddle with some things in JIRA if anything was incorrectly 
resolved (with the wrong version or something)

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-03-30 Thread Colin Patrick McCabe (JIRA)

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

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

I agree that recently we haven't done as many point releases as we should (or 
as many releases of any kind, for that matter).  But we have done them quite 
often in the past... see 2.5.1, 2.5.2, 2.4.1.  Code to parse point releases 
doesn't seem like dead code to me.  On the other hand, code to parse 
branch-1-win and trunk-win does seem like deadcode since those are no 
longer being developed (and really, we never do Apache releases from feature 
branches anyway).

I think people would be upset if we removed CHANGES.txt and there were big 
discrepancies between the existing CHANGES.txt and what this script generated.  
So I guess we will have to hold off on the removal until we can verify that.  
But I think committing the script makes sense, so I am +1 on that.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-03-30 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---

So, I went through 2.7. The new code doesn't list subtasks, so of course they 
weren't in there.  The other missing bits were mislabeled JIRAs.  
Interestingly, the autocode was much more correct than the HDFS and YARN 
changes.txt files after those are taken into account.  (By quite a bit, 
actually.)

cc: [~vinodkv], just in case he cares about the questionable changes.txt files 
in the 2.7.0 branch.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-03-30 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---

bq.  Do you think it would be helpful to have a log message about the versions 
that can't be parsed?

Not really. In fact, that's mostly dead code now.  It was previously used to 
try and guess what the previous release was. Needless to say, it was a broken 
concept since we rarely do point releases. When I'm less distracted with other 
things, maybe I'll remove it.

bq. Did you confirm that the CHANGES.txt generated for 2.7 is the same as the 
current one in branch-2.7? 

I haven't, mainly because I don't spend any time in branch-2.  I'm not sure I'd 
trust CHANGES.TXT in any branch really, given the number of mistakes I found in 
trunk's file and some of the other changes.txt files I did look at.  (3-way 
comparison, jira vs. git vs. file, and even then I'm sure I didn't find 
everything wrong).

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-03-30 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---

That isn't quite how the current relnotes.py code works. When you provide a 
previousVer or let it autodecrement to figure out what the previous release 
was, it puts at the top of the file Changes since release [previous version]: 
... and that's it.  It doesn't do anything fancy like print a separate section 
for every release it can calculate.

This code base doesn't even do that.  It jettisons the whole since release x 
thing. I take the view that our changes files is way too large on a per release 
basis vs. what we did pre-1.x.  Putting multiple releases in a single file is 
too much information at one time. 

So if that line is removed and we don't need to know what the previous release 
was, there's no reason to even try to parse the version number, except for 
maybe sorting purposes.  It really is mostly useless code.

(FWIW: This does mean that x.0.0 releases present some special challenges for 
both the old and new code.  If 2.8.0 is declared dead, then when 3.0.0 is 
built, it needs to get passed both 3.0.0 and 2.8.0 to merge all the changes 
together.  Removing 2.8.0 from JIRA doesn't work because branch-2 does have 
those changes committed.  The only other way to do this is to set the fix 
version to conclude both, similarly to how one would do it for multiple, 
concurrent releases.  Luckily, this should only happen a few times, at the 
most, and are clearly an edge case.)

Yes, I've spent too much time studying and thinking about these issues over the 
past few months. lol

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-03-30 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---

Actually, I compared against the 2.7 changes.txt entries listed in branch-2.  A 
quick manual check shows that people aren't updating branch-2 when they change 
the branch-2.7 changes.txt. Neat!  I'll run another analysis here in a bit.  
But I doubt I'm going to find much different. 

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-03-30 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---

If I turn on subtasks, then the missing JIRAs from branch-2.7 vs. the generated 
report is only HADOOP-6857 (and if you read the JIRA, you can see why).  
Meanwhile, branch-2.7's changes.txt is missing 259 JIRAs, again including 
subtasks.

So yea, this is pretty much what I expected: the changes.txt file is completely 
out of sync with JIRA, with JIRA generally being more accurate.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-03-30 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HADOOP-11731:


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

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+0 tests included{color}.  The patch appears to be a 
documentation patch that doesn't require tests.

{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:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-common-project/hadoop-common:

  org.apache.hadoop.ipc.TestRPCWaitForProxy

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

This message is automatically generated.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch, 
 HADOOP-11731-06.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-03-27 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---

bq. Should we throw an exception if we can't parse the version?

Nope, otherwise {{releasedocmaker.py --version trunk-win}} would fail.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-03-27 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HADOOP-11731:


{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12707952/HADOOP-11731-05.patch
  against trunk revision 3836ad6.

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+0 tests included{color}.  The patch appears to be a 
documentation patch that doesn't require tests.

{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 
hadoop-common-project/hadoop-common.

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

This message is automatically generated.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch, HADOOP-11731-05.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-03-26 Thread Colin Patrick McCabe (JIRA)

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

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

Thank you for tackling this, Allen.  It looks good.

{code}
1   #!/usr/bin/python
{code}

Should be {{#!/usr/bin/env python}}?

{code}
2   #   Licensed under the Apache License, Version 2.0 (the License);
3   #   you may not use this file except in compliance with the License.
4   #   You may obtain a copy of the License at
5   #
6   #   http://www.apache.org/licenses/LICENSE-2.0
7   #
8   #   Unless required by applicable law or agreed to in writing, software
9   #   distributed under the License is distributed on an AS IS BASIS,
10  #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
implied.
11  #   See the License for the specific language governing permissions and
12  #   limitations under the License.
{code}
I realize that you are just copying this from the previous {{relnotes.py}}, but 
we should fix this to match our other license headers.  If you look at 
{{determine-flaky-tests-hadoop.py}}, you can see its header is:

{code}
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# License); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an AS IS BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
{code}
The text about the {{NOTICE}} file is missing from {{releasedocmaker.py}}.

{code}
296 def main():
297   parser = OptionParser(usage=usage: %prog --version VERSION 
[--version VERSION2 ...])
298   parser.add_option(-v, --version, dest=versions,
299  action=append, type=string,
300  help=versions in JIRA to include in releasenotes, 
metavar=VERSION)
301   parser.add_option(-m,--master, dest=master, action=store_true,
302  help=only create the master files)
303   parser.add_option(-i,--index, dest=index, action=store_true,
304  help=build an index file)
{code}
Can you add a note to the usage message about which files are generated by this 
script, and what their names will be?  Also where the files will be generated

{code}
80  found = re.match('^((\d+)(\.\d+)*).*$', data)
81  if (found):
82self.parts = [ int(p) for p in found.group(1).split('.') ]
83  else:
84self.parts = []
{code}
Should we throw an exception if we can't parse the version?

{code}
28  def clean(str):
29return clean(re.sub(namePattern, , str))
30  
31  def formatComponents(str):
32str = re.sub(namePattern, '', str).replace(', )
33if str != :
34  ret = str
35else:
36  # some markdown parsers don't like empty tables
37  ret = .
38return clean(ret)
39  
40  def lessclean(str):
41str=str.encode('utf-8')
42str=str.replace(_,\_)
43str=str.replace(\r,)
44str=str.rstrip()
45return str
46  
47  def clean(str):
48str=lessclean(str)
49str=str.replace(|,\|)
50str=str.rstrip()
{code}

I find this a bit confusing.  Can we call the first function something other 
than clean, to avoid having two different functions named clean that do 
different things?  When would I use {{lessclean}} rather than {{clean}}?  It 
seems like only the release notes get the lessclean treatment.  It would be 
helpful to have a comments before the lessclean function explaining when it is 
useful.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-03-24 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HADOOP-11731:


{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12706981/HADOOP-11731-04.patch
  against trunk revision a16bfff.

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+0 tests included{color}.  The patch appears to be a 
documentation patch that doesn't require tests.

{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 
hadoop-common-project/hadoop-common.

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

This message is automatically generated.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch, HADOOP-11731-04.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-03-21 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HADOOP-11731:


{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12706187/HADOOP-11731-01.patch
  against trunk revision e1feb4e.

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+0 tests included{color}.  The patch appears to be a 
documentation patch that doesn't require tests.

{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/5980//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/5980//console

This message is automatically generated.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-03-21 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer commented on HADOOP-11731:
---

Making HADOOP-11553 as a conflicting patch since they touch the same pom.xml in 
the same place.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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


[jira] [Commented] (HADOOP-11731) Rework the changelog and releasenotes

2015-03-21 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HADOOP-11731:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12706363/HADOOP-11731-03.patch
  against trunk revision 4335429.

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+0 tests included{color}.  The patch appears to be a 
documentation patch that doesn't require tests.

{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:red}-1 core tests{color}.  The following test timeouts occurred in 
hadoop-common-project/hadoop-common:

org.apache.hadoop.http.TestHttpServerLifecycle

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

This message is automatically generated.

 Rework the changelog and releasenotes
 -

 Key: HADOOP-11731
 URL: https://issues.apache.org/jira/browse/HADOOP-11731
 Project: Hadoop Common
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.0.0
Reporter: Allen Wittenauer
 Attachments: HADOOP-11731-00.patch, HADOOP-11731-01.patch, 
 HADOOP-11731-03.patch


 The current way we generate these build artifacts is awful.  Plus they are 
 ugly and, in the case of release notes, very hard to pick out what is 
 important.



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