THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
configure to reflect your dev env in several files
create a griffin working directory in hdfs
Code Block | ||
---|---|---|
| ||
hdfs dfs -mkdir -p <griffin working dir> |
init quartz tables by service/src/main/resources/Init_quartz.sql
Code Block | ||
---|---|---|
| ||
mysql -u username -p quartz < service/src/main/resources/Init_quartz.sql |
update service/src/main/resources/application.properties
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" |
create a griffin working directory in hdfs
Code Block | ||
---|---|---|
| ||
hdfs dfs -mkdir -p <griffin working dir> |
...
update measure/src/main/resources/env.json with your elastic search instance, and copy env.json to griffin working directory in hdfs.
...