
HDFS
lby0307
这个作者很懒,什么都没留下…
展开
-
Hadoop之HDFS文件读写过程
一、HDFS读过程 1.1 HDFS API 读文件 [java] view plain copyConfiguration conf = new Configuration(); FileSystem fs = FileSystem.get(conf); Path file = new Path("demo.txt"); FSDataInputStream inStream = ...转载 2018-06-04 21:19:48 · 404 阅读 · 0 评论 -
hadoop hdfs dfs基本操作
hadoop hdfs dfs基本操作 本文主要参考: http://hadoop.apache.org/docs/r2.6.5/hadoop-project-dist/hadoop-common/FileSystemShell.html 根据上面官方文档的提示我们能够知道可以通过shell的方式访问hdfs中的数据,对数据进行操作。那么首先让我们看一下hdfs的版本,使用命令hdfs ve...原创 2018-08-06 17:39:28 · 1832 阅读 · 0 评论