mirror of https://github.com/apache/druid.git
backwards compat
This commit is contained in:
parent
5ebb2d27e3
commit
771aa2ae68
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue