hit-lacus commented on a change in pull request #1376:
URL: https://github.com/apache/kylin/pull/1376#discussion_r477937494
##########
File path:
core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
##########
@@ -307,6 +307,7 @@ public String getHdfsWorkingDirectory() {
String metaId = getMetadataUrlPrefix().replace(':', '-');
//transform relative path for local metadata
if (metaId.startsWith("../")) {
+ metaId = metaId.replace("../", "");
Review comment:
This replace action looks confusing.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]