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

    https://github.com/apache/incubator-carbondata/pull/155#discussion_r79208835
  
    --- Diff: 
integration/spark/src/main/scala/org/apache/carbondata/spark/rdd/CarbonDataRDDFactory.scala
 ---
    @@ -590,16 +605,25 @@ object CarbonDataRDDFactory extends Logging {
                         executor, sqlContext, kettleHomePath, storeLocation
                       )
                     }
    +                catch {
    +                  case e: Exception =>
    +                    logger.error("Exception in compaction thread for table 
" + tableForCompaction
    +                      .carbonTable.getDatabaseName + "." +
    +                                 tableForCompaction.carbonTableIdentifier
    +                                   .getTableName)
    +                  // not handling the exception. only logging as this is 
not the table triggered
    +                  // by user.
    +                }
                     finally {
    -                  // delete the compaction required file
    +                  // delete the compaction required file in case of 
failure or success also.
    --- End diff --
    
    If compact file deletion fails, add failed table to skipped list.


---
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