![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
个人工作记录
ZhangWenXuan。
lets do it
展开
-
docker手动打image
1.准备好war包2.将war包和Dockerfile放在同一目录下3. 编辑Dockerfile4 . 登录docker仓库docker login registry.c2cloud.cn5. build镜像docker build -t registry.c2cloud.cn/kcbdp/c2-bdg-dcs-service:1.1.1 ....原创 2019-07-24 10:28:44 · 416 阅读 · 0 评论 -
Sqoop1.99.7:encoded string too long: xxxx bytes问题记录
版本:Sqoop1.99.7问题描述:在项目上需要从oracle交换数据到hive中,oracle表中有大字段(clob,blob等),在mapper阶段抛出了encoded string too long 错误。原因:因为Sqoop中间交换的数据格式默认使用的是CSVIntermediateDataFormatpublic void write(DataOutput out) 方法会把m...原创 2019-07-24 10:53:01 · 623 阅读 · 0 评论 -
Hive有分区文件到时select不到数据问题-----修复分区命令 msck repair table xxxxx
问题:在导数据到hive分区表时, 手动把HDFS路径建好了,然后把对应的文件添加到路径下。 这时用select语句查询却查不到数据。原因:虽然分区文件有了,但是分区信息没有添加到hive元数据表中。解决方法:运行命令msck repair table xxxxx, 修复hive分区将分区信息加到元数据表...原创 2019-08-02 14:42:30 · 3001 阅读 · 0 评论