hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tao Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-15717) Class "org.apache.hive.beeline.Rows.Row" constructor is CPU consuming due to exception handling
Date Thu, 26 Jan 2017 06:51:24 GMT

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

Tao Li commented on HIVE-15717:
-------------------------------

The local test shows 50% improvement in terms of beeline output time. The latency was reduced
from 12 sec to 6 sec with the optimization.

> Class "org.apache.hive.beeline.Rows.Row" constructor is CPU consuming due to exception
handling
> -----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-15717
>                 URL: https://issues.apache.org/jira/browse/HIVE-15717
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Tao Li
>            Assignee: Tao Li
>         Attachments: HIVE-15717.1.patch, Screen Shot 2017-01-24 at 3.11.09 PM.png, Screen
Shot 2017-01-24 at 3.15.14 PM.png
>
>
> The exception handling from the 3 methods calls (rowDeleted, rowInserted and rowUpdated).
The implementation of these methods in org.apache.hive.jdbc.HiveBaseResultSet class is just
throwing SQLException("Method not supported”), i.e. no real implementations.



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

Mime
View raw message