Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Fix Version/s: 1.0.6
    • Component/s: Tools
    • Labels:
      None

      Description

      Real-world Cassandra applications often use "wide rows" to denormalize queries into. Most often, this means they do a lot of appending to existing rows, with few overwrites. An easy way to add this to Stress would be to allow specifying timeuuid column names (which will be inherently sequential, or nearly so). For forwards-compatibility, we could add a --comparator option that only supports the existing Ascii type and the proposed UUID type, to start with.

        Activity

        Hide
        Hudson added a comment -

        Integrated in Cassandra #1243 (See https://builds.apache.org/job/Cassandra/1243/)
        Update to support TimeUUIDType (CASSANDRA-3541)

        Patch by eevans; reviewed by Pavel Yaskevich for CASSANDRA-2268

        eevans : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1211522
        Files :

        • /cassandra/trunk/tools/stress/src/org/apache/cassandra/stress/operations/CqlInserter.java
        Show
        Hudson added a comment - Integrated in Cassandra #1243 (See https://builds.apache.org/job/Cassandra/1243/ ) Update to support TimeUUIDType ( CASSANDRA-3541 ) Patch by eevans; reviewed by Pavel Yaskevich for CASSANDRA-2268 eevans : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1211522 Files : /cassandra/trunk/tools/stress/src/org/apache/cassandra/stress/operations/CqlInserter.java
        Hide
        Pavel Yaskevich added a comment -

        Committed.

        Show
        Pavel Yaskevich added a comment - Committed.
        Hide
        Brandon Williams added a comment -

        +1

        Show
        Brandon Williams added a comment - +1
        Hide
        Pavel Yaskevich added a comment -

        Ok, i will catch RE exception and just print error message. About types - if we are going to support many types in the future, I just thought that it might be a good idea to include utf8 now too...

        Show
        Pavel Yaskevich added a comment - Ok, i will catch RE exception and just print error message. About types - if we are going to support many types in the future, I just thought that it might be a good idea to include utf8 now too...
        Hide
        Brandon Williams added a comment -

        When you pass an invalid comparator, it throws a traceback instead of just saying it's invalid. Also, it's case-sensitive which is slightly annoying but I can live with that. Out of curiosity, why both UTF-8 and Ascii?

        Show
        Brandon Williams added a comment - When you pass an invalid comparator, it throws a traceback instead of just saying it's invalid. Also, it's case-sensitive which is slightly annoying but I can live with that. Out of curiosity, why both UTF-8 and Ascii?
        Hide
        Pavel Yaskevich added a comment -

        option U (-comparator) added which currently supports only

        {TimeUUID, Ascii, UTF8}

        Type.

        Show
        Pavel Yaskevich added a comment - option U ( -comparator) added which currently supports only {TimeUUID, Ascii, UTF8} Type.

          People

          • Assignee:
            Pavel Yaskevich
            Reporter:
            Jonathan Ellis
            Reviewer:
            Brandon Williams
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development