Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15715

[CQL help] URL for help topic CREATE_KEYSPACE is leading to page that does not exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Triage Needed
    • Normal
    • Resolution: Unresolved
    • None
    • Documentation/Blog
    • None
    • All
    • None

    Description

      URL for help topic CREATE_KEYSPACE is leading to page that does not exist

      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
      

      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")

      docker pull cassandra
      docker run --name c-seed cassandra
      docker exec -it c-seed cqlsh
      HELP CREATE_KEYSPACE;
      

       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'

       

      Attachments

        Issue Links

          Activity

            People

              Dean Z Dean Z
              widkets Andrey Andreev
              Dean Z
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: