THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
spring.datasource.url = jdbc:mysql://<your IP>:3306/quartz?autoReconnect=true&useSSL=false spring.datasource.username = <user name> spring.datasource.password = <password> hive.metastore.uris = thrift://<your IP>:9083 hive.metastore.dbname = <hive database name> # default is "default" |
update measure/src/main/resources/env.json to reflect your elastic search instance.
Code Block | ||
---|---|---|
| ||
{
"spark": {
"log.level": "INFO",
"checkpoint.dir": "hdfs:///griffin/batch/cp",
"config": {}
},
"persist": [
{
"type": "hdfs",
"config": {
"path": "hdfs:///griffin/streaming/persist",
"max.persist.lines": 10000,
"max.lines.per.file": 10000
}
},
{
"type": "http",
"config": {
"method": "post",
"api": "http://HOSTNAME:9200/griffin/accuracy"
}
}
],
"cleaner": {
}
}
|
update ui/js/services/service.js
Code Block | ||
---|---|---|
| ||
#make sure you can access es by http ES_SERVER = "http://<your IP>:9200" |
...