backwards compat

This commit is contained in:
fjy 2014-03-25 09:23:48 -07:00
parent 5ebb2d27e3
commit 771aa2ae68
1 changed files with 2 additions and 1 deletions

View File

@ -86,6 +86,7 @@ public class HadoopIndexTask extends AbstractTask
public HadoopIndexTask( public HadoopIndexTask(
@JsonProperty("id") String id, @JsonProperty("id") String id,
@JsonProperty("config") HadoopDruidIndexerSchema schema, @JsonProperty("config") HadoopDruidIndexerSchema schema,
@JsonProperty("hadoopCoordinates") String hadoopCoordinates,
@JsonProperty("hadoopDependencyCoordinates") List<String> hadoopDependencyCoordinates @JsonProperty("hadoopDependencyCoordinates") List<String> hadoopDependencyCoordinates
) )
{ {
@ -101,7 +102,7 @@ public class HadoopIndexTask extends AbstractTask
this.schema = schema; this.schema = schema;
this.hadoopDependencyCoordinates = hadoopDependencyCoordinates == null ? Arrays.<String>asList( this.hadoopDependencyCoordinates = hadoopDependencyCoordinates == null ? Arrays.<String>asList(
defaultHadoopCoordinates hadoopCoordinates == null ? defaultHadoopCoordinates : hadoopCoordinates
) : hadoopDependencyCoordinates; ) : hadoopDependencyCoordinates;
} }