Hive導入hdfs數據(1)

1 準備文件 E:\hive\hdfs1.txt 2 導入文件到HDFS D:\Soft\hadoop-2.7.6\sbin>hadoop fs -put E:\hive\hdfs1.txt hdfs://localhost:9000/chy-data/ 3 啓動hive創建表 hive> CREATE TABLE hdfs1(id STRING, name STRING) ROW FORMAT
相關文章
相關標籤/搜索