public static void main(String[] args) { LOG.debug("version: "+ version); System.out.println("Hive " + getVersion()); System.out.println("Git " + getUrl() + " -r " + getRevision()); System.out.println("Compiled by " + getUser() + " on " + getDate()); System.out.println("From source with checksum " + getSrcChecksum()); }
/** * Returns the buildVersion which includes version, * revision, user and date. */ public static String getBuildVersion(){ return HiveVersionInfo.getVersion() + " from " + HiveVersionInfo.getRevision() + " by " + HiveVersionInfo.getUser() + " source checksum " + HiveVersionInfo.getSrcChecksum(); }
" classpath = " + System.getProperty("java.class.path"), " build = " + HiveVersionInfo.getUrl() + " -r " + HiveVersionInfo.getRevision() + "; compiled by '" + HiveVersionInfo.getUser() + "' on " + HiveVersionInfo.getDate()}
public void testVersion(){ UDFVersion udf = new UDFVersion(); Text result = udf.evaluate(); String expected = String.format("%s r%s", HiveVersionInfo.getVersion(), HiveVersionInfo.getRevision()); assertEquals(expected, result.toString()); } }
out.write(' '); out.write('r'); out.print( HiveVersionInfo.getRevision() ); out.write("</td>\n <td>Hive version and revision</td>\n </tr>\n <tr>\n <td>Hive Compiled</td>\n <td>"); out.print( HiveVersionInfo.getDate() );
public static void main(String[] args) { LOG.debug("version: "+ version); System.out.println("Hive " + getVersion()); System.out.println("Subversion " + getUrl() + " -r " + getRevision()); System.out.println("Compiled by " + getUser() + " on " + getDate()); System.out.println("From source with checksum " + getSrcChecksum()); }
public static void main(String[] args) { LOG.debug("version: "+ version); System.out.println("Hive " + getVersion()); System.out.println("Git " + getUrl() + " -r " + getRevision()); System.out.println("Compiled by " + getUser() + " on " + getDate()); System.out.println("From source with checksum " + getSrcChecksum()); }
public static void main(String[] args) { LOG.debug("version: "+ version); System.out.println("Hive " + getVersion()); System.out.println("Subversion " + getUrl() + " -r " + getRevision()); System.out.println("Compiled by " + getUser() + " on " + getDate()); System.out.println("From source with checksum " + getSrcChecksum()); }
/** * Returns the buildVersion which includes version, * revision, user and date. */ public static String getBuildVersion(){ return HiveVersionInfo.getVersion() + " from " + HiveVersionInfo.getRevision() + " by " + HiveVersionInfo.getUser() + " source checksum " + HiveVersionInfo.getSrcChecksum(); }
/** * Returns the buildVersion which includes version, * revision, user and date. */ public static String getBuildVersion(){ return HiveVersionInfo.getVersion() + " from " + HiveVersionInfo.getRevision() + " by " + HiveVersionInfo.getUser() + " source checksum " + HiveVersionInfo.getSrcChecksum(); }
/** * Returns the buildVersion which includes version, * revision, user and date. */ public static String getBuildVersion(){ return HiveVersionInfo.getVersion() + " from " + HiveVersionInfo.getRevision() + " by " + HiveVersionInfo.getUser() + " source checksum " + HiveVersionInfo.getSrcChecksum(); }
" classpath = " + System.getProperty("java.class.path"), " build = " + HiveVersionInfo.getUrl() + " -r " + HiveVersionInfo.getRevision() + "; compiled by '" + HiveVersionInfo.getUser() + "' on " + HiveVersionInfo.getDate()}
" classpath = " + System.getProperty("java.class.path"), " build = " + HiveVersionInfo.getUrl() + " -r " + HiveVersionInfo.getRevision() + "; compiled by '" + HiveVersionInfo.getUser() + "' on " + HiveVersionInfo.getDate()}
" classpath = " + System.getProperty("java.class.path"), " build = " + HiveVersionInfo.getUrl() + " -r " + HiveVersionInfo.getRevision() + "; compiled by '" + HiveVersionInfo.getUser() + "' on " + HiveVersionInfo.getDate()}
out.print( HiveVersionInfo.getVersion() ); out.write(", r"); out.print( HiveVersionInfo.getRevision() ); out.write("</td>\n <td>Hive version and revision</td>\n </tr>\n <tr>\n <td>Hive Compiled</td>\n <td>"); out.print( HiveVersionInfo.getDate() );