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

CLI does not allow connection to hostname with dashes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Duplicate
    • None
    • None
    • Low

    Description

      the cli syntax does not allow a dash in an identifier, which means that it is impossible to connect to a hostname such as foo-bar.com.
      It also forbids it in keyspace and column family names while it seems they are both supported by cassandra itself.

      Adding "" as an allowed "identifier" character seems to fix both problems. I think the grammar is still broken in that it allows "" in hostnames, but that seems a non issue.

      Attachments

        1. CASSANDRA-914.patch
          0.4 kB
          gabriele renzi

        Issue Links

          Activity

            People

              Unassigned Unassigned
              riffraff gabriele renzi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 5m
                  5m
                  Remaining:
                  Remaining Estimate - 5m
                  5m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified