简体   繁体   English

使用Jdbc或Beeline查询Hive SQL,如何显示正在运行的Map Reduce作业的进度

[英]Query Hive SQL Using Jdbc Or Beeline, How to show progress of running map reduce jobs

I'm currently encountering a problem. 我目前遇到问题。 To execute hive sql and show the progress or detailed info of running queries. 执行配置单元sql并显示运行查询的进度或详细信息。 I've read Hive Documents for help. 我已阅读Hive文档以寻求帮助。 But with hive-jdbc I can only wait until a query ends without any progress information, this is especially unacceptable when executing a large query which takes minutes or hours. 但是使用hive-jdbc时,我只能等到查询结束而没有任何进度信息,这在执行耗时数小时或数小时的大型查询时尤其不可接受。 Is there any good solution to query hive sql and simultaneously get corresponding map-reduce job progress details? 有什么好的解决方案来查询hive sql并同时获取相应的map-reduce作业进度详细信息?

Hive JDBC doesn't provide any information regarding the Progress of Query. Hive JDBC不提供有关查询进度的任何信息。 It only gives success/ Error message. 它仅给出成功/错误消息。 To get the HQL progress, you have to use beeline / hive-shell. 要获得HQL进度,您必须使用beeline / hive-shell。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM