设为首页 加入收藏

TOP

脚本判断hdfs上的文件是否存在
2018-11-26 17:04:41 】 浏览:117
Tags:脚本 判断 hdfs 文件 是否 存在
hadoop fs -test -e /user/hive/INSTALL/_SUCCESS
if [ $ -eq 0 ]
then
hive -e "load data inpath '/user/hive/CS_INSTALL' overwrite into table userinstall_nor_f partition (etl_date=$prex) "
exit
fi
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇HIVE排序函数大小写敏感 下一篇Hive_5. Hive QL -- Hive 查询优化

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目