cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Motta (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-11337) Add --hex-key option to nodetool getsstables
Date Fri, 11 Mar 2016 22:21:18 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-11337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paulo Motta updated CASSANDRA-11337:
------------------------------------
    Assignee: Paulo Motta
    Reviewer: Yuki Morishita
      Status: Patch Available  (was: Open)

||2.2||3.0||3.5||trunk||
|[branch|https://github.com/apache/cassandra/compare/cassandra-2.2...pauloricardomg:2.2-11337]|[branch|https://github.com/apache/cassandra/compare/cassandra-3.0...pauloricardomg:3.0-11337]|[branch|https://github.com/apache/cassandra/compare/cassandra-3.5...pauloricardomg:3.5-11337]|[branch|https://github.com/apache/cassandra/compare/trunk...pauloricardomg:trunk-11337]|
|[testall|http://cassci.datastax.com/view/Dev/view/paulomotta/job/pauloricardomg-2.2-11337-testall/lastCompletedBuild/testReport/]|[testall|http://cassci.datastax.com/view/Dev/view/paulomotta/job/pauloricardomg-3.0-11337-testall/lastCompletedBuild/testReport/]|[testall|http://cassci.datastax.com/view/Dev/view/paulomotta/job/pauloricardomg-3.5-11337-testall/lastCompletedBuild/testReport/]|[testall|http://cassci.datastax.com/view/Dev/view/paulomotta/job/pauloricardomg-trunk-11337-testall/lastCompletedBuild/testReport/]|
|[dtest|http://cassci.datastax.com/view/Dev/view/paulomotta/job/pauloricardomg-2.2-11337-dtest/lastCompletedBuild/testReport/]|[dtest|http://cassci.datastax.com/view/Dev/view/paulomotta/job/pauloricardomg-3.0-11337-dtest/lastCompletedBuild/testReport/]|[dtest|http://cassci.datastax.com/view/Dev/view/paulomotta/job/pauloricardomg-3.5-11337-dtest/lastCompletedBuild/testReport/]|[dtest|http://cassci.datastax.com/view/Dev/view/paulomotta/job/pauloricardomg-trunk-11337-dtest/lastCompletedBuild/testReport/]|

> Add --hex-key option to nodetool getsstables
> --------------------------------------------
>
>                 Key: CASSANDRA-11337
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11337
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Paulo Motta
>            Assignee: Paulo Motta
>            Priority: Minor
>              Labels: lhf
>
> Sometimes it's useful to retrieve an sstable from the hex string representation of its
key, for instance, when you get an exception like this and you want to find out which sstable
owns the faulty key:
> {noformat}
> java.lang.AssertionError: row DecoratedKey(2769066505137675224, 00040000002e00000800000153441a3ef000)
received out of order wrt DecoratedKey(2774747040849866654, 00040000019b0000080000015348847eb200)
> {noformat}
> In this case,  {noformat}nodetool getsstables ks cf 00040000002e00000800000153441a3ef000{noformat}
will only work if {{ks.cf}} has a blob primary key.
> It's straightforward to retrieve a {{DecoratedKey}} from the hexstr representation of
the key, so we should add a {{--hex-key}} option to allow for that.
> {noformat}nodetool getsstables ks cf --hex-key 00040000002e00000800000153441a3ef000{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message