Fixed project to publish map reduce
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/GenerateMapReduceCouchbase@152524 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
19e5d0b3c7
commit
d8ace933ca
|
@ -31,11 +31,11 @@ public class dbtest {
|
|||
protected static final CouchbaseEnvironment ENV = DefaultCouchbaseEnvironment.builder().queryEnabled(true).build();
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
//createMapReduceCouchBase();
|
||||
createExtraMapReduceCouchBase();
|
||||
createMapReduceCouchBase();
|
||||
//createExtraMapReduceCouchBase();
|
||||
}
|
||||
|
||||
private static void createMapReduceCouchBase() throws Exception {
|
||||
protected static void createMapReduceCouchBase() throws Exception {
|
||||
|
||||
Cluster cluster = CouchbaseCluster.create(ENV, URL);
|
||||
Bucket bucket = cluster.openBucket(DB, PASSWORD);
|
||||
|
@ -81,7 +81,7 @@ public class dbtest {
|
|||
}
|
||||
|
||||
|
||||
private static void createExtraMapReduceCouchBase() throws Exception {
|
||||
protected static void createExtraMapReduceCouchBase() throws Exception {
|
||||
|
||||
Cluster cluster = CouchbaseCluster.create(ENV, URL);
|
||||
Bucket bucket = cluster.openBucket(DB, PASSWORD);
|
||||
|
|
Loading…
Reference in New Issue