diff --git druid-handler/pom.xml druid-handler/pom.xml
index a7a0f8f..ca5028d 100644
--- druid-handler/pom.xml
+++ druid-handler/pom.xml
@@ -137,6 +137,20 @@
io.druid.extensions
druid-hdfs-storage
${druid.version}
+
+
+ com.fasterxml.jackson.core
+ jackson-core
+
+
+ com.fasterxml.jackson.core
+ jackson-annotations
+
+
+ com.fasterxml.jackson.core
+ jackson-databind
+
+
io.druid.extensions
@@ -199,11 +213,6 @@
calcite-druid
${calcite.version}
-
- joda-time
- joda-time
- 2.8.2
-
junit
@@ -216,6 +225,20 @@
druid-indexing-hadoop
${druid.version}
test
+
+
+ com.fasterxml.jackson.core
+ jackson-core
+
+
+ com.fasterxml.jackson.core
+ jackson-annotations
+
+
+ com.fasterxml.jackson.core
+ jackson-databind
+
+
diff --git druid-handler/src/test/org/apache/hadoop/hive/ql/io/DruidRecordWriterTest.java druid-handler/src/test/org/apache/hadoop/hive/ql/io/DruidRecordWriterTest.java
index b1310b6..f72a735 100644
--- druid-handler/src/test/org/apache/hadoop/hive/ql/io/DruidRecordWriterTest.java
+++ druid-handler/src/test/org/apache/hadoop/hive/ql/io/DruidRecordWriterTest.java
@@ -231,7 +231,7 @@ private void verifyRows(List> expectedRows,
@Test
public void testSerDesr() throws IOException {
String segment = "{\"dataSource\":\"datasource2015\",\"interval\":\"2015-06-01T00:00:00.000-04:00/2015-06-02T00:00:00.000-04:00\",\"version\":\"2016-11-04T19:24:01.732-04:00\",\"loadSpec\":{\"type\":\"hdfs\",\"path\":\"hdfs://cn105-10.l42scl.hortonworks.com:8020/apps/hive/warehouse/druid.db/.hive-staging_hive_2016-11-04_19-23-50_168_1550339856804207572-1/_task_tmp.-ext-10002/_tmp.000000_0/datasource2015/20150601T000000.000-0400_20150602T000000.000-0400/2016-11-04T19_24_01.732-04_00/0/index.zip\"},\"dimensions\":\"dimension1\",\"metrics\":\"bigint\",\"shardSpec\":{\"type\":\"linear\",\"partitionNum\":0},\"binaryVersion\":9,\"size\":1765,\"identifier\":\"datasource2015_2015-06-01T00:00:00.000-04:00_2015-06-02T00:00:00.000-04:00_2016-11-04T19:24:01.732-04:00\"}";
- DataSegment dataSegment = objectMapper.readerFor(DataSegment.class)
+ DataSegment dataSegment = objectMapper.reader(DataSegment.class)
.readValue(segment);
Assert.assertTrue(dataSegment.getDataSource().equals("datasource2015"));
}
diff --git pom.xml pom.xml
index 08c8b9c..3c46ad1 100644
--- pom.xml
+++ pom.xml
@@ -1001,6 +1001,23 @@
true
+
+ enforce-banned-dependencies
+
+ enforce
+
+
+
+
+
+
+ com.google.code.findbugs:annotations
+
+
+
+ true
+
+
@@ -1128,30 +1145,6 @@
jamon-maven-plugin
${jamon.plugin.version}
-
- org.apache.maven.plugins
- maven-enforcer-plugin
- 1.4.1
-
-
- enforce-banned-dependencies
-
- enforce
-
-
-
-
-
-
- com.google.code.findbugs:annotations
-
-
-
- true
-
-
-
-