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

duan xiong commented on OOZIE-3261:
-----------------------------------

Hi [~kmarton],I find this patch file has some problem: There's an extra number 
of 0 in front filesets.  

```
|<plugin>|
| |<groupId>org.apache.maven.plugins</groupId>|
| |<artifactId>maven-clean-plugin</artifactId>|
| |<version>3.0.0</version>|
| |<configuration>|
| |0 <filesets>|
| |<fileset>|
| |<directory>build</directory>|
| |</fileset>|
| |</filesets>|
| |</configuration>|
| |</plugin>|

````

> [build] 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
>            Assignee: duan xiong
>            Priority: Major
>              Labels: newbie
>             Fix For: 5.2.0
>
>         Attachments: oozie-3261-001.patch
>
>
> 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)

Reply via email to