You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by " Kaige Liu (JIRA)" <ji...@apache.org> on 2017/02/06 01:56:41 UTC
[jira] [Created] (KYLIN-2426) Tests will fail if env not satisfy
hardcoded path in ITHDFSResourceStoreTest
Kaige Liu created KYLIN-2426:
---------------------------------
Summary: Tests will fail if env not satisfy hardcoded path in ITHDFSResourceStoreTest
Key: KYLIN-2426
URL: https://issues.apache.org/jira/browse/KYLIN-2426
Project: Kylin
Issue Type: Bug
Reporter: Kaige Liu
There are some hardcodes in ITHDFSResourcesStoreTest which will fail if we are not running IT in a sandbox.
{code}
public void testFullQalifiedName() throws Exception {
String oldUrl = kylinConfig.getMetadataUrl();
String path = "hdfs://sandbox.hortonworks.com:8020/kylin/kylin_metadata/metadata_test2";
kylinConfig.setProperty("kylin.metadata.url", path + "@hdfs");
HDFSResourceStore store = new HDFSResourceStore(kylinConfig);
ResourceStoreTest.testAStore(store);
kylinConfig.setProperty("kylin.metadata.url", oldUrl);
assertTrue(fs.exists(new Path(path)));
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)