def split(hdfs_path, user=None):
<EOL>return _HdfsPathSplitter.split(hdfs_path, user or common.DEFAULT_USER)<EOL>
Split ``hdfs_path`` into a (hostname, port, path) tuple.

:type hdfs_path: str
:param hdfs_path: an HDFS path, e.g., ``hdfs://localhost:9000/user/me``
:type user: str
:param user: user name used to resolve relative paths, defaults to the
  current user
:rtype: tuple
:return: hostname, port, path