Github user bill1208 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1177#discussion_r129195768
  
    --- Diff: 
processing/src/main/java/org/apache/carbondata/processing/merger/RowResultMergerProcessor.java
 ---
    @@ -57,12 +57,15 @@
           
LogServiceFactory.getLogService(RowResultMergerProcessor.class.getName());
     
       public RowResultMergerProcessor(String databaseName,
    -      String tableName, SegmentProperties segProp, String 
tempStoreLocation,
    +      String tableName, SegmentProperties segProp, String[] 
tempStoreLocation,
           CarbonLoadModel loadModel, CompactionType compactionType) {
         this.segprop = segProp;
    -    if (!new File(tempStoreLocation).mkdirs()) {
    -      LOGGER.error("Error while new File(tempStoreLocation).mkdirs() ");
    +    for (String temLoc : tempStoreLocation) {
    +      if (!new File(temLoc).mkdirs()) {
    +        LOGGER.error("Error while new File(tempStoreLocation).mkdirs() ");
    --- End diff --
    
    the log should be LOGGER.error("Error while new File(tempLoc.mkdirs() ");


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to