[
https://issues.apache.org/jira/browse/KNOX-866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Ding updated KNOX-866:
------------------------------
Attachment: KNOX-866_1.patch
I went through other Knox CLI commands. Without option --force, the
create-master command's output is
{code}
# ./knoxcli.sh create-master
Master secret is already present on disk. Please be aware that overwriting it
will require updating other security artifacts. Use --force to overwrite the
existing master secret.
ERROR: Invalid Command
Unrecognized option:create-master
A fatal exception has occurred. Program will exit.
{code}
The new patch also removes the last three lines of the output.
> Knox CLI topology validation unsuccessful
> -----------------------------------------
>
> Key: KNOX-866
> URL: https://issues.apache.org/jira/browse/KNOX-866
> Project: Apache Knox
> Issue Type: Bug
> Components: KnoxCLI
> Affects Versions: 0.11.0
> Reporter: Richard Ding
> Assignee: Richard Ding
> Priority: Minor
> Attachments: KNOX-866_1.patch, KNOX-866.patch
>
>
> Encountered error when running Knox CLI to validate topology:
> {code}
> # ./knoxcli.sh validate-topology --cluster admin
> File to be validated:
> .../knox/bin/../conf/topologies/admin.xml
> ==========================================
> Error retrieving schema from ClassLoader
> Topology validation unsuccessful
> {code}
> The Java version is
> {code}
> openjdk version "1.8.0_77"
> OpenJDK Runtime Environment (build 1.8.0_77-b03)
> OpenJDK 64-Bit Server VM (build 25.77-b03, mixed mode)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)