Fix confusing error message in HadoopIndexTask

This commit is contained in:
Charles Allen 2014-12-03 11:11:53 -08:00
parent 4ca8ea19fd
commit b6f71d3fd6
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ public class HadoopIndexTask extends AbstractTask
Preconditions.checkArgument(this.spec.getTuningConfig().getWorkingPath() == null, "workingPath must be absent"); Preconditions.checkArgument(this.spec.getTuningConfig().getWorkingPath() == null, "workingPath must be absent");
Preconditions.checkArgument( Preconditions.checkArgument(
this.spec.getIOConfig().getMetadataUpdateSpec() == null, this.spec.getIOConfig().getMetadataUpdateSpec() == null,
"updaterJobSpec must be absent" "metadataUpdateSpec must be absent"
); );
if (hadoopDependencyCoordinates != null) { if (hadoopDependencyCoordinates != null) {