HDFS上传文件出错: Permission denied: user=user, access=WRITE, inode="/test":hdfs:supergroup:drwxr-xr-x
问题描述:
在将本地文件上传到HDFS时出错。上传的代码如下:
public static void writeToHdfs() throws Exception{
//String hdfsPath = "hdfs://master:8020/test1/test.txt";//hdfs位置
String localPath = "D:\\test.txt...
原创
2019-08-16 19:47:21 ·
927 阅读 ·
0 评论