hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohit Sabharwal <mo...@cloudera.com>
Subject Review Request 43785: HIVE-13099: Non-SQLOperations lead to Web UI NPE
Date Fri, 19 Feb 2016 21:23:10 GMT

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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message