diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index 62e047254b..ec64857ed2 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -200,7 +200,7 @@ 1.5.4 1.26 1.7.1 - 2.0.2 + 2.2.4 4.13.2 5.5.1 5.5.1 @@ -2427,9 +2427,10 @@ ${hbase.two.version} - 3.0.0 + 2.8.5 11.0.2 hadoop-yarn-server-timelineservice-hbase-server-2 + 9.3.27.v20190418 diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests/pom.xml index 8eebb782da..fee962575e 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests/pom.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests/pom.xml @@ -515,6 +515,30 @@ mockito-core test + + org.eclipse.jetty + jetty-server + test + ${hbase-compatible-jetty.version} + + + org.eclipse.jetty + jetty-servlet + test + ${hbase-compatible-jetty.version} + + + org.eclipse.jetty + jetty-webapp + test + ${hbase-compatible-jetty.version} + + + org.eclipse.jetty + jetty-util + test + ${hbase-compatible-jetty.version} + diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests/src/test/java/org/apache/hadoop/yarn/server/timelineservice/storage/TestTimelineWriterHBaseDown.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests/src/test/java/org/apache/hadoop/yarn/server/timelineservice/storage/TestTimelineWriterHBaseDown.java index cb89ba4223..5d658b96c5 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests/src/test/java/org/apache/hadoop/yarn/server/timelineservice/storage/TestTimelineWriterHBaseDown.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests/src/test/java/org/apache/hadoop/yarn/server/timelineservice/storage/TestTimelineWriterHBaseDown.java @@ -43,12 +43,12 @@ public void testTimelineWriterHBaseDown() throws Exception { HBaseTestingUtility util = new HBaseTestingUtility(); HBaseTimelineWriterImpl writer = new HBaseTimelineWriterImpl(); try { + util.startMiniCluster(); Configuration c1 = util.getConfiguration(); c1.setLong(TIMELINE_SERVICE_READER_STORAGE_MONITOR_INTERVAL_MS, 5000); writer.init(c1); writer.start(); - util.startMiniCluster(); DataGeneratorForTest.createSchema(util.getConfiguration()); TimelineStorageMonitor storageMonitor = writer.