Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3261

[build] Set up mvn clean to delete the "build" directory as well

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.0
    • Component/s: build
    • Labels:

      Description

      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"

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

      They are containing a bunch of files generated during executions in the MiniCluster:

      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
      

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

        Attachments

        1. oozie-3261-001.patch
          0.7 kB
          duan xiong
        2. oozie-3261-002.patch
          0.6 kB
          duan xiong
        3. oozie-3261-amend-01.patch
          0.6 kB
          duan xiong

          Issue Links

            Activity

              People

              • Assignee:
                nobigo duan xiong
                Reporter:
                gezapeti G├ęzapeti
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: