jackylk commented on a change in pull request #3571: [CARBONDATA-3659] Fix
issues with alluxio without host and port.
URL: https://github.com/apache/carbondata/pull/3571#discussion_r365520720
##########
File path:
core/src/main/java/org/apache/carbondata/core/util/BlockletDataMapUtil.java
##########
@@ -189,7 +189,7 @@ private static BlockMetaInfo createBlockMetaInfo(
CarbonFile carbonFile = FileFactory.getCarbonFile(carbonDataFile);
return new BlockMetaInfo(new String[] { "localhost" },
carbonFile.getSize());
default:
- return fileNameToMetaInfoMapping.get(carbonDataFile);
+ return
fileNameToMetaInfoMapping.get(FileFactory.getCarbonFile(carbonDataFile).getPath());
Review comment:
please add comment why this is required? Can we add a case for Alluxio
separately?
----------------------------------------------------------------
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]
With regards,
Apache Git Services