code: public static void downloadResourcesAsSupervisorDirect(String key, String localFile,
                                                             ClientBlobStore cb) throws KeyNotFoundException, IOException {
          final int MAX_RETRY_ATTEMPTS = 2;
          final int ATTEMPTS_INTERVAL_TIME = 100;
          for (int retryAttempts = 0; retryAttempts < MAX_RETRY_ATTEMPTS; retryAttempts++) {
              if (downloadResourcesAsSupervisorAttempt(cb, key, localFile)) {
                  break;
              }
              Utils.sleep(ATTEMPTS_INTERVAL_TIME);
          }
      }
docs: Meant to be called only by the supervisor for stormjar/stormconf/stormcode files.
  
  @param key
  @param localFile
  @param cb
  @throws KeyNotFoundException
  @throws IOException