shaofengshi closed pull request #315: KYLIN-3648 Use Path as the input of
addResource
URL: https://github.com/apache/kylin/pull/315
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/HBaseConnection.java
b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/HBaseConnection.java
index 53e8a686f7..bbe9d2ea93 100644
---
a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/HBaseConnection.java
+++
b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/HBaseConnection.java
@@ -207,7 +207,7 @@ public static void
addHBaseClusterNNHAConfiguration(Configuration conf) {
return;
}
Configuration hdfsConf = new Configuration(false);
- hdfsConf.addResource(hdfsConfigFile);
+ hdfsConf.addResource(new Path(hdfsConfigFile));
Collection<String> nameServices =
hdfsConf.getTrimmedStringCollection(DFSConfigKeys.DFS_NAMESERVICES);
Collection<String> mainNameServices =
conf.getTrimmedStringCollection(DFSConfigKeys.DFS_NAMESERVICES);
for (String serviceId : nameServices) {
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services