You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Peter Cseh (JIRA)" <ji...@apache.org> on 2018/05/28 11:59:00 UTC

[jira] [Created] (OOZIE-3261) Set up mvn clean to delete the "build" directory as well

Peter Cseh created OOZIE-3261:
---------------------------------

             Summary: Set up mvn clean to delete the "build" directory as well
                 Key: OOZIE-3261
                 URL: https://issues.apache.org/jira/browse/OOZIE-3261
             Project: Oozie
          Issue Type: Improvement
          Components: build
            Reporter: Peter Cseh


There are folders named build in every project we have. They are taking up a ton of space and not cleaned away when executing "mvn clean" 
{noformat}
>> [84] 13:52 : oozie (master) :: du -sh */*/build
6.9M	sharelib/distcp/build
174M	sharelib/hive/build
1.8G	sharelib/pig/build
665M	sharelib/spark/build
498M	sharelib/sqoop/build
7.3M	sharelib/streaming/build
>> [85] 13:53 : oozie (master) :: du -sh */build
 23M	core/build
7.8M	minitest/build
6.2M	tools/build
{noformat}

They are containing a bunch of files generated during executions in the MiniCluster:
{noformat}
sharelib/spark/build/test/data/dfs//data/data1/current/BP-1306731421-172.30.65.43-1527256082477/current/finalized/subdir0/subdir4/blk_1073742879
sharelib/spark/build/test/data/dfs//data/data1/current/BP-1306731421-172.30.65.43-1527256082477/current/finalized/subdir0/subdir4/blk_1073742863_2039.meta
sharelib/spark/build/test/data/dfs//data/data1/current/BP-1306731421-172.30.65.43-1527256082477/current/finalized/subdir0/subdir4/blk_1073743029_2205.meta
sharelib/spark/build/test/data/dfs//data/data1/current/BP-1306731421-172.30.65.43-1527256082477/current/finalized/subdir0/subdir4/blk_1073742975_2151.meta
{noformat}


"mvn clean" should be configured to clean these folders up as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)