@InterfaceAudience.Public public class VersionInfo extends Object
Constructor and Description |
---|
VersionInfo() |
Modifier and Type | Method and Description |
---|---|
static int |
compareVersion(String v1,
String v2) |
static String |
getDate()
The date that hbase 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 Hadoop was compiled.
|
static String |
getUrl()
Get the subversion URL for the root hbase directory.
|
static String |
getUser()
The user that compiled hbase.
|
static String |
getVersion()
Get the hbase version.
|
static void |
logVersion() |
static void |
main(String[] args) |
static void |
writeTo(PrintStream out) |
static void |
writeTo(PrintWriter out) |
public static String getVersion()
public static String getRevision()
public static String getDate()
public static String getUser()
public static String getUrl()
public static String getSrcChecksum()
public static void writeTo(PrintWriter out)
public static void writeTo(PrintStream out)
public static void logVersion()
public static void main(String[] args)
Copyright © 2007–2019 Cloudera. All rights reserved.