use of org.apache.hadoop.hive.ql.session.SessionState.LogHelper in project hive by apache.
the class VerifyOverriddenConfigsHook method run.
public void run(HookContext hookContext) {
LogHelper console = SessionState.getConsole();
SessionState ss = SessionState.get();
if (console == null || ss == null) {
return;
}
for (Entry<String, String> entry : ss.getOverriddenConfigurations().entrySet()) {
if (keysList.contains(entry.getKey())) {
console.printError("Key: " + entry.getKey() + ", Value: " + entry.getValue());
}
}
}
Aggregations