You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Lefty Leverenz (JIRA)" <ji...@apache.org> on 2014/12/14 11:55:14 UTC

[jira] [Commented] (HIVE-4629) HS2 should support an API to retrieve query logs

    [ https://issues.apache.org/jira/browse/HIVE-4629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14245883#comment-14245883 ] 

Lefty Leverenz commented on HIVE-4629:
--------------------------------------

Doc note:  *hive.server2.logging.operation.enabled* and *hive.server2.logging.operation.log.location* are now documented in the wiki, but I need help with the location's default value.  (I tried to generate a template file for 0.14.0, but failed because my new laptop didn't have Maven or JDK and I hit an installation snag.)

In the patch, the default location is {{"$system:java.io.tmpdir" + File.separator + "$system:user.name" + File.separator + "operation_logs"}} -- braces omitted -- but surely that can be simplified for the doc.

* [hive.server2.logging.operation.enabled | https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.server2.logging.operation.enabled]
* [hive.server2.logging.operation.log.location | https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.server2.logging.operation.log.location]

Also, now that HIVE-7615 has been committed we need some guidance about how to use the query logs API.

> HS2 should support an API to retrieve query logs
> ------------------------------------------------
>
>                 Key: HIVE-4629
>                 URL: https://issues.apache.org/jira/browse/HIVE-4629
>             Project: Hive
>          Issue Type: Sub-task
>          Components: HiveServer2
>            Reporter: Shreepadma Venugopalan
>            Assignee: Dong Chen
>              Labels: TODOC14
>             Fix For: 0.14.0
>
>         Attachments: HIVE-4629-no_thrift.1.patch, HIVE-4629.1.patch, HIVE-4629.2.patch, HIVE-4629.3.patch.txt, HIVE-4629.4.patch, HIVE-4629.5.patch, HIVE-4629.6.patch, HIVE-4629.7.patch, HIVE-4629.8.patch, HIVE-4629.9.patch
>
>
> HiveServer2 should support an API to retrieve query logs. This is particularly relevant because HiveServer2 supports async execution but doesn't provide a way to report progress. Providing an API to retrieve query logs will help report progress to the client.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)