THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
update measure/src/main/resources/env.json 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", "/*Please update as your elastic search instance*/ "api": "http://HOSTNAME:9200/griffin/accuracy" } } ], "cleaner": { } } |
and copy env.json to griffin work directory in hdfs.
...