metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From justinleet <...@git.apache.org>
Subject [GitHub] incubator-metron pull request #486: METRON-793: Migrate to storm-kafka-clien...
Date Wed, 22 Mar 2017 21:27:02 GMT
Github user justinleet commented on a diff in the pull request:

    https://github.com/apache/incubator-metron/pull/486#discussion_r107438798
  
    --- Diff: metron-platform/metron-parsers/src/test/java/org/apache/metron/parsers/integration/components/ParserTopologyComponent.java
---
    @@ -97,6 +99,19 @@ public void start() throws UnableToStartException {
       public void stop() {
         if(stormCluster != null) {
           stormCluster.shutdown();
    +      if(new File("logs/workers-artifacts").exists()) {
    +        Path rootPath = Paths.get("logs");
    +        Path destPath = Paths.get("target/logs");
    +        try {
    +          Files.move(rootPath, destPath);
    +          Files.walk(destPath)
    --- End diff --
    
    Same deal with FileUtils.deleteDirectory() here


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