Skip to content

Deploy Kado

GaryLee edited this page Apr 21, 2017 · 7 revisions

Deploy Kado

Configuration Kado

  • web.xml
  • log4j2.xm
  • config.yaml

log4j2.xml

  • The configuration of log4j2. Since the utilities for job report uses the SMTP appenders of log4j2, the configuration of SMTP appender is necessarily needed.
  • Please do not remove or modify the contents of "getLogDir" appender in log4j2.xml. The appender is used to access the local directory of query logs. Deletion or modification might cause kado be abnormal.

Config.yaml

  • The main configuration file of kado, the properties are listed below.
Name Default Value Subscribe
prestoURL http://localhost:8080 The Presto Web URL
siteURLBase http://localhost:8889 Kado Web Site URL
csvlocalPath /jetty/csv_temp The local directory for storing query results
logpath /jetty/logs The Local directory for storing Logs
database presto_temp The temporary table for recording query results in Hive
hivepath /user/hive/warehouse The HDFS directory of Hive
prestoCatalog hive The configuration for connecting Hive by Presto
expiration 7 The duration of days for retaining query results in a temporary table.
deleteLogTTL 30 The duration of days for retaining kado logs
sqliteName Kado.sqlite The database name of kado in the SQLite
presto_hdfs_user root The user for Presto directory owner of HDFS
wrtierinjection class$class The writer classes which are supported by kado. Please use '$' to separate different classes in this configuration value.
downloadToken sha256 string The user define token string for download result
Clone this wiki locally