updated
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/GenerateMapReduceCouchbase@154675 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
0d2947b2bc
commit
a59a83132c
|
@ -22,9 +22,9 @@ import com.couchbase.client.java.view.View;
|
|||
|
||||
public class dbtest {
|
||||
|
||||
protected static final String DB = "ServiceUsageRecord";
|
||||
protected static final String DB = "StorageUsageRecord";
|
||||
|
||||
protected static final String URL = "http://couchbase01.d4science.org";
|
||||
protected static final String URL = "http://couchbase02-d-d4s.d4science.org";
|
||||
protected static final String PASSWORD = "accounting";
|
||||
|
||||
/* The environment configuration */
|
||||
|
@ -32,7 +32,7 @@ public class dbtest {
|
|||
|
||||
public static void main(String[] args) throws Exception {
|
||||
createMapReduceCouchBase();
|
||||
//createExtraMapReduceCouchBase();
|
||||
createExtraMapReduceCouchBase();
|
||||
}
|
||||
|
||||
protected static void createMapReduceCouchBase() throws Exception {
|
||||
|
@ -47,7 +47,7 @@ public class dbtest {
|
|||
File resourcesDirectory = new File(mainDirectory, "resources");
|
||||
File mapReduceDirectory = new File(resourcesDirectory, "MapReduce");
|
||||
|
||||
File file = new File(mapReduceDirectory, "ServiceUsageRecord");
|
||||
File file = new File(mapReduceDirectory, "StorageUsageRecord");
|
||||
|
||||
File[] filesInDir = file.listFiles();
|
||||
Arrays.sort(filesInDir);
|
||||
|
@ -91,7 +91,7 @@ public class dbtest {
|
|||
File mainDirectory = new File(srcDirectory, "main");
|
||||
File resourcesDirectory = new File(mainDirectory, "resources");
|
||||
File mapReduceDirectory = new File(resourcesDirectory, "MapReduce");
|
||||
File file = new File(mapReduceDirectory, "extraService");
|
||||
File file = new File(mapReduceDirectory, "extraStorage");
|
||||
|
||||
Map<String, List<View>> views = new HashMap<String, List<View>>();
|
||||
|
||||
|
|
Loading…
Reference in New Issue