@InterfaceAudience.Public @InterfaceStability.Stable public class VersionInfo extends Object
Modifier | Constructor and Description |
---|---|
protected |
VersionInfo(String component) |
Modifier and Type | Method and Description |
---|---|
protected String |
_getBranch() |
protected String |
_getBuildVersion() |
protected String |
_getCompilePlatform() |
protected String |
_getDate() |
protected String |
_getProtocVersion() |
protected String |
_getRevision() |
protected String |
_getSrcChecksum() |
protected String |
_getUrl() |
protected String |
_getUser() |
protected String |
_getVersion() |
static String |
getBranch()
Get the branch on which this originated.
|
static String |
getBuildVersion()
Returns the buildVersion which includes version,
revision, user and date.
|
static String |
getCompilePlatform()
Returns the OS platform used for the build.
|
static String |
getDate()
The date that Hadoop was compiled.
|
static String |
getProtocVersion()
Returns the protoc version used for the build.
|
static String |
getRevision()
Get the Git commit hash of the repository when compiled.
|
static String |
getSrcChecksum()
Get the checksum of the source files from which Hadoop was built.
|
static String |
getUrl()
Get the URL for the Hadoop repository.
|
static String |
getUser()
The user that compiled Hadoop.
|
static String |
getVersion()
Get the Hadoop version.
|
static void |
main(String[] args) |
protected VersionInfo(String component)
protected String _getVersion()
protected String _getRevision()
protected String _getBranch()
protected String _getDate()
protected String _getUser()
protected String _getUrl()
protected String _getSrcChecksum()
protected String _getBuildVersion()
protected String _getProtocVersion()
protected String _getCompilePlatform()
public static String getVersion()
public static String getRevision()
public static String getBranch()
public static String getDate()
public static String getUser()
public static String getUrl()
public static String getSrcChecksum()
public static String getBuildVersion()
public static String getProtocVersion()
public static String getCompilePlatform()
public static void main(String[] args)
Copyright © 2023 Apache Software Foundation. All rights reserved.