hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Syed Albiz" <s.s.al...@gmail.com>
Subject Review Request: HIVE-2286: ClassCastException when building index with security.authorization turned on
Date Fri, 15 Jul 2011 22:33:48 GMT

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

Review request for hive, John Sichi and Ning Zhang.


Summary
-------

Save the original HiveOperation/commandType when we generate the index builder task and restore
it after we're done generating the task so that the authorization checks make the right decision
when deciding what to do.


This addresses bug HIVE-2286.
    https://issues.apache.org/jira/browse/HIVE-2286


Diffs
-----

  ql/src/test/results/clientpositive/index_auth.q.out PRE-CREATION 
  ql/src/java/org/apache/hadoop/hive/ql/index/bitmap/BitmapIndexHandler.java 61bbbf5 
  ql/src/java/org/apache/hadoop/hive/ql/index/compact/CompactIndexHandler.java 7c91946 
  ql/src/test/queries/clientpositive/index_auth.q PRE-CREATION 

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


Testing
-------

Added new testcase to TestCliDriver: index_auth.q


Thanks,

Syed


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