MCPcopy Create free account
hub / github.com/baidu/bigflow / is_hdfs_path

Function is_hdfs_path

bigflow_python/python/bigflow/util/path_util.py:50–65  ·  view source on GitHub ↗

Check if a given path is HDFS uri Args: path (str): input path Returns: bool: True if input is a HDFS path, False otherwise >>>is_hdfs_path("/tdk") False >>>is_hdfs_path("hdfs://aa:123/bb/cc") True

(path)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

to_abs_local_pathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected