You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Mike Li (JIRA)" <ji...@apache.org> on 2018/03/07 03:31:00 UTC

[jira] [Commented] (HIVE-14183) hive 2.1.0 beeline cannot show verbose log

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

Mike Li commented on HIVE-14183:
--------------------------------

any update? I need this useful feature.

> hive 2.1.0 beeline cannot show verbose log
> ------------------------------------------
>
>                 Key: HIVE-14183
>                 URL: https://issues.apache.org/jira/browse/HIVE-14183
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline, HiveServer2
>    Affects Versions: 2.1.0
>            Reporter: jack
>            Assignee: Prasanth Jayachandran
>            Priority: Major
>
> In Hive 1.2.1 , config the log verbose , the beeline client will show the verbose log like this:
> 16/07/07 13:29:33 INFO mapreduce.Job: The url to track the job: http://host:8088/proxy/application_1467708727273_0035/
> 16/07/07 13:29:33 INFO exec.Task: Starting Job = job_1467708727273_0035, Tracking URL = http://host:8088/proxy/application_1467708727273_0035/
> 16/07/07 13:29:33 INFO exec.Task: Kill Command = /hadoop/hadoop-2.7.2/bin/hadoop job  -kill job_1467708727273_0035
> 16/07/07 13:30:07 INFO exec.Task: Hadoop job information for Stage-1: number of mappers: 1; number of reducers: 1
> 16/07/07 13:30:07 WARN mapreduce.Counters: Group org.apache.hadoop.mapred.Task$Counter is deprecated. Use org.apache.hadoop.mapreduce.TaskCounter instead
> 16/07/07 13:30:07 INFO exec.Task: 2016-07-07 13:30:07,905 Stage-1 map = 0%,  reduce = 0%
> 16/07/07 13:30:17 INFO exec.Task: 2016-07-07 13:30:17,757 Stage-1 map = 100%,  reduce = 0%, Cumulative CPU 2.39 sec
> 16/07/07 13:30:28 
> the verbose config:
>   <property>
>     <name>hive.server2.logging.operation.enabled</name>
>     <value>true</value>
>     <description>When true, HS2 will save operation logs and make them available for clients</description>
>   </property>
>   <property>
>     <name>hive.server2.logging.operation.log.location</name>
>     <value>/hadooplog/apache-hive-1.2.1-bin/operation_logs</value>
>     <description>Top level directory where operation logs are stored if logging functionality is enabled</description>
>   </property>
>   <property>
>     <name>hive.server2.logging.operation.level</name>
>     <value>VERBOSE</value>
>     <description>
>       Expects one of [none, execution, performance, verbose].
>       HS2 operation logging mode available to clients to be set at session level.
>       For this to work, hive.server2.logging.operation.enabled should be set to true.
>         NONE: Ignore any logging
>         EXECUTION: Log completion of tasks
>         PERFORMANCE: Execution + Performance logs
>         VERBOSE: All logs
>     </description>
>   </property>
> However, when upgrade to hive 2.1.0, with the same verbose configure, the verbose log cannot show.



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