예제 #1
0
 @BeforeClass
 public void setup() throws Exception {
   StartupProperties.get()
       .setProperty("falcon.state.store.impl", "org.apache.falcon.state.store.InMemoryStateStore");
   super.setup();
   this.dfsCluster = EmbeddedCluster.newCluster("testCluster");
   this.conf = dfsCluster.getConf();
 }
예제 #2
0
 @BeforeClass
 public void setup() throws Exception {
   super.setup();
   createDB(DB_SQL_FILE);
   falconJPAService.init();
   this.dfsCluster = EmbeddedCluster.newCluster("testCluster");
   this.conf = dfsCluster.getConf();
   registerServices();
 }
 @BeforeClass
 public void start() throws Exception {
   cluster = EmbeddedCluster.newCluster("test");
   hdfsUrl = cluster.getConf().get(HadoopClientFactory.FS_DEFAULT_NAME_KEY);
   FeedEvictor.OUT.set(stream);
 }