为什么将命令放入HDFS之后,新文件似乎是空的?
几次尝试之后,我想出了如何将文件从本地系统放置到HDFS。 我可以看到添加的文件陷阱HDFS GUI。但是,即使有一定的维度,该文件似乎是空的。
我曾经将文件放入HDFS的命令:
hadoop fs -put /input.txt /input.txt
即使我创建了其他文件,所有文件也具有相同的维度340 B. 这怎么了?
感谢您的帮助。
after several tries I figured out how to put a file from local sys to HDFS.
I'm able to see the added files trough HDFS GUI. But the file seems to be empty even though has some dimension.
Command that I used to put file in HDFS:
hadoop fs -put /input.txt /input.txt
Even if I create other files, all of them have same dimension 340 B.
What's wrong with this?
Thanks for your help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论