hdfs://localhost:9000/user/xxxx 不要忘了端口号9000,要不然无法连通,而且如果是伪分布模式,localhost不要写成本机的IP 另外在把url当作参数在命令行输入时可以不用加双引号,斜杠也不用写两个