Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
v2.5.1
-
Patch
Description
源码片段如下
int curIdx = 0; if ("default".equals(args[curIdx++])) { localCoprocessorJar = kylinConfig.getCoprocessorLocalJar(); } else { curIdx--; localCoprocessorJar = new File(args[curIdx++]).getAbsolutePath(); }
org.apache.kylin.storage.hbase.util.DeployCoprocessorCLI
"default".equals(args[curIdx++])
运行完之后,curIdx的值为1,如果该表达式为false,则args[curIdx]取到的参数为第二个参数,非第一个参数(第一个参数才代表localCoprocessorJar的地址)
Attachments
Issue Links
- links to