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

ASF GitHub Bot commented on HIVE-15631:
---------------------------------------

GitHub user Tartarus0zm opened a pull request:

    https://github.com/apache/hive/pull/295

    HIVE-15631

    When the Hive client is started, the sessionid is printed from the console.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Tartarus0zm/hive console_sessionid

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/hive/pull/295.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #295
    
----
commit 1d0c2d606013498b246f5a30b1972ad8b10cb9a2
Author: Tartarus <zhangmang@...>
Date:   2018-01-22T08:47:56Z

    HIVE-15631
    When the Hive client is started, the sessionid is printed from the console.

----


> Optimize for hive client logs , you can filter the log for each session 
> itself.
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-15631
>                 URL: https://issues.apache.org/jira/browse/HIVE-15631
>             Project: Hive
>          Issue Type: Improvement
>          Components: CLI, Clients, Hive
>            Reporter: tartarus
>            Assignee: tartarus
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE_15631.patch, image-2018-01-22-16-37-26-065.png, 
> image-2018-01-22-16-38-20-502.png
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> We have several hadoop cluster, about 15 thousand nodes. Every day we use 
> hive to submit above 100 thousand jobs. 
> So we have a large file of hive logs on every client host every day, but i 
> don not know the logs of my session submitted was which line. 
> So i hope to print the hive.session.id on every line of logs, and then i 
> could use grep to find the logs of my session submitted. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to