Files
impala/cmake_modules/FindRapidJson.cmake
Lenni Kuff e0876b951b Add support for audit event logging
This change adds support audit event logging in Impala. This feature is
disabled by default and is enabled by setting the -audit_event_log_dir
flag. When auditing is enabled, details on each query that Impala executes
will be saved to the audit log along with the current session state. This
includes information such as the statement type, catalog objects accessed
by the query, and whether there the operation passed authorization.

Change-Id: I39b78664c971124ec79c5fcee998065dd53fd32e
Reviewed-on: http://gerrit.ent.cloudera.com:8080/142
Reviewed-by: Lenni Kuff <lskuff@cloudera.com>
Tested-by: Lenni Kuff <lskuff@cloudera.com>
2014-01-08 10:52:08 -08:00

29 lines
643 B
CMake

# - Find rapidjson headers and lib.
# This module defines RAPIDJSON_INCLUDE_DIR, directory containing headers
set(RAPIDJSON_SEARCH_HEADER_PATHS
${CMAKE_SOURCE_DIR}/thirdparty/rapidjson/include/rapidjson
)
set(RAPIDJSON_INCLUDE_DIR
${CMAKE_SOURCE_DIR}/thirdparty/rapidjson/include
)
if (RAPIDJSON_INCLUDE_DIR)
set(RAPIDJSON_FOUND TRUE)
else ()
set(RAPIDJSON_FOUND FALSE)
endif ()
if (RAPIDJSON_FOUND)
if (NOT RAPIDJSON_FIND_QUIETLY)
message(STATUS "RapidJson headers found in: ${RAPIDJSON_INCLUDE_DIR}")
endif ()
else ()
message(STATUS "RapidJson headers NOT found.")
endif ()
mark_as_advanced(
RAPIDJSON_INCLUDE_DIR
)