摘要: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.8</sou 阅读全文
posted @ 2020-08-19 18:29 BigWrite 阅读(940) 评论(0) 推荐(0) 编辑
摘要: hadoop version:3.1 private static Connection initConn(String hive_driverName, String krb5FilePath, String krb5KeyTabPath, String krbPrincipal, String 阅读全文
posted @ 2020-08-19 18:21 BigWrite 阅读(1899) 评论(0) 推荐(0) 编辑
摘要: public class MainTest { @Test public void main() { int i = 0; IntStream.range(0, 10).forEach( rang -> System.out.printf("生成第%d个表sql:%s\n", rang, "qsda 阅读全文
posted @ 2020-08-19 18:16 BigWrite 阅读(277) 评论(0) 推荐(0) 编辑
摘要: Thread 类join方法,保证子线程执行完成后,再执行父线程,在start 后执行join有效 public class MainTest { @Test public void test4() throws InterruptedException { Thread t1 = new Thre 阅读全文
posted @ 2020-08-19 18:14 BigWrite 阅读(175) 评论(0) 推荐(0) 编辑