fix last commit with version

This commit is contained in:
Fangjin Yang 2012-11-06 12:40:53 -08:00
parent 0b6dd99452
commit 5698f640d7
1 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ public class HadoopDruidIndexerConfig
private volatile PathSpec pathSpec;
private volatile String jobOutputDir;
private volatile String segmentOutputDir;
private volatile DateTime version;
private volatile DateTime version = new DateTime();
private volatile String partitionDimension;
private volatile Long targetPartitionSize;
private volatile boolean leaveIntermediate = false;
@ -313,7 +313,7 @@ public class HadoopDruidIndexerConfig
public void setVersion(DateTime version)
{
this.version = version == null ? new DateTime() : version;
this.version = version;
}
@JsonProperty