Grokbase Groups Pig dev January 2012
FAQ
Need a way to get Pig's version programmatically.
-------------------------------------------------

Key: PIG-2455
URL: https://issues.apache.org/jira/browse/PIG-2455
Project: Pig
Issue Type: Wish
Components: build
Affects Versions: 0.9.0
Reporter: Harsh J
Priority: Minor


There seems to be no API in Apache Pig that provides back a version string, or anything of that sort. For Apache Hadoop and HBase, we have VersionInfo classes doing this.

I'm up for providing a patch if you guys feel this is worth maintaining (you'd need to maintain a package-info.java with some strings, as you change versions/revisions, I can look at how hadoop maintains this and help).

I came across this thought while trying to think of an easy way around OOZIE-623.

--
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

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 4 | next ›
Discussion Overview
groupdev @
categoriespig, hadoop
postedJan 2, '12 at 10:25a
activeJan 2, '12 at 12:06p
posts4
users1
websitepig.apache.org

1 user in discussion

Harsh J (Commented) (JIRA): 4 posts

People

Translate

site design / logo © 2022 Grokbase