public static boolean isHdfsUri(String value) throws URISyntaxException {
    return UriType.HDFS == getURLType(createURI(value));
  }
@param path
@return URI corresponding to the path.
ql/src/java/org/apache/hadoop/hive/ql/util/ResourceDownloader.java