hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-16061) When hive.async.log.enabled is set to true, some output is not printed to the beeline console
Date Thu, 30 Mar 2017 17:54:41 GMT


Hive QA commented on HIVE-16061:

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 6 failed/errored test(s), 10540 tests executed
*Failed tests:*
org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[drop_with_concurrency] (batchId=231)
org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[escape_comments] (batchId=231)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[comments] (batchId=35)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_if_expr] (batchId=141)
org.apache.hive.hcatalog.api.TestHCatClient.testTransportFailure (batchId=172)
org.apache.hive.service.cli.operation.TestOperationLoggingLayout.testSwitchLogLayout (batchId=216)

Test results:
Console output:
Test logs:

Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 6 tests failed

This message is automatically generated.

ATTACHMENT ID: 12861269 - PreCommit-HIVE-Build

> When hive.async.log.enabled is set to true, some output is not printed to the beeline
> ---------------------------------------------------------------------------------------------
>                 Key: HIVE-16061
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 2.1.1
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>         Attachments: HIVE-16061.1.patch, HIVE-16061.2.patch, HIVE-16061.3.patch
> Run a hiveserver2 instance "hive --service hiveserver2".
> Then from another console, connect to hiveserver2 "beeline -u "jdbc:hive2://localhost:10000"
> When you run a MR job like "select t1.key from src t1 join src t2 on t1.key=t2.key",
some of the console logs like MR job info are not printed to the console while it just print
to the hiveserver2 console.
> When hive.async.log.enabled is set to false and restarts the HiveServer2, then the output
will be printed to the beeline console.
> OperationLog implementation uses the ThreadLocal variable to store associated the log
file. When the hive.async.log.enabled is set to true, the logs will be processed by a ThreadPool
and  the actual threads from the pool which prints the message won't be able to access the
log file stored in the original thread. 

This message was sent by Atlassian JIRA

View raw message