THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
#spring boot app org.apache.griffin.core.GriffinWebApplication |
ui : front end
configure to reflect your dev env in several files
update service/src/main/resources/application.properties
...
update measure/src/main/resources/env.json to reflect with 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": {
}
}
|
and copy env.json to griffin work directory in hdfs.
update service/src/main/resources/sparkJob.properties file
Code Block | ||
---|---|---|
| ||
sparkJob.file = hdfs://<griffin measure path>/griffin-measure.jar
sparkJob.args_1 = hdfs://<griffin work directory>/env.json
sparkJob.jars_1 = hdfs://<pathTo>/datanucleus-api-jdo-3.2.6.jar
sparkJob.jars_2 = hdfs://<pathTo>/datanucleus-core-3.2.10.jar
sparkJob.jars_3 = hdfs://<pathTo>/datanucleus-rdbms-3.2.9.jar
sparkJob.uri = http://<your IP>:8998/batches |
update ui/js/services/service.js
...