摘要: 1. 剪切和粘贴 阅读全文
posted @ 2019-01-22 16:05 峰峰仔 阅读(6543) 评论(0) 推荐(0) 编辑
摘要: 当mysql中的字段为tinyint类型时,通过sqoop导入数据到hdfs上,在hdfs上显示的是true,false值。为了显示0,1。 解决方法: jdbc:mysql://<hostname>:<port>/<dbname>?tinyInt1isBit=false 阅读全文
posted @ 2019-01-22 15:52 峰峰仔 阅读(906) 评论(0) 推荐(0) 编辑