コード例 #1
0
def mv(src, dest, overwrite=False):
    """
    src (str) : Source path on HDFS
    dest (str) : Destination path on HDFS
    overwrite (boolean) : Overwrite dest if exists
    """
    client = AutoConfigClient()

    list(client.rename2(src, dest, overwrite))