factoryClassName = client.getConfVal(HiveConf.ConfVars.HIVE_REPL_TASK_FACTORY.varname,"");
private void init( HCatClient hcatClient, long eventFrom, int maxEvents, IMetaStoreClient.NotificationFilter filter) throws HCatException { // Simple implementation for now, this will later expand to do DAG evaluation. this.hcatClient = hcatClient; this.filter = filter; this.pos = eventFrom; if (maxEvents < 1){ // 0 or -1 implies fetch everything this.maxEvents = Integer.MAX_VALUE; } else { this.maxEvents = maxEvents; } batchSize = Integer.parseInt( hcatClient.getConfVal(HiveConf.ConfVars.METASTORE_BATCH_RETRIEVE_MAX.varname,"50")); this.eventCount = 0; this.maxPos = hcatClient.getCurrentNotificationEventId(); }
factoryClassName = client.getConfVal(HiveConf.ConfVars.HIVE_REPL_TASK_FACTORY.varname,"");
factoryClassName = client.getConfVal(HiveConf.ConfVars.HIVE_REPL_TASK_FACTORY.varname,"");
factoryClassName = client.getConfVal(HiveConf.ConfVars.HIVE_REPL_TASK_FACTORY.varname,"");
private void init( HCatClient hcatClient, long eventFrom, int maxEvents, IMetaStoreClient.NotificationFilter filter) throws HCatException { // Simple implementation for now, this will later expand to do DAG evaluation. this.hcatClient = hcatClient; this.filter = filter; this.pos = eventFrom; if (maxEvents < 1){ // 0 or -1 implies fetch everything this.maxEvents = Integer.MAX_VALUE; } else { this.maxEvents = maxEvents; } batchSize = Integer.parseInt( hcatClient.getConfVal(HiveConf.ConfVars.METASTORE_BATCH_RETRIEVE_MAX.varname,"50")); this.eventCount = 0; this.maxPos = hcatClient.getCurrentNotificationEventId(); }
private void init( HCatClient hcatClient, long eventFrom, int maxEvents, IMetaStoreClient.NotificationFilter filter) throws HCatException { // Simple implementation for now, this will later expand to do DAG evaluation. this.hcatClient = hcatClient; this.filter = filter; this.pos = eventFrom; if (maxEvents < 1){ // 0 or -1 implies fetch everything this.maxEvents = Integer.MAX_VALUE; } else { this.maxEvents = maxEvents; } batchSize = Integer.parseInt( hcatClient.getConfVal(HiveConf.ConfVars.METASTORE_BATCH_RETRIEVE_MAX.varname,"50")); this.eventCount = 0; this.maxPos = hcatClient.getCurrentNotificationEventId(); }
private void init( HCatClient hcatClient, long eventFrom, int maxEvents, IMetaStoreClient.NotificationFilter filter) throws HCatException { // Simple implementation for now, this will later expand to do DAG evaluation. this.hcatClient = hcatClient; this.filter = filter; this.pos = eventFrom; if (maxEvents < 1){ // 0 or -1 implies fetch everything this.maxEvents = Integer.MAX_VALUE; } else { this.maxEvents = maxEvents; } batchSize = Integer.parseInt( hcatClient.getConfVal(HiveConf.ConfVars.METASTORE_BATCH_RETRIEVE_MAX.varname,"50")); this.eventCount = 0; this.maxPos = hcatClient.getCurrentNotificationEventId(); }