[ 
https://issues.apache.org/jira/browse/HIVE-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thejas M Nair updated HIVE-4498:
--------------------------------

    Attachment: HIVE-4498.1.patch

HIVE-4498.1.patch - TUGIContainingProcessor calls  shim.closeAllForUGI() to 
free up entries from FileSystem.CACHE. But that ends resulting in the empty 
result being fetched in the next call.

The best way to fix the memory leak, in my opinion is to just disable the 
FileSystem cache.  See HIVE-4501


                
> TestBeeLineWithArgs.testPositiveScriptFile fails
> ------------------------------------------------
>
>                 Key: HIVE-4498
>                 URL: https://issues.apache.org/jira/browse/HIVE-4498
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI, HiveServer2, JDBC
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>            Priority: Blocker
>             Fix For: 0.11.0
>
>         Attachments: HIVE-4498.1.patch
>
>
> TestBeeLineWithArgs.testPositiveScriptFile fails -
> {code}
>    [junit] 0: jdbc:hive2://localhost:10000> >>> STARTED 
> testBreakOnErrorScriptFile
>     [junit] Output: Connecting to jdbc:hive2://localhost:10000
>     [junit] Connected to: Hive (version 0.12.0-SNAPSHOT)
>     [junit] Driver: Hive (version 0.12.0-SNAPSHOT)
>     [junit] Transaction isolation: TRANSACTION_REPEATABLE_READ
>     [junit] Beeline version 0.12.0-SNAPSHOT by Apache Hive
>     [junit] +----------------+
>     [junit] | database_name  |
>     [junit] +----------------+
>     [junit] +----------------+
>     [junit] No rows selected (0.899 seconds)
>     [junit] Closing: org.apache.hive.jdbc.HiveConnection
>     [junit]
>     [junit] >>> FAILED testPositiveScriptFile (ERROR) (2s)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to