[
https://issues.apache.org/jira/browse/FLUME-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leslin (Hong Xiang Lin) updated FLUME-1240:
-------------------------------------------
Attachment: FLUME-1240_4.patch
Implement flume version for svn and git VCS.
it works like:
leslin@ubtServer:/usr/lib/flume-1.2.0-incubating-SNAPSHOT/bin$ ./flume-ng
version
Flume 1.2.0-incubating-SNAPSHOT
Subversion https://svn.apache.org/repos/asf/incubator/flume/trunk -r 1354800
Compiled by leslin on Fri Jun 29 08:10:32 CST 2012
>From source with checksum ac1f4fc6f90b4a46a958c65265867c19
leslin@ubtServer:/usr/lib/flume-1.2.0-incubating-SNAPSHOT/bin$ ./flume-ng
version
Flume 1.2.0-incubating-SNAPSHOT
Subversion git://ubtServer/data/flume-truck/flume -r
70e24f81f0e1a5fdb8eef57bf2242a69a2bf268e
Compiled by leslin on Thu Jun 28 22:03:19 CST 2012
>From source with checksum 3cb408adc76ea18abf8cfc945c5319db
> Add version info to Flume NG
> ----------------------------
>
> Key: FLUME-1240
> URL: https://issues.apache.org/jira/browse/FLUME-1240
> Project: Flume
> Issue Type: Bug
> Components: Build
> Affects Versions: v1.2.0
> Reporter: Will McQueen
> Assignee: Leslin (Hong Xiang Lin)
> Fix For: v1.2.0
>
> Attachments: FLUME-1240.patch, FLUME-1240_4.patch
>
>
> A user should have a way to know which version of Flume is being used. This
> can be implemented by adding a 'version' command to the flume-ng shell
> script. For example:
> flume-ng version
> ...would result in the git commit # that the Flume NG build is based on. This
> would help with tracking a user's problems with using Flume.
> I imagine that the build process would need to create some kind of buildinfo
> file that can be referenced by the script... that's just one idea. I'm
> interested in what others think.
> Hadoop has the same feature: "hadoop version".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira