vinoyang created KYLIN-4050:
-------------------------------

             Summary: Fix a CLI option parse error in FlinkMergingDictionary 
and some little code refactor
                 Key: KYLIN-4050
                 URL: https://issues.apache.org/jira/browse/KYLIN-4050
             Project: Kylin
          Issue Type: Sub-task
          Components: Flink Engine
            Reporter: vinoyang
            Assignee: vinoyang


{code:java}
org.apache.flink.client.program.ProgramInvocationException: The main method 
caused an error.
at 
org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:546)
at 
org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:421)
at org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:427)
at org.apache.flink.client.cli.CliFrontend.executeProgram(CliFrontend.java:813)
at org.apache.flink.client.cli.CliFrontend.runProgram(CliFrontend.java:287)
at org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:213)
at 
org.apache.flink.client.cli.CliFrontend.parseParameters(CliFrontend.java:1050)
at org.apache.flink.client.cli.CliFrontend.lambda$main$11(CliFrontend.java:1126)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1692)
at 
org.apache.flink.runtime.security.HadoopSecurityContext.runSecured(HadoopSecurityContext.java:41)
at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:1126)
Caused by: java.lang.RuntimeException: error parsing args
at 
org.apache.kylin.common.util.AbstractApplication.execute(AbstractApplication.java:40)
at org.apache.kylin.common.util.FlinkEntry.main(FlinkEntry.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:529)
... 12 more
Caused by: org.apache.commons.cli.UnrecognizedOptionException: Unrecognized 
option: -enableObjectReuse
at org.apache.commons.cli.Parser.processOption(Parser.java:383)
at org.apache.commons.cli.Parser.parse(Parser.java:210)
at org.apache.commons.cli.Parser.parse(Parser.java:88)
at 
org.apache.kylin.common.util.OptionsHelper.parseOptions(OptionsHelper.java:38)
at 
org.apache.kylin.common.util.AbstractApplication.execute(AbstractApplication.java:36)
... 18 more
{code}



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

Reply via email to