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

Zhu Han updated CASSANDRA-4048:
-------------------------------

    Description: 
SSTableLoader tries to apply the "drop column family" meta data update, and 
meets below problem. Seems like the column family 
is dropped multiple times?

user@luzhou:/data/apache-cassandra-1.0.8$ bin/sstableloader -i hostA,hostB 
/tmp/out/store/
Starting client (and waiting 30 seconds for gossip) ...
java.lang.IllegalArgumentException: Unknown CF 1000
        at org.apache.cassandra.db.Table.getColumnFamilyStore(Table.java:167)
        at org.apache.cassandra.db.Table.getColumnFamilyStore(Table.java:160)
        at 
org.apache.cassandra.db.migration.DropColumnFamily.applyModels(DropColumnFamily.java:70)
        at org.apache.cassandra.db.migration.Migration.apply(Migration.java:156)
        at 
org.apache.cassandra.db.DefinitionsUpdateVerbHandler$1.runMayThrow(DefinitionsUpdateVerbHandler.java:73)
        at 
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
ERROR 18:35:51,423 Error in ThreadPoolExecutor
java.lang.IllegalArgumentException: Unknown CF 1000
        at org.apache.cassandra.db.Table.getColumnFamilyStore(Table.java:167)
        at org.apache.cassandra.db.Table.getColumnFamilyStore(Table.java:160)
        at 
org.apache.cassandra.db.migration.DropColumnFamily.applyModels(DropColumnFamily.java:70)
        at org.apache.cassandra.db.migration.Migration.apply(Migration.java:156)
        at 
org.apache.cassandra.db.DefinitionsUpdateVerbHandler$1.runMayThrow(DefinitionsUpdateVerbHandler.java:73)
        at 
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
ERROR 18:35:51,595 Error in ThreadPoolExecutor
java.lang.IllegalArgumentException: Unknown CF 1000
        at org.apache.cassandra.db.Table.getColumnFamilyStore(Table.java:167)
        at org.apache.cassandra.db.Table.getColumnFamilyStore(Table.java:160)
        at 
org.apache.cassandra.db.migration.DropColumnFamily.applyModels(DropColumnFamily.java:70)
        at org.apache.cassandra.db.migration.Migration.apply(Migration.java:156)
        at 
org.apache.cassandra.db.DefinitionsUpdateVerbHandler$1.runMayThrow(DefinitionsUpdateVerbHandler.java:73)
        at 
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)


  was:
SSTableLoader tries to apply the "drop column family" meta data update, and 
meets below problem. I do not think the node runs in client mode should apply 
these update.
user@luzhou:/data/apache-cassandra-1.0.8$ bin/sstableloader -i hostA,hostB 
/tmp/out/store/
Starting client (and waiting 30 seconds for gossip) ...
ERROR 18:35:51,420 Error in ThreadPoolExecutor
java.lang.IllegalArgumentException: Unknown CF 1000
        at org.apache.cassandra.db.Table.getColumnFamilyStore(Table.java:167)
        at org.apache.cassandra.db.Table.getColumnFamilyStore(Table.java:160)
        at 
org.apache.cassandra.db.migration.DropColumnFamily.applyModels(DropColumnFamily.java:70)
        at org.apache.cassandra.db.migration.Migration.apply(Migration.java:156)
        at 
org.apache.cassandra.db.DefinitionsUpdateVerbHandler$1.runMayThrow(DefinitionsUpdateVerbHandler.java:73)
        at 
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)


        Summary: SSTableLoader meets problem during  the apply of  the schema 
update  (was: SSTableLoader should not apply  the schema update)
    
> SSTableLoader meets problem during  the apply of  the schema update
> -------------------------------------------------------------------
>
>                 Key: CASSANDRA-4048
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4048
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.0.8
>            Reporter: Zhu Han
>            Priority: Minor
>
> SSTableLoader tries to apply the "drop column family" meta data update, and 
> meets below problem. Seems like the column family 
> is dropped multiple times?
> user@luzhou:/data/apache-cassandra-1.0.8$ bin/sstableloader -i hostA,hostB 
> /tmp/out/store/
> Starting client (and waiting 30 seconds for gossip) ...
> java.lang.IllegalArgumentException: Unknown CF 1000
>       at org.apache.cassandra.db.Table.getColumnFamilyStore(Table.java:167)
>       at org.apache.cassandra.db.Table.getColumnFamilyStore(Table.java:160)
>       at 
> org.apache.cassandra.db.migration.DropColumnFamily.applyModels(DropColumnFamily.java:70)
>       at org.apache.cassandra.db.migration.Migration.apply(Migration.java:156)
>       at 
> org.apache.cassandra.db.DefinitionsUpdateVerbHandler$1.runMayThrow(DefinitionsUpdateVerbHandler.java:73)
>       at 
> org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>       at java.lang.Thread.run(Thread.java:679)
> ERROR 18:35:51,423 Error in ThreadPoolExecutor
> java.lang.IllegalArgumentException: Unknown CF 1000
>       at org.apache.cassandra.db.Table.getColumnFamilyStore(Table.java:167)
>       at org.apache.cassandra.db.Table.getColumnFamilyStore(Table.java:160)
>       at 
> org.apache.cassandra.db.migration.DropColumnFamily.applyModels(DropColumnFamily.java:70)
>       at org.apache.cassandra.db.migration.Migration.apply(Migration.java:156)
>       at 
> org.apache.cassandra.db.DefinitionsUpdateVerbHandler$1.runMayThrow(DefinitionsUpdateVerbHandler.java:73)
>       at 
> org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>       at java.lang.Thread.run(Thread.java:679)
> ERROR 18:35:51,595 Error in ThreadPoolExecutor
> java.lang.IllegalArgumentException: Unknown CF 1000
>       at org.apache.cassandra.db.Table.getColumnFamilyStore(Table.java:167)
>       at org.apache.cassandra.db.Table.getColumnFamilyStore(Table.java:160)
>       at 
> org.apache.cassandra.db.migration.DropColumnFamily.applyModels(DropColumnFamily.java:70)
>       at org.apache.cassandra.db.migration.Migration.apply(Migration.java:156)
>       at 
> org.apache.cassandra.db.DefinitionsUpdateVerbHandler$1.runMayThrow(DefinitionsUpdateVerbHandler.java:73)
>       at 
> org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>       at java.lang.Thread.run(Thread.java:679)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to