
报错
魂——牵
不断前行
展开
-
shell脚本使用crontab做定时执行
1、编写脚本: #!/bin/bash if [ ! -f "/home/hadoop/shell/crontab/test" ]; then echo "test文件不存在" touch /home/hadoop/shell/crontab/test else echo “删除test文件” rm -rf /home/hadoop/shell/crontab/test fi echo `...原创 2018-12-20 18:07:47 · 438 阅读 · 0 评论 -
hive删除表时报错,解决方案
报错: 1、查看hive使用的mysql连接的jar包, 若为:mysql-connector-java-5.1.17.jar(没带bin的jar包),修改为mysql-connector-java-5.1.46-bin.jar(带bin的jar包之后),就可以正常删除了。 备注:原因和使用的数据库版本有关系。 ...原创 2018-12-24 13:29:56 · 871 阅读 · 0 评论