This is an automated email from the ASF dual-hosted git repository.

djkevincr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/gora.git


The following commit(s) were added to refs/heads/master by this push:
     new cf8e66b  GORA-619: Remove duplicated properties gora.properties
     new 5973677  Merge pull request #182 from djkevincr/GORA-619
cf8e66b is described below

commit cf8e66b9a580cbf79542586b4cd56012cdd5570f
Author: Kevin Ratnasekera <djkevi...@yahoo.com>
AuthorDate: Thu Aug 8 15:41:34 2019 +0530

    GORA-619: Remove duplicated properties gora.properties
---
 gora-tutorial/conf/gora.properties | 22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/gora-tutorial/conf/gora.properties 
b/gora-tutorial/conf/gora.properties
index 4c95429..02ef1f8 100644
--- a/gora-tutorial/conf/gora.properties
+++ b/gora-tutorial/conf/gora.properties
@@ -21,6 +21,7 @@ gora.datastore.default=org.apache.gora.hbase.store.HBaseStore
 #gora.datastore.default=org.apache.gora.cassandra.store.CassandraStore
 #gora.datastore.default=org.apache.gora.solr.store.SolrStore
 #gora.datastore.default=org.apache.gora.aerospike.store.AerospikeStore
+#gora.datastore.default=org.apache.gora.mongodb.store.MongoStore
 
 #gora.datastore.default=org.apache.gora.avro.store.AvroStore
 #gora.avrostore.input.path=hdfs://localhost:9000/gora.avrostore.test.input
@@ -65,17 +66,10 @@ 
gora.datastore.jcache.provider=com.hazelcast.cache.impl.HazelcastServerCachingPr
 #gora.aerospikestore.server.username=
 #gora.aerospikestore.server.password=
 
-############################
-# MongoDBStore properties  #
-############################
-
-gora.datastore.autocreateschema=true
-gora.datastore.default=org.apache.gora.mongodb.store.MongoStore
-# Don't override properties coming from Hadoop configuration for test
-# Those properties will contains override for Mongo server port
-gora.mongodb.override_hadoop_configuration=false
-gora.mongodb.mapping.file=/gora-mongodb-mapping.xml
-gora.mongodb.servers=localhost
-gora.mongodb.db=nutchtest
-gora.mongodb.readpreference=primary
-gora.mongodb.writeconcern=acknowledged
+##MongoDB dataStore properties
+#gora.mongodb.override_hadoop_configuration=false
+#gora.mongodb.mapping.file=/gora-mongodb-mapping.xml
+#gora.mongodb.servers=localhost
+#gora.mongodb.db=nutchtest
+#gora.mongodb.readpreference=primary
+#gora.mongodb.writeconcern=acknowledged

Reply via email to