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

Hive QA commented on HIVE-21425:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12962051/HIVE-21425.1.patch

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

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 15824 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[test_teradatabinaryfile] 
(batchId=2)
org.apache.hive.jdbc.TestSSL.testSSLFetch (batchId=260)
{noformat}

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/16459/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/16459/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-16459/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12962051 - PreCommit-HIVE-Build

> Use DirectExecutorService for getInputSummary
> ---------------------------------------------
>
>                 Key: HIVE-21425
>                 URL: https://issues.apache.org/jira/browse/HIVE-21425
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>    Affects Versions: 4.0.0, 3.2.0
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: HIVE-21425.1.patch, HIVE-21425.1.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {code:java|title=Utilities.java}
>       int numExecutors = getMaxExecutorsForInputListing(ctx.getConf(), 
> pathNeedProcess.size());
>       if (numExecutors > 1) {
>         LOG.info("Using {} threads for getContentSummary", numExecutors);
>         executor = Executors.newFixedThreadPool(numExecutors,
>                 new ThreadFactoryBuilder().setDaemon(true)
>                         .setNameFormat("Get-Input-Summary-%d").build());
>       } else {
>         executor = null;
>       }
> {code}
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java#L2482-L2490
> Instead of using a 'null' {{ExecutorService}}, use Guava's 
> {{DirectExecutorService}} and remove special casing for a 'null' value.



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

Reply via email to