-
Notifications
You must be signed in to change notification settings - Fork 4
Deploy Kado
GaryLee edited this page Apr 21, 2017
·
7 revisions
- web.xml
- log4j2.xm
- config.yaml
- 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.
- 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 |