hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimmy Xiang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-13099) Non-SQLOperations lead to Web UI NPE
Date Mon, 22 Feb 2016 16:42:18 GMT

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

Jimmy Xiang updated HIVE-13099:
-------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 2.1.0
           Status: Resolved  (was: Patch Available)

Integrated into trunk. Thanks Moit for the patch.

> Non-SQLOperations lead to Web UI NPE
> ------------------------------------
>
>                 Key: HIVE-13099
>                 URL: https://issues.apache.org/jira/browse/HIVE-13099
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Mohit Sabharwal
>            Assignee: Mohit Sabharwal
>             Fix For: 2.1.0
>
>         Attachments: HIVE-13099.patch
>
>
> To support display of live operations in the WebUI, we record SQLOperations (in {{liveSqlOperations}}).

> However, to support historic operations, we save all operations in {{historicSqlOperations}},
including non-SQLOperations which do not have display entries in liveSqlOperations.
> This leads to a race condition depending on whether sessions use non-sql operations.
Reproduce-able by issuing a 'set' operation.
> {code}
> java.lang.NullPointerException
>         at org.apache.hive.generated.hiveserver2.hiveserver2_jsp._jspService(hiveserver2_jsp.java:131)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
> {code}
> We should save only SQLOperations in historicSqlOperations.



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

Mime
View raw message