Commit 65d95ebe by Suma Shivaprasad

ATLAS-834 Handle exceptions from HiveHook executor.submit() (sumasai)

parent 56c13aa3
......@@ -154,7 +154,7 @@ public class HiveHook extends AtlasHook implements ExecuteWithHookContext {
@Override
public void run(final HookContext hookContext) throws Exception {
// clone to avoid concurrent access
try {
final HiveConf conf = new HiveConf(hookContext.getConf());
final HiveEventContext event = new HiveEventContext();
......@@ -180,11 +180,14 @@ public class HiveHook extends AtlasHook implements ExecuteWithHookContext {
try {
fireAndForget(event);
} catch (Throwable e) {
LOG.info("Atlas hook failed", e);
LOG.error("Atlas hook failed due to error ", e);
}
}
});
}
} catch(Throwable t) {
LOG.error("Submitting to thread pool failed due to error ", t);
}
}
private void fireAndForget(HiveEventContext event) throws Exception {
......
......@@ -22,6 +22,7 @@ ATLAS-409 Atlas will not import avro tables with schema read from a file (dosset
ATLAS-379 Create sqoop and falcon metadata addons (venkatnrangan,bvellanki,sowmyaramesh via shwethags)
ALL CHANGES:
ATLAS-834 Handle exceptions from HiveHook executor.submit() (sumasai)
ATLAS-635 Process showing old entity name where as actual entity is renamed ( svimal2106 via sumasai )
ATLAS-823 Atlas should use external HBase and SOLR (tbeerbower via shwethags)
ATLAS-752 Column renames should retain traits/tags (svimal2106 via shwethags)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment