----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/70784/#review215924 -----------------------------------------------------------
Ship it! Ship It! - Sarath Subramanian On June 4, 2019, 11:41 a.m., Yu-Hsin Shih wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/70784/ > ----------------------------------------------------------- > > (Updated June 4, 2019, 11:41 a.m.) > > > Review request for atlas, Ashutosh Mestry, Aadarsh Jajodia, Sridhar K, Le Ma, > Madhan Neethiraj, and Sarath Subramanian. > > > Bugs: ATLAS-3198 > https://issues.apache.org/jira/browse/ATLAS-3198 > > > Repository: atlas > > > Description > ------- > > Stop pushing message to ATLAS_HOOK for Truncate Table/Delete data/Update > data, make sure both ATLAS_HOOK and ATLAS_ENTITIES no longer receive message > to save CPU time. > > > Diffs > ----- > > addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java > c0094c634 > > addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/CreateHiveProcess.java > c4b3ac72f > addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java > c83016291 > > > Diff: https://reviews.apache.org/r/70784/diff/1/ > > > Testing > ------- > > 1. Manual tested > Run Truncate Table/Delete data/Update data on hive via beeline and > validate in a VM with hive and atlas service running. After code change, > message is no longer recorded for these operations in both ATLAS_HOOK and > ATLAS_ENTITIES. > 2. Update Integration Test for Truncate Table > > > Thanks, > > Yu-Hsin Shih > >