Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14066

VersionInfo should be marked as public API

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 2.7.4, 3.0.0-alpha4, 2.8.2
    • Component/s: common
    • Labels:
      None

      Description

      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.

        Attachments

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              aajisaka Akira Ajisaka Assign to me
              Reporter:
              thejas Thejas Nair

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment