[
https://issues.apache.org/jira/browse/KNOX-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13968435#comment-13968435
]
Vladimir Tkhir commented on KNOX-329:
-------------------------------------
Description for "value" and "generate" arguments in create-alias command are a
little confusing because i'm getting the following exception when running
command without "value" and "generate":
{code}
# bin/knoxcli.sh create-alias testalias --cluster sandbox
java.lang.IllegalArgumentException: No value has been set. Consider setting
--generate or --value.
at
org.apache.hadoop.gateway.util.KnoxCLI$AliasCreateCommand.execute(KnoxCLI.java:417)
at org.apache.hadoop.gateway.util.KnoxCLI.run(KnoxCLI.java:93)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.gateway.util.KnoxCLI.main(KnoxCLI.java:620)
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:622)
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)
{code}
I expected the prompt for a password
> Obsolete Docs for KnoxCLI
> -------------------------
>
> Key: KNOX-329
> URL: https://issues.apache.org/jira/browse/KNOX-329
> Project: Apache Knox
> Issue Type: Bug
> Components: Site
> Reporter: Larry McCay
> Fix For: 0.4.0
>
>
> http://knox.incubator.apache.org/books/knox-incubating-0-4-0/knox-incubating-0-4-0-new.html#Knox+CLI
> Need to add new commands and options as appropriate.
--
This message was sent by Atlassian JIRA
(v6.2#6252)