You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Arya Goudarzi (JIRA)" <ji...@apache.org> on 2010/07/16 19:04:49 UTC

[jira] Created: (CASSANDRA-1285) Have a way to increase the replication factor

Have a way to increase the replication factor
---------------------------------------------

                 Key: CASSANDRA-1285
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1285
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.7
            Reporter: Arya Goudarzi


In 0.6 we were able to change the storage.conf and increase the replication factor and restart the server then repair the data across cluster to increase the replication factor for a keyspace. In 0.7 having moved away from storage.conf, it would be a good idea to have a method in api/jmx to alter keyspace so that replication factor could be changed as in 0.6. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1285) Have a way to increase the replication factor

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

Gary Dusbabek updated CASSANDRA-1285:
-------------------------------------

    Attachment:     (was: v1-0001-thrift-changes.txt)

> Have a way to increase the replication factor
> ---------------------------------------------
>
>                 Key: CASSANDRA-1285
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1285
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Arya Goudarzi
>            Assignee: Gary Dusbabek
>             Fix For: 0.7 beta 2
>
>         Attachments: v1-0003-UpdateColumn-family.txt, v2-0001-thrift-changes.txt, v2-0002-UpdateKeyspace-migration.txt, v2-0003-UpdateColumn-family.txt, v2-0004-avro-update-ks-and-cf-implementations.txt
>
>
> In 0.6 we were able to change the storage.conf and increase the replication factor and restart the server then repair the data across cluster to increase the replication factor for a keyspace. In 0.7 having moved away from storage.conf, it would be a good idea to have a method in api/jmx to alter keyspace so that replication factor could be changed as in 0.6. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1285) Have a way to increase the replication factor

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

Hudson commented on CASSANDRA-1285:
-----------------------------------

Integrated in Cassandra #533 (See [https://hudson.apache.org/hudson/job/Cassandra/533/])
    

> Have a way to increase the replication factor
> ---------------------------------------------
>
>                 Key: CASSANDRA-1285
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1285
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Arya Goudarzi
>            Assignee: Gary Dusbabek
>             Fix For: 0.7 beta 2
>
>         Attachments: v2-0001-thrift-changes.txt, v2-0002-UpdateKeyspace-migration.txt, v2-0003-UpdateColumn-family.txt, v2-0004-avro-update-ks-and-cf-implementations.txt
>
>
> In 0.6 we were able to change the storage.conf and increase the replication factor and restart the server then repair the data across cluster to increase the replication factor for a keyspace. In 0.7 having moved away from storage.conf, it would be a good idea to have a method in api/jmx to alter keyspace so that replication factor could be changed as in 0.6. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1285) Have a way to increase the replication factor

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

Stu Hood commented on CASSANDRA-1285:
-------------------------------------

* The purge() and map() steps in UpdateColumnFamily.applyModels don't seem necessary, since CFMetaData.apply() doesn't allow you to change the keyspace, columnfamily or id
* In UpdateKeyspace: "Keyspace updated. Plese perform any manual operations"
* Direct "Class.forName" in system_update_keyspace can be replaced with FBUtilities.classForName

Thanks!

> Have a way to increase the replication factor
> ---------------------------------------------
>
>                 Key: CASSANDRA-1285
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1285
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Arya Goudarzi
>            Assignee: Gary Dusbabek
>             Fix For: 0.7 beta 2
>
>         Attachments: v1-0001-thrift-changes.txt, v1-0002-UpdateKeyspace-migration.txt, v1-0003-UpdateColumn-family.txt
>
>
> In 0.6 we were able to change the storage.conf and increase the replication factor and restart the server then repair the data across cluster to increase the replication factor for a keyspace. In 0.7 having moved away from storage.conf, it would be a good idea to have a method in api/jmx to alter keyspace so that replication factor could be changed as in 0.6. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1285) Have a way to increase the replication factor

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

Gary Dusbabek updated CASSANDRA-1285:
-------------------------------------

    Attachment: v1-0001-thrift-changes.txt
                v1-0002-UpdateKeyspace-migration.txt
                v1-0003-UpdateColumn-family.txt

> Have a way to increase the replication factor
> ---------------------------------------------
>
>                 Key: CASSANDRA-1285
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1285
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Arya Goudarzi
>            Assignee: Gary Dusbabek
>             Fix For: 0.7 beta 2
>
>         Attachments: v1-0001-thrift-changes.txt, v1-0002-UpdateKeyspace-migration.txt, v1-0003-UpdateColumn-family.txt
>
>
> In 0.6 we were able to change the storage.conf and increase the replication factor and restart the server then repair the data across cluster to increase the replication factor for a keyspace. In 0.7 having moved away from storage.conf, it would be a good idea to have a method in api/jmx to alter keyspace so that replication factor could be changed as in 0.6. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1285) Have a way to increase the replication factor

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

Gary Dusbabek updated CASSANDRA-1285:
-------------------------------------

    Attachment:     (was: v1-0002-UpdateKeyspace-migration.txt)

> Have a way to increase the replication factor
> ---------------------------------------------
>
>                 Key: CASSANDRA-1285
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1285
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Arya Goudarzi
>            Assignee: Gary Dusbabek
>             Fix For: 0.7 beta 2
>
>         Attachments: v1-0003-UpdateColumn-family.txt, v2-0001-thrift-changes.txt, v2-0002-UpdateKeyspace-migration.txt, v2-0003-UpdateColumn-family.txt, v2-0004-avro-update-ks-and-cf-implementations.txt
>
>
> In 0.6 we were able to change the storage.conf and increase the replication factor and restart the server then repair the data across cluster to increase the replication factor for a keyspace. In 0.7 having moved away from storage.conf, it would be a good idea to have a method in api/jmx to alter keyspace so that replication factor could be changed as in 0.6. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1285) Have a way to increase the replication factor

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

Gary Dusbabek updated CASSANDRA-1285:
-------------------------------------

    Attachment:     (was: v1-0003-UpdateColumn-family.txt)

> Have a way to increase the replication factor
> ---------------------------------------------
>
>                 Key: CASSANDRA-1285
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1285
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Arya Goudarzi
>            Assignee: Gary Dusbabek
>             Fix For: 0.7 beta 2
>
>         Attachments: v2-0001-thrift-changes.txt, v2-0002-UpdateKeyspace-migration.txt, v2-0003-UpdateColumn-family.txt, v2-0004-avro-update-ks-and-cf-implementations.txt
>
>
> In 0.6 we were able to change the storage.conf and increase the replication factor and restart the server then repair the data across cluster to increase the replication factor for a keyspace. In 0.7 having moved away from storage.conf, it would be a good idea to have a method in api/jmx to alter keyspace so that replication factor could be changed as in 0.6. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1285) Have a way to increase the replication factor

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

Gary Dusbabek commented on CASSANDRA-1285:
------------------------------------------

I should add that this patch just receives the updated values, records them, and then reloads the keyspaces/column families.  Depending on what specifically changes, other operations must occur (repair, cleanup, etc).  None of those operations are kicked off here.

> Have a way to increase the replication factor
> ---------------------------------------------
>
>                 Key: CASSANDRA-1285
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1285
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Arya Goudarzi
>            Assignee: Gary Dusbabek
>             Fix For: 0.7 beta 2
>
>         Attachments: v1-0001-thrift-changes.txt, v1-0002-UpdateKeyspace-migration.txt, v1-0003-UpdateColumn-family.txt
>
>
> In 0.6 we were able to change the storage.conf and increase the replication factor and restart the server then repair the data across cluster to increase the replication factor for a keyspace. In 0.7 having moved away from storage.conf, it would be a good idea to have a method in api/jmx to alter keyspace so that replication factor could be changed as in 0.6. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1285) Have a way to increase the replication factor

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

Stu Hood commented on CASSANDRA-1285:
-------------------------------------

I'll take a look at this this evening.

> Have a way to increase the replication factor
> ---------------------------------------------
>
>                 Key: CASSANDRA-1285
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1285
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Arya Goudarzi
>            Assignee: Gary Dusbabek
>             Fix For: 0.7 beta 2
>
>         Attachments: v1-0001-thrift-changes.txt, v1-0002-UpdateKeyspace-migration.txt, v1-0003-UpdateColumn-family.txt
>
>
> In 0.6 we were able to change the storage.conf and increase the replication factor and restart the server then repair the data across cluster to increase the replication factor for a keyspace. In 0.7 having moved away from storage.conf, it would be a good idea to have a method in api/jmx to alter keyspace so that replication factor could be changed as in 0.6. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1285) Have a way to increase the replication factor

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

Gary Dusbabek commented on CASSANDRA-1285:
------------------------------------------

Is there any interest in making this a generic "have a way to modify KS/CF properties" ticket?

Regardless, in the past there have been operations that needed to happen external from the change (cleanup or repair in the case of changing the RF).  Should that still happen externally (keeps this ticket simple), or should those operations be invoked as part of changing the replication factor (this is complicated).

> Have a way to increase the replication factor
> ---------------------------------------------
>
>                 Key: CASSANDRA-1285
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1285
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Arya Goudarzi
>            Assignee: Gary Dusbabek
>             Fix For: 0.7.0
>
>
> In 0.6 we were able to change the storage.conf and increase the replication factor and restart the server then repair the data across cluster to increase the replication factor for a keyspace. In 0.7 having moved away from storage.conf, it would be a good idea to have a method in api/jmx to alter keyspace so that replication factor could be changed as in 0.6. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1285) Have a way to increase the replication factor

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

Stu Hood commented on CASSANDRA-1285:
-------------------------------------

+1 for 0001-0004. Thanks!

> Have a way to increase the replication factor
> ---------------------------------------------
>
>                 Key: CASSANDRA-1285
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1285
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Arya Goudarzi
>            Assignee: Gary Dusbabek
>             Fix For: 0.7 beta 2
>
>         Attachments: v2-0001-thrift-changes.txt, v2-0002-UpdateKeyspace-migration.txt, v2-0003-UpdateColumn-family.txt, v2-0004-avro-update-ks-and-cf-implementations.txt
>
>
> In 0.6 we were able to change the storage.conf and increase the replication factor and restart the server then repair the data across cluster to increase the replication factor for a keyspace. In 0.7 having moved away from storage.conf, it would be a good idea to have a method in api/jmx to alter keyspace so that replication factor could be changed as in 0.6. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1285) Have a way to increase the replication factor

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

Jonathan Ellis updated CASSANDRA-1285:
--------------------------------------

       Issue Type: New Feature  (was: Bug)
    Fix Version/s: 0.7

> Have a way to increase the replication factor
> ---------------------------------------------
>
>                 Key: CASSANDRA-1285
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1285
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Arya Goudarzi
>             Fix For: 0.7
>
>
> In 0.6 we were able to change the storage.conf and increase the replication factor and restart the server then repair the data across cluster to increase the replication factor for a keyspace. In 0.7 having moved away from storage.conf, it would be a good idea to have a method in api/jmx to alter keyspace so that replication factor could be changed as in 0.6. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1285) Have a way to increase the replication factor

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

Gary Dusbabek updated CASSANDRA-1285:
-------------------------------------

    Attachment: v2-0001-thrift-changes.txt
                v2-0002-UpdateKeyspace-migration.txt
                v2-0003-UpdateColumn-family.txt
                v2-0004-avro-update-ks-and-cf-implementations.txt

> Have a way to increase the replication factor
> ---------------------------------------------
>
>                 Key: CASSANDRA-1285
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1285
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Arya Goudarzi
>            Assignee: Gary Dusbabek
>             Fix For: 0.7 beta 2
>
>         Attachments: v1-0003-UpdateColumn-family.txt, v2-0001-thrift-changes.txt, v2-0002-UpdateKeyspace-migration.txt, v2-0003-UpdateColumn-family.txt, v2-0004-avro-update-ks-and-cf-implementations.txt
>
>
> In 0.6 we were able to change the storage.conf and increase the replication factor and restart the server then repair the data across cluster to increase the replication factor for a keyspace. In 0.7 having moved away from storage.conf, it would be a good idea to have a method in api/jmx to alter keyspace so that replication factor could be changed as in 0.6. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CASSANDRA-1285) Have a way to increase the replication factor

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

Gary Dusbabek reassigned CASSANDRA-1285:
----------------------------------------

    Assignee: Gary Dusbabek

> Have a way to increase the replication factor
> ---------------------------------------------
>
>                 Key: CASSANDRA-1285
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1285
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Arya Goudarzi
>            Assignee: Gary Dusbabek
>             Fix For: 0.7
>
>
> In 0.6 we were able to change the storage.conf and increase the replication factor and restart the server then repair the data across cluster to increase the replication factor for a keyspace. In 0.7 having moved away from storage.conf, it would be a good idea to have a method in api/jmx to alter keyspace so that replication factor could be changed as in 0.6. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1285) Have a way to increase the replication factor

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

Jonathan Ellis commented on CASSANDRA-1285:
-------------------------------------------

for 0.7, i would like a "modify property X to value Y" method, and leave everything else to be done manually a la 0.6.

> Have a way to increase the replication factor
> ---------------------------------------------
>
>                 Key: CASSANDRA-1285
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1285
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Arya Goudarzi
>            Assignee: Gary Dusbabek
>             Fix For: 0.7.0
>
>
> In 0.6 we were able to change the storage.conf and increase the replication factor and restart the server then repair the data across cluster to increase the replication factor for a keyspace. In 0.7 having moved away from storage.conf, it would be a good idea to have a method in api/jmx to alter keyspace so that replication factor could be changed as in 0.6. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.