You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2011/07/18 09:34:59 UTC

[jira] [Created] (CASSANDRA-2909) Have the bulkloader rebuild the index file if necessary

Have the bulkloader rebuild the index file if necessary
-------------------------------------------------------

                 Key: CASSANDRA-2909
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2909
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
    Affects Versions: 0.8.1
            Reporter: Sylvain Lebresne
            Assignee: Sylvain Lebresne
            Priority: Minor


The bulk loader needs both the data file and the index file. This ticket proposes to make it rebuild the index part if it is not present (it would still be faster to have the index file around, but it is annoying to not be able to bulk load a sstable just because you happen to have deleted the index file).



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CASSANDRA-2909) Have the bulkloader rebuild the index file if necessary

Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain Lebresne resolved CASSANDRA-2909.
-----------------------------------------

    Resolution: Won't Fix

Closing as "won't fix". We could reopen if it ever proves useful to someone, but no need to add dependency to the index builder right now.

> Have the bulkloader rebuild the index file if necessary
> -------------------------------------------------------
>
>                 Key: CASSANDRA-2909
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2909
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.8.1
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>              Labels: bulkloader
>         Attachments: 0001-Rebuild-index-if-not-present.patch
>
>
> The bulk loader needs both the data file and the index file. This ticket proposes to make it rebuild the index part if it is not present (it would still be faster to have the index file around, but it is annoying to not be able to bulk load a sstable just because you happen to have deleted the index file).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-2909) Have the bulkloader rebuild the index file if necessary

Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066989#comment-13066989 ] 

Sylvain Lebresne commented on CASSANDRA-2909:
---------------------------------------------

I'll admit this is not a big deal. Sounded more like an easy thing to do that could be handy if someone, for some reason, didn't have the index anymore. But indeed, if we get rid of the Builder, then forget about that.

> Have the bulkloader rebuild the index file if necessary
> -------------------------------------------------------
>
>                 Key: CASSANDRA-2909
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2909
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.8.1
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>              Labels: bulkloader
>         Attachments: 0001-Rebuild-index-if-not-present.patch
>
>
> The bulk loader needs both the data file and the index file. This ticket proposes to make it rebuild the index part if it is not present (it would still be faster to have the index file around, but it is annoying to not be able to bulk load a sstable just because you happen to have deleted the index file).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-2909) Have the bulkloader rebuild the index file if necessary

Posted by "Stu Hood (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067526#comment-13067526 ] 

Stu Hood commented on CASSANDRA-2909:
-------------------------------------

I too was looking forward to 2677 removing the builder... it's something we should bring back eventually, but preferably after the SSTable interface concretes a bit.

> Have the bulkloader rebuild the index file if necessary
> -------------------------------------------------------
>
>                 Key: CASSANDRA-2909
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2909
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.8.1
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>              Labels: bulkloader
>         Attachments: 0001-Rebuild-index-if-not-present.patch
>
>
> The bulk loader needs both the data file and the index file. This ticket proposes to make it rebuild the index part if it is not present (it would still be faster to have the index file around, but it is annoying to not be able to bulk load a sstable just because you happen to have deleted the index file).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-2909) Have the bulkloader rebuild the index file if necessary

Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain Lebresne updated CASSANDRA-2909:
----------------------------------------

    Attachment: 0001-Rebuild-index-if-not-present.patch

Patch against 0.8 branch, applies on top of CASSANDRA-2908 (the two are not really related but they conflict on one line).

> Have the bulkloader rebuild the index file if necessary
> -------------------------------------------------------
>
>                 Key: CASSANDRA-2909
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2909
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.8.1
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>              Labels: bulkloader
>         Attachments: 0001-Rebuild-index-if-not-present.patch
>
>
> The bulk loader needs both the data file and the index file. This ticket proposes to make it rebuild the index part if it is not present (it would still be faster to have the index file around, but it is annoying to not be able to bulk load a sstable just because you happen to have deleted the index file).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-2909) Have the bulkloader rebuild the index file if necessary

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066909#comment-13066909 ] 

Jonathan Ellis commented on CASSANDRA-2909:
-------------------------------------------

Feels like solving a non-problem to me, and I'd like to get rid of the Builder stuff sooner rather than later post-2677

> Have the bulkloader rebuild the index file if necessary
> -------------------------------------------------------
>
>                 Key: CASSANDRA-2909
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2909
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.8.1
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>              Labels: bulkloader
>         Attachments: 0001-Rebuild-index-if-not-present.patch
>
>
> The bulk loader needs both the data file and the index file. This ticket proposes to make it rebuild the index part if it is not present (it would still be faster to have the index file around, but it is annoying to not be able to bulk load a sstable just because you happen to have deleted the index file).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira