HBASE-19355 Missing dependency on hbase-zookeeper module causes CopyTable to fail

This commit is contained in:
tedyu 2017-11-27 17:39:42 -08:00
parent e70b628544
commit b048207c8e
2 changed files with 6 additions and 1 deletions

View File

@ -143,6 +143,10 @@
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-common</artifactId>
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-zookeeper</artifactId>
</dependency>
<dependency>
<!--Needed by ExportSnapshot. It is reading
Snapshot protos. TODO: Move to internal types.-->

View File

@ -823,7 +823,8 @@ public class TableMapReduceUtil {
org.apache.commons.lang3.ArrayUtils.class,
com.fasterxml.jackson.databind.ObjectMapper.class,
com.fasterxml.jackson.core.Versioned.class,
com.fasterxml.jackson.annotation.JsonView.class);
com.fasterxml.jackson.annotation.JsonView.class,
org.apache.hadoop.hbase.zookeeper.ZKWatcher.class);
}
/**