diff --git a/pom.xml b/pom.xml
index a78251143a5..6717674b368 100644
--- a/pom.xml
+++ b/pom.xml
@@ -79,7 +79,7 @@
com.metamx
http-client
- 0.9.5
+ 0.9.6
com.metamx
diff --git a/processing/src/main/java/io/druid/jackson/DefaultObjectMapper.java b/processing/src/main/java/io/druid/jackson/DefaultObjectMapper.java
index 952b506bd95..e55e2299d2b 100644
--- a/processing/src/main/java/io/druid/jackson/DefaultObjectMapper.java
+++ b/processing/src/main/java/io/druid/jackson/DefaultObjectMapper.java
@@ -32,7 +32,12 @@ public class DefaultObjectMapper extends ObjectMapper
{
public DefaultObjectMapper()
{
- this(null);
+ this((JsonFactory)null);
+ }
+
+ public DefaultObjectMapper(DefaultObjectMapper mapper)
+ {
+ super(mapper);
}
public DefaultObjectMapper(JsonFactory factory)
@@ -52,4 +57,10 @@ public class DefaultObjectMapper extends ObjectMapper
configure(MapperFeature.AUTO_DETECT_SETTERS, false);
configure(SerializationFeature.INDENT_OUTPUT, false);
}
+
+ @Override
+ public ObjectMapper copy()
+ {
+ return new DefaultObjectMapper(this);
+ }
}
diff --git a/processing/src/main/java/io/druid/jackson/DruidDefaultSerializersModule.java b/processing/src/main/java/io/druid/jackson/DruidDefaultSerializersModule.java
index 38c3bc135ef..6184221a1db 100644
--- a/processing/src/main/java/io/druid/jackson/DruidDefaultSerializersModule.java
+++ b/processing/src/main/java/io/druid/jackson/DruidDefaultSerializersModule.java
@@ -32,6 +32,7 @@ import com.google.common.base.Throwables;
import com.metamx.common.Granularity;
import com.metamx.common.guava.Accumulator;
import com.metamx.common.guava.Sequence;
+import com.metamx.common.guava.Yielder;
import org.joda.time.DateTimeZone;
import java.io.IOException;
@@ -104,7 +105,7 @@ public class DruidDefaultSerializersModule extends SimpleModule
jgen.writeStartArray();
value.accumulate(
null,
- new Accumulator()
+ new Accumulator