Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
None
-
None
-
None
Description
From this blog, we know that Configuration.addResource should better use a Path as the input instead of a string:
conf.addResource(new Path("/home/hadoop/conf/core-site.xml"));
https://dzone.com/articles/debugging-%E2%80%9Cwrong-fs-expected
But in Kylin's HBaseConnection, it add the hbase cluster fs configure file as string:
String hdfsConfigFile = KylinConfig.getInstanceFromEnv().getHBaseClusterHDFSConfigFile(); if (hdfsConfigFile == null || hdfsConfigFile.isEmpty()) { return; } Configuration hdfsConf = new Configuration(false); hdfsConf.addResource(hdfsConfigFile);
This may make it doesn't work.
Attachments
Issue Links
- links to