Github user HeartSaVioR commented on a diff in the pull request:

    https://github.com/apache/storm/pull/1642#discussion_r77323762
  
    --- Diff: 
storm-core/src/jvm/org/apache/storm/daemon/supervisor/SupervisorUtils.java ---
    @@ -159,7 +162,7 @@ public static void addBlobReferences(Localizer 
localizer, String stormId, Map co
             }
         }
     
    -    public static Set<String> readDownLoadedStormIds(Map conf) throws 
IOException {
    +    public static Set<String> readDownLoadedStormIds(Map<String, Object> 
conf) throws IOException {
             Set<String> stormIds = new HashSet<>();
             String path = ConfigUtils.supervisorStormDistRoot(conf);
             Collection<String> rets = Utils.readDirContents(path);
    --- End diff --
    
    This is not a bug from the patch, but in OSX .DS_Store file can be created, 
so we need to filter out `files` in rets and keep only `directories`.


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

Reply via email to