-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mongo-hadoop项目使用pig将数据导入mongodb及使用load data从本地将数据导入到mysql #58
Labels
Comments
使用pig将数据输出到MongoDb需要使用mongo-hadoop项目,自行构建编译 使用gradle构建mongo-hadoop ./gradlew jar -Phadoop_version='2.2' 运行 pig -x local pig_mongo_storage.pig pig_mongo_storage.pig内容如下:
|
weblog_entries.txt
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
若出现
ERROR 1148 (42000): The used command is not allowed with this MySQL version
使用如下方式连接mysql
使用
LOAD DATA LOCAL
从本地数据文件导入数据库表中The text was updated successfully, but these errors were encountered: