You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2014/09/27 02:20:35 UTC

[jira] [Commented] (HIVE-7752) isClosed is accessed without holding lock in HiveClientCache#CacheableHiveMetaStoreClient#isClosed()

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

Hive QA commented on HIVE-7752:
-------------------------------



{color:red}Overall{color}: -1 at least one tests failed

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

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 6358 tests executed
*Failed tests:*
{noformat}
org.apache.hive.hcatalog.pig.TestOrcHCatLoader.testReadDataPrimitiveTypes
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1003/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1003/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-1003/

Messages:
{noformat}
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: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12671382

> isClosed is accessed without holding lock in HiveClientCache#CacheableHiveMetaStoreClient#isClosed()
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-7752
>                 URL: https://issues.apache.org/jira/browse/HIVE-7752
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>         Attachments: HIVE-7752.patch
>
>
> Assignment to isClosed is protected by holding lock "CacheableHiveMetaStoreClient.this"
> {code}
>     public boolean isClosed() {
>       return isClosed;
> {code}
> The above method should carry synchronized keyword.



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