- 博客(9)
- 收藏
- 关注
转载 python连接操作hdfs
# -*- encoding=utf-8 -*-from hdfs.client import Clientclient = Client("http://XXX.XXX.XX.XX:50070")# 创建目录def mkdirs(client, hdfs_path): client.makedirs(hdfs_path)# 删除hdfs文件def delete_hdfs_file(client, hdfs_path): client.delete(hdfs_......
2022-07-05 07:27:09
1480
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人