You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Yichen Zhou (JIRA)" <ji...@apache.org> on 2018/09/07 02:56:00 UTC

[jira] [Commented] (KYLIN-3543) Unclosed Job instance in CreateHTableJob#exportHBaseConfiguration

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

Yichen Zhou commented on KYLIN-3543:
------------------------------------

Thank you Ted. The job configuration is saved in HDFS for later use. Please refer to this: https://issues.apache.org/jira/browse/KYLIN-3446

Since we could not connect HBase in spark, this job should remain open until spark use it in "convert to HFlie" step. However, when building cube with MR, this job does become unless. But I think it's ok for the little cost.

> Unclosed Job instance in CreateHTableJob#exportHBaseConfiguration
> -----------------------------------------------------------------
>
>                 Key: KYLIN-3543
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3543
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>
> {code}
>             out = fs.create(new Path(hbaseConfPath));
>             job.getConfiguration().writeXml(out);
> {code}
> The job instance should be closed upon return from the method.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)