hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-16060) GenericUDTFJSONTuple's json cache could overgrow beyond its limit
Date Wed, 01 Mar 2017 00:53:45 GMT


Hive QA commented on HIVE-16060:

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 4 failed/errored test(s), 10297 tests executed
*Failed tests:*
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14] (batchId=223)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query23] (batchId=223)
org.apache.hive.beeline.TestBeeLineWithArgs.testQueryProgressParallel (batchId=211)

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: 4 tests failed

This message is automatically generated.

ATTACHMENT ID: 12855249 - PreCommit-HIVE-Build

> GenericUDTFJSONTuple's json cache could overgrow beyond its limit
> -----------------------------------------------------------------
>                 Key: HIVE-16060
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: UDF
>            Reporter: Chao Sun
>            Assignee: Chao Sun
>         Attachments: HIVE-16060.1.patch, image.png
> At the moment the [cache object|]
used in {{GenericUDTFJSONTuple}} is a static linked hashmap that is not thread-safe. In the
case of HoS it may be accessed concurrently and has race conditions. In particular, its size
may overgrow even though the limit is 32. This can be observed from the attached image.
> An easy way to fix it is to make it non-static.

This message was sent by Atlassian JIRA

View raw message