You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dean Z (Jira)" <ji...@apache.org> on 2020/06/07 10:00:18 UTC

[jira] [Commented] (CASSANDRA-15715) [CQL help] URL for help topic CREATE_KEYSPACE is leading to page that does not exist

    [ https://issues.apache.org/jira/browse/CASSANDRA-15715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17127571#comment-17127571 ] 

Dean Z commented on CASSANDRA-15715:
------------------------------------

[^0001-Fix-URL-for-help-topic-CREATE_KEYSPACE.patch]

Hi [~widkets] , here's a patch, I think this solves this issue

> [CQL help] URL for help topic CREATE_KEYSPACE is leading to page that does not exist
> ------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15715
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15715
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Documentation/Blog
>            Reporter: Andrey Andreev
>            Priority: Normal
>         Attachments: 0001-Fix-URL-for-help-topic-CREATE_KEYSPACE.patch, Screenshot from 2020-04-11 12-13-32.png
>
>
> URL for help topic CREATE_KEYSPACE is leading to page that does not exist
> {code:java}
> cqlsh> SHOW VERSION;
> [cqlsh 5.0.1 | Cassandra 3.11.6 | CQL spec 3.4.4 | Native protocol v4]
> cqlsh> HELP CREATE_KEYSPACE;
> *** No browser to display CQL help. URL for help topic CREATE_KEYSPACE : https://cassandra.apache.org/doc/cql3/CQL-3.2.html#createKeyspaceStmt
> {code}
> Page "https://cassandra.apache.org/doc/cql3/CQL-3.2.html#createKeyspaceStmt" is showing 404 "Not Found". (see screenshot attachment)
> How did I install C* (From the book "Cassandra The Definitive Guide, Third Edition, page 53")
> {code:java}
> docker pull cassandra
> docker run --name c-seed cassandra
> docker exec -it c-seed cqlsh
> HELP CREATE_KEYSPACE;
> {code}
>  It is probably related to this part of code: [https://github.com/apache/cassandra/blob/d069fd235f3553ef6e3267efc9cf3b9b2fe4e70e/bin/cqlsh.py#L76]
> Probably we need to replace:
> CASSANDRA_CQL_HTML_FALLBACK = 'https://cassandra.apache.org/doc/cql3/CQL-3.2.html'
> with
> CASSANDRA_CQL_HTML_FALLBACK = 'https://cassandra.apache.org/doc/old/CQL-3.0.html'
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org