HBASE-16083 Fix RepliationFactory config property names to match HBase naming conventions

Signed-off-by: Elliott Clark <eclark@apache.org>
This commit is contained in:
Joseph Hwang 2016-06-22 09:31:36 -07:00 committed by Elliott Clark
parent f3b3a7c9b5
commit 2766e4a42e
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ public class ReplicationFactory {
public static ReplicationQueues getReplicationQueues(ReplicationQueuesArguments args)
throws Exception {
Class<?> classToBuild = args.getConf().getClass("hbase.region.replica." +
"replication.ReplicationQueuesType", ReplicationQueuesZKImpl.class);
"replication.replicationQueues.class", ReplicationQueuesZKImpl.class);
return (ReplicationQueues) ConstructorUtils.invokeConstructor(classToBuild, args);
}
@ -42,7 +42,7 @@ public class ReplicationFactory {
ReplicationQueuesClientArguments args)
throws Exception {
Class<?> classToBuild = args.getConf().getClass("hbase.region.replica." +
"replication.ReplicationQueuesClientType", ReplicationQueuesClientZKImpl.class);
"replication.replicationQueuesClient.class", ReplicationQueuesClientZKImpl.class);
return (ReplicationQueuesClient) ConstructorUtils.invokeConstructor(classToBuild, args);
}