You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Brahma Reddy Battula (JIRA)" <ji...@apache.org> on 2017/04/25 13:08:04 UTC

[jira] [Comment Edited] (HADOOP-14066) VersionInfo should be marked as public API

    [ https://issues.apache.org/jira/browse/HADOOP-14066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15982845#comment-15982845 ] 

Brahma Reddy Battula edited comment on HADOOP-14066 at 4/25/17 1:08 PM:
------------------------------------------------------------------------

Looks {{CHANGES.txt}} is not updated for branch-2.7..?


was (Author: brahmareddy):
Looks {{CHANGES.txt}} is updated for branch-2.7..?

> VersionInfo should be marked as public API
> ------------------------------------------
>
>                 Key: HADOOP-14066
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14066
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: common
>            Reporter: Thejas M Nair
>            Assignee: Akira Ajisaka
>            Priority: Critical
>             Fix For: 2.9.0, 2.7.4, 2.8.1, 3.0.0-alpha3
>
>         Attachments: HADOOP-14066.01.patch
>
>
> org.apache.hadoop.util.VersionInfo is commonly used by applications that work with multiple versions of Hadoop.
> In case of Hive, this is used in a shims layer to identify the version of hadoop and use different shim code based on version (and the corresponding api it supports).
> I checked Pig and Hbase as well and they also use this class to get version information.
> However, this method is annotated as "@private" and "@unstable".
> This code has actually been stable for long time and is widely used like a public api. I think we should mark it as such.
> Note that there are apis to find the version of server components in hadoop, however, this class necessary for finding the version of client.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org