You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/12/16 16:37:14 UTC
[jira] [Commented] (KNOX-480) KnoxCLI needs to print usage when
alias not provided
[ https://issues.apache.org/jira/browse/KNOX-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14248378#comment-14248378 ]
ASF subversion and git services commented on KNOX-480:
------------------------------------------------------
Commit 92f2965020a7fcdcaf924d32fd503b87b3570c29 in knox's branch refs/heads/master from [~lmccay]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=92f2965 ]
KNOX-480 KnoxCLI needs to print usage when alias not provided
> KnoxCLI needs to print usage when alias not provided
> ----------------------------------------------------
>
> Key: KNOX-480
> URL: https://issues.apache.org/jira/browse/KNOX-480
> Project: Apache Knox
> Issue Type: Bug
> Components: KnoxCLI
> Reporter: Larry McCay
> Assignee: Larry McCay
> Fix For: 0.6.0
>
>
> This needs to fail gracefully.
> /usr/hdp/current/knox-server/bin/knoxcli.sh create-alias
> java.lang.ArrayIndexOutOfBoundsException: 1
> at org.apache.hadoop.gateway.util.KnoxCLI.init(KnoxCLI.java:154)
> at org.apache.hadoop.gateway.util.KnoxCLI.run(KnoxCLI.java:88)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> at org.apache.hadoop.gateway.util.KnoxCLI.main(KnoxCLI.java:649)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.apache.hadoop.gateway.launcher.Invoker.invokeMainMethod(Invoker.java:70)
> at org.apache.hadoop.gateway.launcher.Invoker.invoke(Invoker.java:39)
> at org.apache.hadoop.gateway.launcher.Command.run(Command.java:101)
> at org.apache.hadoop.gateway.launcher.Launcher.run(Launcher.java:69)
> at org.apache.hadoop.gateway.launcher.Launcher.main(Launcher.java:46)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)