@Test
public void testGetMetadataUrlPrefix() {

    KylinConfig config = KylinConfig.getInstanceFromEnv();
    config.setMetadataUrl("testMetaPrefix@hbase");
    assertEquals("testMetaPrefix", config.getMetadataUrlPrefix());
    config.setMetadataUrl("testMetaPrefix@hdfs");
    assertEquals("testMetaPrefix", config.getMetadataUrlPrefix());
    config.setMetadataUrl("/kylin/temp");
    assertEquals("/kylin/temp", config.getMetadataUrlPrefix());
}