Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

update measure/src/main/resources/env.json with your elastic search instance, 

Code Block
languagejs
{

  "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.

...