You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2013/01/10 20:00:21 UTC

[jira] [Updated] (HIVE-2935) Implement HiveServer2

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

Thejas M Nair updated HIVE-2935:
--------------------------------

    Attachment: HIVE-2935.3.patch.gz

HIVE-2935.3.patch.gz - Attaching patch with bug fixes and updates needed for recent changes in hive 0.10/trunk.

I am looking for suggestions on how to get this reviewed and committed. As the changes to core are being reviewed as part of HIVE-3785, I think it would be better to continue with earlier patch, and add the fixes in this patch separately. 

The patch also has support for decimal type (HIVE-2693), which is yet to be committed. 
The TestBeelineDriver tests work fine, if applied to branch 0.10. In trunk, changes to describe table output (HIVE-3140) is resulting in two headers getting printed and problems in formatting, and is causing TestBeelineDriver tests to fail. I think the change in HIVE-3140 needs to be revisited.

Highlight of the changes in this patch -
- Adding support for decimal data type in HS2 and JDBC driver. Current implementation uses String to transport BigDecimal.
- Incorporate basic unit test suite for hive server 2. A handpicked sample of TestCliDriver tests are run using jdbc + HS2 under TestBeelineDriver tests by default. These tests don't have issues described earlier and are expected to pass. It also limits the total test runtime.
- Fix problem with "current database" retained between sessions (in Hive class)
- hiveserver2 with concurrency results in incorrect stats - disabling stats test, masking stats
- regenerated thrift code for HiveServer2 + thrift 0.9
- Re-enabling type verification for hive variables/settings 
- Fix OOM on the HiveServer - When running multiple execute operations within a statement, only the last one was being cleaned up at the server leaving leaving orphaned objects on the server.
- Correct handling of binary column in server and driver.
- ANSI standard dicates that null column should be printed as NULL - regen testbeeline benchmarks. Make it compatible with hive cli.
- Enable doAs() functionality for HS2
- Fixed string representation of complex type to bring jdbc driver in compliance with hive client.
- add support for setting properties on cmdline (using -hiveconf) for hiveserver2 
- Making handleToSession map in SessionManager ConcurrentHashMap, as it is used concurrently by multiple threads.
                
> Implement HiveServer2
> ---------------------
>
>                 Key: HIVE-2935
>                 URL: https://issues.apache.org/jira/browse/HIVE-2935
>             Project: Hive
>          Issue Type: New Feature
>          Components: Server Infrastructure
>            Reporter: Carl Steinbach
>            Assignee: Carl Steinbach
>              Labels: HiveServer2
>         Attachments: beelinepositive.tar.gz, HIVE-2935.1.notest.patch.txt, HIVE-2935.2.notest.patch.txt, HIVE-2935.2.nothrift.patch.txt, HIVE-2935.3.patch.gz, HS2-changed-files-only.patch, HS2-with-thrift-patch-rebased.patch
>
>


--
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