You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Mohit Sabharwal <mo...@cloudera.com> on 2016/02/19 22:23:10 UTC

Review Request 43785: HIVE-13099: Non-SQLOperations lead to Web UI NPE

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43785/
-----------------------------------------------------------

Review request for hive.


Bugs: HIVE-13099
    https://issues.apache.org/jira/browse/HIVE-13099


Repository: hive-git


Description
-------

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.


Diffs
-----

  service/src/java/org/apache/hive/service/cli/operation/OperationManager.java 96c01de40fa581f1583fc3f9a93a2c71355ebc04 

Diff: https://reviews.apache.org/r/43785/diff/


Testing
-------


Thanks,

Mohit Sabharwal