hive hms和hs2的sql执行日志分析

HMS日志:

2024-12-02 15:39:20,811 INFO org.apache.hadoop.hive.metastore.HiveMetaStore: [pool-8-thread-114]: 114: source:10.11.17.999 get_all_databases

2024-12-02 15:39:20,812 INFO org.apache.hadoop.hive.metastore.HiveMetaStore.audit: [pool-8-thread-114]: ugi=hive ip=10.11.17.999 cmd=source:10.11.17.999 get_all_databases --请求ip及请求的数据内容

HS2日志:

HiveServer2-Handler-Pool: Thread-190281\]: Using the default value passed in for log id: c095e5ef-b29a-4524-8ad3-04ba52546cbe \[HiveServer2-Handler-Pool: Thread-190281\]: Updating thread name to c095e5ef-b29a-4524-8ad3-04ba52546cbe HiveServer2-Handler-Pool: Thread-190281 \[c095e5ef-b29a-4524-8ad3-04ba52546cbe HiveServer2-Handler-Pool: Thread-190281\]: Adding operation: OperationHandle \[opType=EXECUTE_STATEMENT, getHandleIdentifier()=311acd89-1594-4c1b-bdbf-26de06496ced

c095e5ef-b29a-4524-8ad3-04ba52546cbe HiveServer2-Handler-Pool: Thread-190281\]: Compiling command(queryId=hive_20241202153920_217e1a21-acc4-499f-becb-12fa49ff3be8): show databases 编译开始时间 --根据sql找到位置,根据Thread-190281 查询线程运行,根据产生的queryId,往后查sql执行。 \[c095e5ef-b29a-4524-8ad3-04ba52546cbe HiveServer2-Handler-Pool: Thread-190281\]: Semantic Analysis Completed \[c095e5ef-b29a-4524-8ad3-04ba52546cbe HiveServer2-Handler-Pool: Thread-190281\]: Returning Hive schema: Schema(fieldSchemas:\[FieldSchema(name:database_name, type:string, comment:from deserializer)\], properties:null) \[c095e5ef-b29a-4524-8ad3-04ba52546cbe HiveServer2-Handler-Pool: Thread-190281\]: Initializing operator LIST_SINK\[0

c095e5ef-b29a-4524-8ad3-04ba52546cbe HiveServer2-Handler-Pool: Thread-190281\]: Completed compiling command(queryId=hive_20241202153920_217e1a21-acc4-499f-becb-12fa49ff3be8); Time taken: 0.014 seconds 编译结束时间 \[c095e5ef-b29a-4524-8ad3-04ba52546cbe HiveServer2-Handler-Pool: Thread-190281\]: Using the default value passed in for log id: c095e5ef-b29a-4524-8ad3-04ba52546cbe \[c095e5ef-b29a-4524-8ad3-04ba52546cbe HiveServer2-Handler-Pool: Thread-190281\]: Resetting thread name to HiveServer2-Handler-Pool: Thread-190281 \[HiveServer2-Background-Pool: Thread-191087\]: Executing command(queryId=hive_20241202153920_217e1a21-acc4-499f-becb-12fa49ff3be8): show databases 执行sql开始! \[HiveServer2-Background-Pool: Thread-191087\]: Starting task \[Stage-0:DDL\] in serial mode \[HiveServer2-Background-Pool: Thread-191087\]: results : 12 \[HiveServer2-Background-Pool: Thread-191087\]: Completed executing command(queryId=hive_20241202153920_217e1a21-acc4-499f-becb-12fa49ff3be8); Time taken: 0.003 seconds 执行sql结束时间! \[HiveServer2-Background-Pool: Thread-191087\]: OK \[HiveServer2-Handler-Pool: Thread-190281\]: Using the default value passed in for log id: c095e5ef-b29a-4524-8ad3-04ba52546cbe \[HiveServer2-Handler-Pool: Thread-190281\]: Updating thread name to c095e5ef-b29a-4524-8ad3-04ba52546cbe HiveServer2-Handler-Pool: Thread-190281 。。。。。。 \[c095e5ef-b29a-4524-8ad3-04ba52546cbe HiveServer2-Handler-Pool: Thread-190281\]: Closing operation: OperationHandle \[opType=EXECUTE_STATEMENT, getHandleIdentifier()=311acd89-1594-4c1b-bdbf-26de06496ced

相关推荐
养生技术人4 小时前
Oracle OCP认证考试题目详解082系列第54题
数据库·sql·oracle·运维开发·database·开闭原则·ocp
编程充电站pro6 小时前
SQL 子查询与多表 JOIN 用法大全(速查版)
数据库·sql
Dersun7 小时前
mysql数据库学习之常用函数(五)
数据库·sql·学习·mysql·ai编程
IT毕设梦工厂10 小时前
大数据毕业设计选题推荐-基于大数据的人口普查收入数据分析与可视化系统-Hadoop-Spark-数据可视化-BigData
大数据·hadoop·数据分析·spark·毕业设计·源码·bigdata
木心操作10 小时前
nodejs动态创建sql server表
前端·javascript·sql
计算机源码社10 小时前
基于Hadoop的车辆二氧化碳排放量分析与可视化系统|基于Spark的车辆排放量实时监控与预测系统|基于数据挖掘的汽车排放源识别与减排策略系统
大数据·hadoop·机器学习·数据挖掘·spark·毕业设计·课程设计
养生技术人10 小时前
Oracle OCP认证考试题目详解082系列第50题
运维·数据库·sql·oracle·database·开闭原则
来碗原味的小米粥吧16 小时前
sql题目基础50题
linux·数据库·sql
武昌库里写JAVA1 天前
Java设计模式之工厂模式
java·vue.js·spring boot·后端·sql
奥尔特星云大使1 天前
MySQL 备份基础(一)
数据库·sql·mysql·备份·mysql备份