ERROR tool.ImportTool: Import failed: java.io.IOException: Generating splits for a textual index col

news/2024/7/7 7:56:58

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” property passed as a parameter

解决方案:
在sqoop import命令后加参数 -Dorg.apache.sqoop.splitter.allow_text_splitter=true


http://www.niftyadmin.cn/n/4472220.html

相关文章

Android GridView 横向滚动 一行显示

都知道gridview和listview是android比较重要的数据组件&#xff0c; 接到一个横向显示数据的任务&#xff0c;头大半天&#xff0c;最后只能用gridview试试了。呵呵&#xff0c;费了N多脑细胞&#xff0c;搞定。 布局文件main.xml [java] view plaincopy <?xml version&…

JAVA 获取两个日期间的所有日期

2019独角兽企业重金招聘Python工程师标准>>> public static List<String> getDates(Date startDate, Date endDate){ SimpleDateFormat sdf new SimpleDateFormat("yyyyMMdd"); List<String> dates new ArrayLis…

navicat报错SSH:Unable to load key

navicat的版本比较老了。在加载ssh的pub key时报这个错。这个private key确实可以用来登录服务器。而且navicat也能够加载以前的private key&#xff0c;那么问题只有一个&#xff1a;文件有问题 我的解决办法是安装新版的navicat&#xff0c;问题已解决&#xff01;

Error: Error while compiling statement: FAILED: SemanticException Schema of both sides of union shou

sqoop任务导数据到hive报错&#xff1a; Error: Error while compiling statement: FAILED: SemanticException Schema of both sides of union should match. (state42000,code40000) 原因是hive中做union时&#xff0c;查询到的两个表的有差异&#xff0c;列名不一致。删除…

用GridView实现Gallery的效果

本帖最后由 likeyou 于 2011-11-7 21:01 编辑 在实现横向的类似Gallery的效果中做了实现Gallery的尝试&#xff0c;但是效果不好。使用的是TableLayout&#xff0c;出现了横向拖动图片的时候&#xff0c;因为有倾斜&#xff08;轻微的竖向拖动&#xff09;&#xff0c;会整个…

如何写出一手好的小程序之多端架构篇

作为微信小程序底层 API 维护者之一&#xff0c;经历了风风雨雨、各种各样的吐槽。为了让大家能更好的写一手小程序&#xff0c;特地梳理一篇文章介绍。如果有什么吐槽的地方&#xff0c;欢迎去 developers.weixin.qq.com/ 开发者社区吐槽。 PS: 老板要找人&#xff0c;对自己有…

利用反射机制,封装 SAX解释类,从而解释网络xml文件

利用反射机制&#xff0c;封装 SAX解释类&#xff0c;从而解释网络xml文件个人觉得&#xff0c;在android应用开发领域中&#xff0c;与服务器交互是必不可少的。一般都是以解释xml为主要。其实获取网络上的xml和获取本地xml原理一样&#xff0c;只是获取网络xml 多了一层http…

数据分析展现工具SmartBI

数据分析展现工具SmartBIBIhttps://blog.csdn.net/bingoxubin/article/details/78720104?utm_sourceblogxgwz0转载于:https://www.cnblogs.com/zhanying999666/p/9816201.html