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

mck updated CASSANDRA-14450:
----------------------------
    Description: 
The [DelimiterAnalyzer|https://issues.apache.org/jira/browse/CASSANDRA-14247] 
can throw an IllegalArgumentException if there is no text between two 
delimiters. 

{noformat}
ERROR [MutationStage-1] 2018-05-17 13:55:09,734 StorageProxy.java:1417 - Failed 
to apply mutation locally : {}
java.lang.RuntimeException: The key argument was zero-length for ks: zipkin2, 
table: span
        at 
org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:1353) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.db.Keyspace.applyInternal(Keyspace.java:626) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:470) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.db.Mutation.apply(Mutation.java:227) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.db.Mutation.apply(Mutation.java:232) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.db.Mutation.apply(Mutation.java:241) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.service.StorageProxy$8.runMayThrow(StorageProxy.java:1411) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.service.StorageProxy$LocalMutationRunnable.run(StorageProxy.java:2650)
 [apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
[na:1.8.0_171]
        at 
org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:162)
 [apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:134)
 [apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:109) 
[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_171]
Caused by: java.lang.IllegalArgumentException: The key argument was zero-length
        at 
com.googlecode.concurrenttrees.radix.ConcurrentRadixTree.putInternal(ConcurrentRadixTree.java:520)
 ~[concurrent-trees-2.4.0.jar:na]
        at 
com.googlecode.concurrenttrees.radix.ConcurrentRadixTree.putIfAbsent(ConcurrentRadixTree.java:123)
 ~[concurrent-trees-2.4.0.jar:na]
        at 
org.apache.cassandra.index.sasi.memory.TrieMemIndex$ConcurrentPrefixTrie.putIfAbsent(TrieMemIndex.java:178)
 ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.index.sasi.memory.TrieMemIndex$ConcurrentTrie.add(TrieMemIndex.java:123)
 ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.index.sasi.memory.TrieMemIndex.add(TrieMemIndex.java:94) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.index.sasi.memory.IndexMemtable.index(IndexMemtable.java:65)
 ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.index.sasi.conf.ColumnIndex.index(ColumnIndex.java:104) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.index.sasi.SASIIndex$1.insertRow(SASIIndex.java:258) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.index.SecondaryIndexManager$WriteTimeTransaction.onInserted(SecondaryIndexManager.java:915)
 ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.apply(AtomicBTreePartition.java:333)
 ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.apply(AtomicBTreePartition.java:295)
 ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.utils.btree.BTree.buildInternal(BTree.java:139) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.utils.btree.BTree.build(BTree.java:121) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.utils.btree.BTree.update(BTree.java:178) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.db.partitions.AtomicBTreePartition.addAllWithSizeDelta(AtomicBTreePartition.java:156)
 ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.db.Memtable.put(Memtable.java:282) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:1335) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
{noformat}

  was:
The [DelimiterAnalyzer|https://issues.apache.org/jira/browse/CASSANDRA-14247] 
can throw an IllegalArgumentException if there are no text between two 
delimiters. 

{noformat}
ERROR [MutationStage-1] 2018-05-17 13:55:09,734 StorageProxy.java:1417 - Failed 
to apply mutation locally : {}
java.lang.RuntimeException: The key argument was zero-length for ks: zipkin2, 
table: span
        at 
org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:1353) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.db.Keyspace.applyInternal(Keyspace.java:626) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:470) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.db.Mutation.apply(Mutation.java:227) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.db.Mutation.apply(Mutation.java:232) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.db.Mutation.apply(Mutation.java:241) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.service.StorageProxy$8.runMayThrow(StorageProxy.java:1411) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.service.StorageProxy$LocalMutationRunnable.run(StorageProxy.java:2650)
 [apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
[na:1.8.0_171]
        at 
org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:162)
 [apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:134)
 [apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:109) 
[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_171]
Caused by: java.lang.IllegalArgumentException: The key argument was zero-length
        at 
com.googlecode.concurrenttrees.radix.ConcurrentRadixTree.putInternal(ConcurrentRadixTree.java:520)
 ~[concurrent-trees-2.4.0.jar:na]
        at 
com.googlecode.concurrenttrees.radix.ConcurrentRadixTree.putIfAbsent(ConcurrentRadixTree.java:123)
 ~[concurrent-trees-2.4.0.jar:na]
        at 
org.apache.cassandra.index.sasi.memory.TrieMemIndex$ConcurrentPrefixTrie.putIfAbsent(TrieMemIndex.java:178)
 ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.index.sasi.memory.TrieMemIndex$ConcurrentTrie.add(TrieMemIndex.java:123)
 ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.index.sasi.memory.TrieMemIndex.add(TrieMemIndex.java:94) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.index.sasi.memory.IndexMemtable.index(IndexMemtable.java:65)
 ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.index.sasi.conf.ColumnIndex.index(ColumnIndex.java:104) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.index.sasi.SASIIndex$1.insertRow(SASIIndex.java:258) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.index.SecondaryIndexManager$WriteTimeTransaction.onInserted(SecondaryIndexManager.java:915)
 ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.apply(AtomicBTreePartition.java:333)
 ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.apply(AtomicBTreePartition.java:295)
 ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.utils.btree.BTree.buildInternal(BTree.java:139) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.utils.btree.BTree.build(BTree.java:121) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.utils.btree.BTree.update(BTree.java:178) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.db.partitions.AtomicBTreePartition.addAllWithSizeDelta(AtomicBTreePartition.java:156)
 ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at org.apache.cassandra.db.Memtable.put(Memtable.java:282) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
        at 
org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:1335) 
~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
{noformat}


> DelimiterAnalyzer: IllegalArgumentException: The key argument was zero-length
> -----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-14450
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14450
>             Project: Cassandra
>          Issue Type: Bug
>          Components: sasi
>            Reporter: mck
>            Priority: Major
>
> The [DelimiterAnalyzer|https://issues.apache.org/jira/browse/CASSANDRA-14247] 
> can throw an IllegalArgumentException if there is no text between two 
> delimiters. 
> {noformat}
> ERROR [MutationStage-1] 2018-05-17 13:55:09,734 StorageProxy.java:1417 - 
> Failed to apply mutation locally : {}
> java.lang.RuntimeException: The key argument was zero-length for ks: zipkin2, 
> table: span
>       at 
> org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:1353) 
> ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at org.apache.cassandra.db.Keyspace.applyInternal(Keyspace.java:626) 
> ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:470) 
> ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at org.apache.cassandra.db.Mutation.apply(Mutation.java:227) 
> ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at org.apache.cassandra.db.Mutation.apply(Mutation.java:232) 
> ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at org.apache.cassandra.db.Mutation.apply(Mutation.java:241) 
> ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at 
> org.apache.cassandra.service.StorageProxy$8.runMayThrow(StorageProxy.java:1411)
>  ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at 
> org.apache.cassandra.service.StorageProxy$LocalMutationRunnable.run(StorageProxy.java:2650)
>  [apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
> [na:1.8.0_171]
>       at 
> org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:162)
>  [apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at 
> org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:134)
>  [apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:109) 
> [apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at java.lang.Thread.run(Thread.java:748) [na:1.8.0_171]
> Caused by: java.lang.IllegalArgumentException: The key argument was 
> zero-length
>       at 
> com.googlecode.concurrenttrees.radix.ConcurrentRadixTree.putInternal(ConcurrentRadixTree.java:520)
>  ~[concurrent-trees-2.4.0.jar:na]
>       at 
> com.googlecode.concurrenttrees.radix.ConcurrentRadixTree.putIfAbsent(ConcurrentRadixTree.java:123)
>  ~[concurrent-trees-2.4.0.jar:na]
>       at 
> org.apache.cassandra.index.sasi.memory.TrieMemIndex$ConcurrentPrefixTrie.putIfAbsent(TrieMemIndex.java:178)
>  ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at 
> org.apache.cassandra.index.sasi.memory.TrieMemIndex$ConcurrentTrie.add(TrieMemIndex.java:123)
>  ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at 
> org.apache.cassandra.index.sasi.memory.TrieMemIndex.add(TrieMemIndex.java:94) 
> ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at 
> org.apache.cassandra.index.sasi.memory.IndexMemtable.index(IndexMemtable.java:65)
>  ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at 
> org.apache.cassandra.index.sasi.conf.ColumnIndex.index(ColumnIndex.java:104) 
> ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at 
> org.apache.cassandra.index.sasi.SASIIndex$1.insertRow(SASIIndex.java:258) 
> ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at 
> org.apache.cassandra.index.SecondaryIndexManager$WriteTimeTransaction.onInserted(SecondaryIndexManager.java:915)
>  ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at 
> org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.apply(AtomicBTreePartition.java:333)
>  ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at 
> org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.apply(AtomicBTreePartition.java:295)
>  ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at org.apache.cassandra.utils.btree.BTree.buildInternal(BTree.java:139) 
> ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at org.apache.cassandra.utils.btree.BTree.build(BTree.java:121) 
> ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at org.apache.cassandra.utils.btree.BTree.update(BTree.java:178) 
> ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at 
> org.apache.cassandra.db.partitions.AtomicBTreePartition.addAllWithSizeDelta(AtomicBTreePartition.java:156)
>  ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at org.apache.cassandra.db.Memtable.put(Memtable.java:282) 
> ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
>       at 
> org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:1335) 
> ~[apache-cassandra-3.11.2-SNAPSHOT.jar:3.11.2-SNAPSHOT]
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to