MCPcopy Create free account
hub / github.com/apache/impala / InitLineageLogging

Method InitLineageLogging

be/src/service/impala-server.cc:748–759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

746}
747
748Status ImpalaServer::InitLineageLogging() {
749 if (!IsLineageLoggingEnabled()) {
750 LOG(INFO) << "Lineage logging is disabled";
751 return Status::OK();
752 }
753 lineage_logger_.reset(new SimpleLogger(FLAGS_lineage_event_log_dir,
754 LINEAGE_LOG_FILE_PREFIX, FLAGS_max_lineage_log_file_size));
755 RETURN_IF_ERROR(lineage_logger_->Init());
756 RETURN_IF_ERROR(Thread::Create("impala-server", "lineage-log-flush",
757 &ImpalaServer::LineageLoggerFlushThread, this, &lineage_logger_flush_thread_));
758 return Status::OK();
759}
760
761bool ImpalaServer::IsAuditEventLoggingEnabled() {
762 return !FLAGS_audit_event_log_dir.empty();

Callers

nothing calls this directly

Calls 4

OKFunction · 0.85
CreateClass · 0.85
resetMethod · 0.65
InitMethod · 0.45

Tested by

no test coverage detected