You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2019/02/22 10:20:01 UTC

[jira] [Resolved] (KYLIN-3822) "bin/kylin.sh org.apache.kylin.storage.hbase.util.DeployCoprocessorCLI [file_path] [nOfThread] all" can not run successfully

     [ https://issues.apache.org/jira/browse/KYLIN-3822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shaofeng SHI resolved KYLIN-3822.
---------------------------------
    Resolution: Fixed

> "bin/kylin.sh  org.apache.kylin.storage.hbase.util.DeployCoprocessorCLI [file_path] [nOfThread] all" can not run successfully
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-3822
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3822
>             Project: Kylin
>          Issue Type: Improvement
>          Components: Storage - HBase
>    Affects Versions: v2.5.1
>            Reporter: 梁龙
>            Assignee: 梁龙
>            Priority: Minor
>              Labels: easyfix
>             Fix For: v2.6.1
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 源码片段如下
> {code:java}
> int curIdx = 0;
> if ("default".equals(args[curIdx++])) {
> localCoprocessorJar = kylinConfig.getCoprocessorLocalJar();
> } else {
> curIdx--;
> localCoprocessorJar = new File(args[curIdx++]).getAbsolutePath();
> }
> {code}
> org.apache.kylin.storage.hbase.util.DeployCoprocessorCLI
> {code:java}
> "default".equals(args[curIdx++]){code}
> 运行完之后,curIdx的值为1,如果该表达式为false,则args[curIdx]取到的参数为第二个参数,非第一个参数(第一个参数才代表localCoprocessorJar的地址)



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