tez-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bikassaha <...@git.apache.org>
Subject [GitHub] tez pull request: TEZ-1216. Clean up the staging directory when th...
Date Mon, 11 Aug 2014 18:43:18 GMT
Github user bikassaha commented on a diff in the pull request:

    https://github.com/apache/tez/pull/3#discussion_r16071903
  
    --- Diff: tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java ---
    @@ -1531,6 +1542,35 @@ public synchronized void serviceStop() throws Exception {
           this.dagSubmissionTimer.cancel();
         }
         stopServices();
    +
    +    // Given pre-emption, we should delete tez scratch dir only if unregister is
    +    // successful
    +    boolean deleteTezScratchData = this.amConf.getBoolean(
    +        TezConfiguration.TEZ_AM_STAGING_SCRATCH_DATA_AUTO_DELETE,
    +        TezConfiguration.TEZ_AM_STAGING_SCRATCH_DATA_AUTO_DELETE_DEFAULT);
    +    LOG.info("Checking whether tez scratch data dir should be deleted, deleteTezScratchData="
    +        + deleteTezScratchData);
    --- End diff --
    
    LOG.Debug?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message