properties
Project: http://git-wip-us.apache.org/repos/asf/incubator-griffin/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-griffin/commit/06c7f0e7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-griffin/tree/06c7f0e7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-griffin/diff/06c7f0e7 Branch: refs/heads/griffin-0.2.0-incubating-rc4 Commit: 06c7f0e7d9fda735737dd623ccdd0ee6743bd7e9 Parents: a09f70e Author: Lionel Liu <[email protected]> Authored: Tue Apr 24 10:51:58 2018 +0800 Committer: Lionel Liu <[email protected]> Committed: Tue Apr 24 10:51:58 2018 +0800 ---------------------------------------------------------------------- .../core/metastore/hive/HiveMetaStoreServiceImpl.java | 3 --- service/src/main/resources/application.properties | 8 ++++---- service/src/main/resources/sparkJob.properties | 7 ++----- 3 files changed, 6 insertions(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-griffin/blob/06c7f0e7/service/src/main/java/org/apache/griffin/core/metastore/hive/HiveMetaStoreServiceImpl.java ---------------------------------------------------------------------- diff --git a/service/src/main/java/org/apache/griffin/core/metastore/hive/HiveMetaStoreServiceImpl.java b/service/src/main/java/org/apache/griffin/core/metastore/hive/HiveMetaStoreServiceImpl.java index b4d1a8c..b1c9d1a 100644 --- a/service/src/main/java/org/apache/griffin/core/metastore/hive/HiveMetaStoreServiceImpl.java +++ b/service/src/main/java/org/apache/griffin/core/metastore/hive/HiveMetaStoreServiceImpl.java @@ -51,9 +51,6 @@ public class HiveMetaStoreServiceImpl implements HiveMetaStoreService { @Autowired private HiveMetaStoreClient client = null; - @Autowired - private HiveMetaStoreProxy proxy; - @Value("${hive.metastore.dbname}") private String defaultDbName; http://git-wip-us.apache.org/repos/asf/incubator-griffin/blob/06c7f0e7/service/src/main/resources/application.properties ---------------------------------------------------------------------- diff --git a/service/src/main/resources/application.properties b/service/src/main/resources/application.properties index b3e7cfa..c8f1992 100644 --- a/service/src/main/resources/application.properties +++ b/service/src/main/resources/application.properties @@ -17,7 +17,7 @@ # under the License. # -spring.datasource.url = jdbc:postgresql://10.148.181.248:35432/quartz?autoReconnect=true&useSSL=false +spring.datasource.url = jdbc:postgresql://localhost:5432/quartz?autoReconnect=true&useSSL=false spring.datasource.username = griffin spring.datasource.password = 123456 spring.jpa.generate-ddl=true @@ -31,7 +31,7 @@ spring.jpa.show-sql = true #spring.jpa.properties.persistence-xml-location=persistence.xml # Hive metastore -hive.metastore.uris = thrift://10.148.181.248:39083 +hive.metastore.uris = thrift://localhost:9083 hive.metastore.dbname = default hive.hmshandler.retry.attempts = 15 hive.hmshandler.retry.interval = 2000ms @@ -67,8 +67,8 @@ ldap.searchPattern = (sAMAccountName={0}) fs.defaultFS = hdfs://hdfs-default-name # elasticsearch -elasticsearch.host = 10.148.181.248 -elasticsearch.port = 39200 +elasticsearch.host = localhost +elasticsearch.port = 9200 elasticsearch.scheme = http # elasticsearch.user = user # elasticsearch.password = password \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-griffin/blob/06c7f0e7/service/src/main/resources/sparkJob.properties ---------------------------------------------------------------------- diff --git a/service/src/main/resources/sparkJob.properties b/service/src/main/resources/sparkJob.properties index 80d1f51..ce2587a 100644 --- a/service/src/main/resources/sparkJob.properties +++ b/service/src/main/resources/sparkJob.properties @@ -39,10 +39,7 @@ sparkJob.jars = spark.yarn.dist.files = # livy -# livy.uri=http://10.9.246.187:8998/batches -livy.uri=http://10.148.181.248:38998/batches +livy.uri=http://localhost:8998/batches # spark-admin -# spark.uri=http://10.149.247.156:28088 -# spark.uri=http://10.9.246.187:8088 -spark.uri=http://10.148.181.248:38088 \ No newline at end of file +spark.uri=http://localhost:8088 \ No newline at end of file
