You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Yongjun Zhang (JIRA)" <ji...@apache.org> on 2016/02/01 07:28:39 UTC
[jira] [Commented] (HDFS-9629) Update the footer of Web UI to show
year 2016
[ https://issues.apache.org/jira/browse/HDFS-9629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15125831#comment-15125831 ]
Yongjun Zhang commented on HDFS-9629:
-------------------------------------
Thanks [~xiaochen] for the new rev.
Hi [~ajisakaa], [~brahmareddy], [~wheat9], [~drankye], [~vinayrpet],
Thanks for your earlier review and comments. I gave some more thoughts about this issue. Xiao's original attempt was to make it easier to change the year when needed, however, due to lack of a convenient way (one option is to write a javascript), the latest patches use build time in place the original release time, which is confusing.
Currently a release is done in a few steps:
1. create release branch,
2. add additional important fixes
3. change the hardcoded release name right before the final build such as removing "_SNAPSHOT" from "x.y.x-SNAPSHOT"
For step 3, the release name is involved in lot of pom.xml files all over the places. Ideally we could have a single place to hold the release name variable, and refer it in all relevant pom.xml files, so whenever we need to make a change, we only change the single place. But we did not do that, because it's not as straightforward as defining a constant in a computer language.
For this jira, I'd propose to add another step to the release steps
4. change the hardcoded year in the several involved files.
Although this is similar to what's done in HDFS-8149, what I would like emphasize is, adding step 4 to the release process, as a guideline, which should be documented somewhere.
As a matter of fact, step 3 and step 4 could be done by a script altogether in the release process.
What do you think?
Thanks.
> Update the footer of Web UI to show year 2016
> ---------------------------------------------
>
> Key: HDFS-9629
> URL: https://issues.apache.org/jira/browse/HDFS-9629
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Xiao Chen
> Assignee: Xiao Chen
> Labels: supportability
> Attachments: HDFS-9629.01.patch, HDFS-9629.02.patch, HDFS-9629.03.patch, HDFS-9629.04.patch, HDFS-9629.05.patch, HDFS-9629.06.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)