摘要:概述:使用dump 方式将mongo数据导出,上传到hdfs,然后在hive中建立外部表。 1. 使用mongodump 将集合导出 mongodump --host=localhost:27017 --db=mydb --collection=users --out=/tmp/root/mongo
阅读全文
随笔分类 - Hive
摘要:将MongoDB数据导入Hive,出现FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. com/mongodb/util/JSON错误
阅读全文