how can I sychronize with hive metadata

2018-09-13 Thread lk_hadoop
hi,all: I wan't to sychronize hive metadata, if one table was added or alter I can be notified , I know there is a HiveMetaHook interface , but it exactly was not a hook. 2018-09-14 lk_hadoop

Re: Re: LineageLogger can't getEdges

2018-09-13 Thread lk_hadoop
is this the reason ? code in Optimizer.java if (postExecHooks.contains("org.apache.hadoop.hive.ql.hooks.PostExecutePrinter") || postExecHooks.contains("org.apache.hadoop.hive.ql.hooks.LineageLogger")) { transformations.add(new Generator()); } 2018-09-13

Re: LineageLogger can't getEdges

2018-09-13 Thread lk_hadoop
I write a log on org.apache.hadoop.hive.ql.Driver : LOG.info("Driver:1866 : " + hookContext.getIndex().getFinalSelectOps().size()); if I config LineageLogger to the log will out put 1 or it will out put 0 , why ?? 2018-09-13 lk_hadoop 发件人:"lk_hadoop" 发送时间

LineageLogger can't getEdges

2018-09-12 Thread lk_hadoop
t put full lineage log. I note that ,if I only config MyLineageLogger , LinkedHashMap> finalSelOps = index.getFinalSelectOps(); will return 0 can anybody give me some clue , why this happen ? thanks... 2018-09-13 lk_hadoop