[jira] [Commented] (CARBONDATA-234) wrong message is printed in the logs each time when the compaction is done.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CARBONDATA-234) wrong message is printed in the logs each time when the compaction is done.

Akash R Nilugal (Jira)

    [ https://issues.apache.org/jira/browse/CARBONDATA-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15490840#comment-15490840 ]

ASF GitHub Bot commented on CARBONDATA-234:
-------------------------------------------

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

    https://github.com/apache/incubator-carbondata/pull/149#discussion_r78782607
 
    --- Diff: integration/spark/src/main/java/org/apache/carbondata/integration/spark/merger/CarbonCompactionUtil.java ---
    @@ -210,10 +211,14 @@ public static boolean deleteCompactionRequiredFile(String metaFolderPath,
           if (FileFactory.isFileExist(statusFile, FileFactory.getFileType(statusFile))) {
             if (FileFactory.getCarbonFile(statusFile, FileFactory.getFileType(statusFile)).delete()) {
               LOGGER.info("Deleted the compaction request file " + statusFile);
    +          return true;
             } else {
               LOGGER.error("Unable to delete the compaction request file " + statusFile);
             }
           }
    +      else {
    --- End diff --
   
    move one line up


> wrong message is printed in the logs each time when the compaction is done.
> ---------------------------------------------------------------------------
>
>                 Key: CARBONDATA-234
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-234
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: ravikiran
>
> wrong message is printed in the logs each time when the compaction is done.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)