/** Create hive notification using defaults from FlumeConfiguration. */ public HiveDirCreatedNotification(String table, String dir, Map<String, String> meta) { FlumeConfiguration conf = FlumeConfiguration.get(); this.host = conf.getHiveHost(); this.port = conf.getHivePort(); this.user = conf.getHiveUser(); this.pw = conf.getHiveUserPW(); this.table = table; this.dir = dir; this.meta = meta; }