摘要: /* from: https://stackoverflow.com/questions/37920923/how-to-check-whether-kafka-server-is-running */ 使用Kafka的AdminClient Properties properties = new 阅读全文
posted @ 2019-12-18 15:22 jerryzh2019 阅读(6111) 评论(0) 推荐(0) 编辑
摘要: 使用java程序判断HDFS文件是否存在 public static boolean isPathExist(String server, String path) throws IOException { Configuration conf = new Configuration(); conf 阅读全文
posted @ 2019-12-18 14:51 jerryzh2019 阅读(3396) 评论(0) 推荐(0) 编辑