@InterfaceAudience.Private
@InterfaceStability.Unstable
public class YarnVersionInfo
extends org.apache.hadoop.util.VersionInfo
Modifier | Constructor and Description |
---|---|
protected |
YarnVersionInfo() |
Modifier and Type | Method and Description |
---|---|
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 |
getDate()
The date that YARN was compiled.
|
static String |
getRevision()
Get the subversion revision number for the root directory
|
static String |
getSrcChecksum()
Get the checksum of the source files from which YARN was
built.
|
static String |
getUrl()
Get the subversion URL for the root YARN directory.
|
static String |
getUser()
The user that compiled Yarn.
|
static String |
getVersion()
Get the YARN version.
|
static void |
main(String[] args) |
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 void main(String[] args)
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.