@Override public void publish(Collection<? extends WorkUnitState> states) throws IOException { super.publish(states); // PUBLISHER_DIRS key must be updated for HiveRegistrationPublisher for (Path path : this.publisherOutputDirs) { this.state.appendToSetProp(ConfigurationKeys.PUBLISHER_DIRS, path.toString()); } this.hivePublisher.publish(states); } }
@Override public void publish(Collection<? extends WorkUnitState> states) throws IOException { super.publish(states); // PUBLISHER_DIRS key must be updated for HiveRegistrationPublisher for (Path path : this.publisherOutputDirs) { this.state.appendToSetProp(ConfigurationKeys.PUBLISHER_DIRS, path.toString()); } this.hivePublisher.publish(states); } }