public static boolean shouldComputeLineage(HiveConf conf) {
    Collection<String> lineageFilter =
      conf.getTrimmedStringCollection(HiveConf.ConfVars.HIVE_LINEAGE_STATEMENT_FILTER.varname);
    return !(lineageFilter.isEmpty() || lineageFilter.contains("NONE"))
      || conf.getBoolVar(ConfVars.HIVE_LINEAGE_INFO);
  }
@return true if HS2 webui query-info cache is enabled
common/src/java/org/apache/hadoop/hive/conf/HiveConf.java