docs: public static boolean isHdfsUri(URI endpoint)
      {
          final String path = endpoint.getPath();
          if (path != null && path.indexOf('/', 1) != -1) {
              return path.substring(1, path.indexOf('/', 1)).equalsIgnoreCase("webhdfs");
          } else {
              return false;
          }
      }