
sqoop
哭着改bug
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Error: Error while compiling statement: FAILED: SemanticException Schema of both sides of union shou
sqoop任务导数据到hive报错:Error: Error while compiling statement: FAILED: SemanticException Schema of both sides of union should match. (state=42000,code=40000)原因是hive中做union时,查询到的两个表的有差异,列名不一致。删除表重导即可。...原创 2020-02-21 09:24:38 · 7252 阅读 · 0 评论 -
ERROR tool.ImportTool: Import failed: java.io.IOException: Generating splits for a textual index col
sqoop任务报错:异常内容:ERROR tool.ImportTool: Import failed: java.io.IOException: Generating splits for a textual index column allowed only in case of “-Dorg.apache.sqoop.splitter.allow_text_splitter=true” ...原创 2020-02-19 09:39:53 · 2238 阅读 · 0 评论 -
sqoop中遇到的坑 --username: command not found
sqoop遇到实际问题shell脚本中代码如下:#!/bin/bashd1=$(date -d "$1" +%Y-%m-%d" "%H:%M:%S)d2=$(date -d "$2" +%Y-%m-%d" "%H:%M:%S)time=$(date -d "-1 day" +%Y-%m-%d)sqoop import \--connect \jdbc:mysql://node3:3...原创 2020-01-09 09:28:07 · 5205 阅读 · 0 评论