工作中,常将hive脚本写在一个 hive sql内,然后后台执行,如下:
cdh集群下:
sudo -u hdfs hive -f /cloud/qyjs-2016-03-08-part2.sql &> /cloud/qyjs-2016-03-08-part2.log
如果执行这个sql某块报错下,将 log拖拽到本地,然后搜
Time taken:
比如 Time taken: 113.939 seconds 这里面每一个Time taken都表示 sql文件里面的 一段逻辑执行完毕,
查到几个 就表示 sql文件中跑过了几个,这样就好定位是哪个位置代码块没跑到了。
或者直接去 (cdh集群)/tmp/hdfs/hive.log 里面查看历史日志, 在后台执行的hive sql会将所有执行的命令sql具体语句和执行步骤都会输出到 hive.log里, 这种方式查找到底在哪里报错的 更为直接。
相关推荐
apache-hive-2.1.1-bin.tar apache-hive-2.1.1-bin.tar apache-hive-2.1.1-bin.tarapache-hive-2.1.1-bin.tar apache-hive-2.1.1-bin.tar apache-hive-2.1.1-bin.tarapache-hive-2.1.1-bin.tar apache-hive-2.1.1-...
hive-testbench-hive14.zip 大数据TPCDS自动测试脚本
含两个文件hive-jdbc-3.1.2-standalone.jar和apache-hive-3.1.2-bin.tar.gz 含两个文件hive-jdbc-3.1.2-standalone.jar和apache-hive-3.1.2-bin.tar.gz 含两个文件hive-jdbc-3.1.2-standalone.jar和apache-hive-...
02、hive-exec-2.1.1-cdh6.3.1.jar 03、hive-jdbc-2.1.1-cdh6.3.1.jar 04、hive-jdbc-2.1.1-cdh6.3.1-standalone.jar 05、hive-metastore-2.1.1-cdh6.3.1.jar 06、hive-service-2.1.1-cdh6.3.1.jar 07、libfb303-...
dbeaver连接hive时需要的驱动包hive-jdbc-uber-2.6.5.0-292.jar
hive-jdbc-1.2.1-standalone.jar hive-jdbc驱动jar包,欢迎下载
hive-jdbc-3.1.2-standalone适用于linux
hive-jdbc-2.1.0.jar
Missing Hive Execution Jar: /hive/hive1.2.1/lib/hive-exec-*.jar
hive-jdbc-uber-2.6.5.0-292.jar 驱动下载,hive-jdbc-uber-2.6.5.0-292.jar,hive-jdbc-uber-2.6.5.0-292.jar
hive2.1.1 show create table 表名,hive中文乱码,替换hive-exec-2.1.1.jar
用java连接hive所必须的jar包,包括hadoop-commmon-2.6.4以及hive-jdbc-1.2.1-standalone
hive-jdbc-uber-2.6.5.0-292.jar驱动
hive-exec-3.1.2 排除guava
hive-jdbc-uber-2.6.5.0-292.jar DbVisualizer (as of version 9.5.5) Below is an example configuration using DbVisualizer: Open the Diver Manager dialog ("Tools" > "Driver Manager...") and hit the ...
hive-jdbc-2.3.7-standalone,可用dbeaver连接hive数据库,在工具中进行数据库记录的新增改查
Hive连接的jar包——hive-jdbc-3.1.2-standalone.jar,使用数据库连接软件连接数据仓库时需要使用相应的驱动器驱动,希望对大家有所帮助
hive java开发驱动包列表hive-common-2.3.4.jarhive-exec-2.3.4.jarhive-jdbc-2.3.4.jarhive-llap-client-2.3.4.jarhive-llap-common-2.3.4.jarhive-llap-server-2.3.4.jarhive-llap-tez-2.3.4.jarhive-metastore-...
jdbc连接hive所需的一个包 ( hive-jdbc-3.1.2.jar)
hive-jdbc-2.1.1-cdh6.2.0(ieda等jdbc链接hive2.1.1);cdh6.2.0安装的hive2.1.1