You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Dong Li (JIRA)" <ji...@apache.org> on 2017/02/06 05:50:42 UTC

[jira] [Commented] (KYLIN-2426) Tests will fail if env not satisfy hardcoded path in ITHDFSResourceStoreTest

    [ https://issues.apache.org/jira/browse/KYLIN-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15853555#comment-15853555 ] 

Dong Li commented on KYLIN-2426:
--------------------------------

Merged in master branch. Thanks Kaige.

> 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
>            Assignee:  Kaige Liu
>             Fix For: v2.0.0
>
>         Attachments: KYLIN-2426-fix-hardcode.patch
>
>
> 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)