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

    https://github.com/apache/storm/pull/1626#discussion_r75434061
  
    --- Diff: 
storm-core/src/jvm/org/apache/storm/daemon/supervisor/SyncSupervisorEvent.java 
---
    @@ -366,14 +386,29 @@ protected boolean 
didDownloadBlobsForTopologySucceed(String stormconfPath, Strin
                     blobFileNames.add(ret);
                 }
             }
    -        for (String string : blobFileNames) {
    -            if (!Utils.checkFileExists(string))
    -                return false;
    -        }
    -        return true;
    +
    +        return didDownloadBlobsForTopologySucceed(targetDir, 
blobFileNames);
         }
     
         /**
    +     * Assert if all dependencies blobs are downloaded for the given 
topology
    +     * 
    +     * @param stormcodePath
    +     * @param targetDir
    +     * @return
    +     */
    +    protected boolean didDownloadDependenciesForTopologySucceed(String 
stormcodePath, String targetDir) throws IOException {
    --- End diff --
    
    Can we rename this method to more comprehensible name like 
checkForDownloadedDependencyFiles or any other sensible method name?


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to