static CatalogServer server;
static CatalogService catalog;
@BeforeClass
public static void setUp() throws Exception {
TajoConf conf = new TajoConf();
conf.set(CatalogConstants.JDBC_URI, "jdbc:derby:target/test-data/TestCatalog/db;create=true");
conf.setVar(TajoConf.ConfVars.CATALOG_ADDRESS, "127.0.0.1:0");
server = new CatalogServer();
server.init(conf);
server.start();
catalog = new LocalCatalogWrapper(server);