Versions Compared

Key

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

...

Code Block
languagetext
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
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",

        "api": "http://HOSTNAME:9200/griffin/accuracy"

      }

    }

  ],




  "cleaner": {




  }

}




 

update ui/js/services/service.js 

Code Block
languagetext
#make sure you can access es by http
ES_SERVER = "http://<your IP>:9200"

...