{"action":"created","issue":{"url":"https://api.github.com/repos/Stratio/cassandra-lucene-index/issues/148","repository_url":"https://api.github.com/repos/Stratio/cassandra-lucene-index","labels_url":"https://api.github.com/repos/Stratio/cassandra-lucene-index/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/Stratio/cassandra-lucene-index/issues/148/comments","events_url":"https://api.github.com/repos/Stratio/cassandra-lucene-index/issues/148/events","html_url":"https://github.com/Stratio/cassandra-lucene-index/issues/148","id":158387992,"number":148,"title":" org.apache.cassandra.serializers.MarshalException: Invalid US-ASCII bytes","user":{"login":"teamkiller","id":807195,"avatar_url":"https://avatars.githubusercontent.com/u/807195?v=3","gravatar_id":"","url":"https://api.github.com/users/teamkiller","html_url":"https://github.com/teamkiller","followers_url":"https://api.github.com/users/teamkiller/followers","following_url":"https://api.github.com/users/teamkiller/following{/other_user}","gists_url":"https://api.github.com/users/teamkiller/gists{/gist_id}","starred_url":"https://api.github.com/users/teamkiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamkiller/subscriptions","organizations_url":"https://api.github.com/users/teamkiller/orgs","repos_url":"https://api.github.com/users/teamkiller/repos","events_url":"https://api.github.com/users/teamkiller/events{/privacy}","received_events_url":"https://api.github.com/users/teamkiller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-03T15:04:25Z","updated_at":"2016-06-03T19:28:43Z","closed_at":null,"body":"@adelapena I wounder if you can help me with this issue;\r\n\r\n I have created a new custom secondary index using the lucene plug with the following CQL\r\n\r\nCREATE CUSTOM INDEX idx_sec_symbol on securities()\r\nUSING 'com.stratio.cassandra.lucene.Index'\r\nWITH OPTIONS  = {\t\r\n\t'schema' : '{\t\r\n\t\tfields : { \r\n\t\t\ttext: {\r\n\t\t\t\ttype : \"text\",\r\n \t\t\t\tvalidated : true,\r\n\t\t\t\tcolumn : \"symbol\",\r\n\t\t\t\tcase_sensitive : false\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t}'};\r\n\r\nBut this produces the following stack-trace in cassandra logs and I cannot find a solution in any of the documents of Stratio/Cassandra-lucene-index plugin or the apache cassandra pages.\r\n\r\n` ERROR 14:55:58 Exception in thread Thread[CompactionExecutor:78,1,main]\r\n org.apache.cassandra.serializers.MarshalException: Invalid US-ASCII bytes 44656b6147656ec3bc737365202b2052656e74656e\r\n     at org.apache.cassandra.serializers.AbstractTextSerializer.deserialize(AbstractTextSerializer.java:45) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at org.apache.cassandra.serializers.AbstractTextSerializer.deserialize(AbstractTextSerializer.java:28) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at org.apache.cassandra.db.marshal.AbstractType.compose(AbstractType.java:114) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at com.stratio.cassandra.lucene.column.ColumnBuilder.buildWithDecomposed(ColumnBuilder.java:71) ~[cassandra-lucene-index-plugin-3.0.5.2.jar:na]\r\n     at com.stratio.cassandra.lucene.column.ColumnsMapper.addColumns(ColumnsMapper.java:166) ~[cassandra-lucene-index-plugin-3.0.5.2.jar:na]\r\n     at com.stratio.cassandra.lucene.column.ColumnsMapper.addColumns(ColumnsMapper.java:100) ~[cassandra-lucene-index-plugin-3.0.5.2.jar:na]\r\n     at com.stratio.cassandra.lucene.column.ColumnsMapper.addColumns(ColumnsMapper.java:53) ~[cassandra-lucene-index-plugin-3.0.5.2.jar:na]\r\n     at com.stratio.cassandra.lucene.IndexServiceWide.columns(IndexServiceWide.java:100) ~[cassandra-lucene-index-plugin-3.0.5.2.jar:na]\r\n     at com.stratio.cassandra.lucene.IndexService.needsReadBeforeWrite(IndexService.java:319) ~[cassandra-lucene-index-plugin-3.0.5.2.jar:na]\r\n     at com.stratio.cassandra.lucene.IndexWriterWide.index(IndexWriterWide.java:71) ~[cassandra-lucene-index-plugin-3.0.5.2.jar:na]\r\n     at com.stratio.cassandra.lucene.IndexWriter.insertRow(IndexWriter.java:85) ~[cassandra-lucene-index-plugin-3.0.5.2.jar:na]\r\n     at org.apache.cassandra.index.SecondaryIndexManager.lambda$indexPartition$79(SecondaryIndexManager.java:544) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at java.lang.Iterable.forEach(Iterable.java:75) ~[na:1.8.0_72-internal]\r\n     at org.apache.cassandra.index.SecondaryIndexManager.indexPartition(SecondaryIndexManager.java:544) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at org.apache.cassandra.db.Keyspace.indexPartition(Keyspace.java:538) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at org.apache.cassandra.index.SecondaryIndexBuilder.build(SecondaryIndexBuilder.java:69) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at org.apache.cassandra.db.compaction.CompactionManager$11.run(CompactionManager.java:1345) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_72-internal]\r\n     at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_72-internal]\r\n     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_72-internal]\r\n     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_72-internal]\r\n     at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72-internal]\r\n ERROR 14:55:58 Exception in thread Thread[SecondaryIndexManagement:16,5,main]\r\n java.lang.RuntimeException: java.util.concurrent.ExecutionException: org.apache.cassandra.serializers.MarshalException: Invalid US-ASCII bytes 44656b6147656ec3bc737365202b2052656e74656e\r\n     at org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:384) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at org.apache.cassandra.index.SecondaryIndexManager.buildIndexesBlocking(SecondaryIndexManager.java:367) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at org.apache.cassandra.index.SecondaryIndexManager.buildIndexBlocking(SecondaryIndexManager.java:277) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at com.stratio.cassandra.lucene.Index.lambda$getInitializationTask$0(Index.java:136) ~[cassandra-lucene-index-plugin-3.0.5.2.jar:na]\r\n     at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_72-internal]\r\n     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_72-internal]\r\n     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_72-internal]\r\n     at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72-internal]\r\n Caused by: java.util.concurrent.ExecutionException: org.apache.cassandra.serializers.MarshalException: Invalid US-ASCII bytes 44656b6147656ec3bc737365202b2052656e74656e\r\n     at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.8.0_72-internal]\r\n     at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[na:1.8.0_72-internal]\r\n     at org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:380) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     ... 7 common frames omitted\r\n Caused by: org.apache.cassandra.serializers.MarshalException: Invalid US-ASCII bytes 44656b6147656ec3bc737365202b2052656e74656e\r\n     at org.apache.cassandra.serializers.AbstractTextSerializer.deserialize(AbstractTextSerializer.java:45) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at org.apache.cassandra.serializers.AbstractTextSerializer.deserialize(AbstractTextSerializer.java:28) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at org.apache.cassandra.db.marshal.AbstractType.compose(AbstractType.java:114) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at com.stratio.cassandra.lucene.column.ColumnBuilder.buildWithDecomposed(ColumnBuilder.java:71) ~[cassandra-lucene-index-plugin-3.0.5.2.jar:na]\r\n     at com.stratio.cassandra.lucene.column.ColumnsMapper.addColumns(ColumnsMapper.java:166) ~[cassandra-lucene-index-plugin-3.0.5.2.jar:na]\r\n     at com.stratio.cassandra.lucene.column.ColumnsMapper.addColumns(ColumnsMapper.java:100) ~[cassandra-lucene-index-plugin-3.0.5.2.jar:na]\r\n     at com.stratio.cassandra.lucene.column.ColumnsMapper.addColumns(ColumnsMapper.java:53) ~[cassandra-lucene-index-plugin-3.0.5.2.jar:na]\r\n     at com.stratio.cassandra.lucene.IndexServiceWide.columns(IndexServiceWide.java:100) ~[cassandra-lucene-index-plugin-3.0.5.2.jar:na]\r\n     at com.stratio.cassandra.lucene.IndexService.needsReadBeforeWrite(IndexService.java:319) ~[cassandra-lucene-index-plugin-3.0.5.2.jar:na]\r\n     at com.stratio.cassandra.lucene.IndexWriterWide.index(IndexWriterWide.java:71) ~[cassandra-lucene-index-plugin-3.0.5.2.jar:na]\r\n     at com.stratio.cassandra.lucene.IndexWriter.insertRow(IndexWriter.java:85) ~[cassandra-lucene-index-plugin-3.0.5.2.jar:na]\r\n     at org.apache.cassandra.index.SecondaryIndexManager.lambda$indexPartition$79(SecondaryIndexManager.java:544) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at java.lang.Iterable.forEach(Iterable.java:75) ~[na:1.8.0_72-internal]\r\n     at org.apache.cassandra.index.SecondaryIndexManager.indexPartition(SecondaryIndexManager.java:544) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at org.apache.cassandra.db.Keyspace.indexPartition(Keyspace.java:538) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at org.apache.cassandra.index.SecondaryIndexBuilder.build(SecondaryIndexBuilder.java:69) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at org.apache.cassandra.db.compaction.CompactionManager$11.run(CompactionManager.java:1345) ~[apache-cassandra-3.0.5.jar:3.0.5]\r\n     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_72-internal]\r\n     ... 4 common frames omitted\r\n` "},"comment":{"url":"https://api.github.com/repos/Stratio/cassandra-lucene-index/issues/comments/223671897","html_url":"https://github.com/Stratio/cassandra-lucene-index/issues/148#issuecomment-223671897","issue_url":"https://api.github.com/repos/Stratio/cassandra-lucene-index/issues/148","id":223671897,"user":{"login":"adelapena","id":5229055,"avatar_url":"https://avatars.githubusercontent.com/u/5229055?v=3","gravatar_id":"","url":"https://api.github.com/users/adelapena","html_url":"https://github.com/adelapena","followers_url":"https://api.github.com/users/adelapena/followers","following_url":"https://api.github.com/users/adelapena/following{/other_user}","gists_url":"https://api.github.com/users/adelapena/gists{/gist_id}","starred_url":"https://api.github.com/users/adelapena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelapena/subscriptions","organizations_url":"https://api.github.com/users/adelapena/orgs","repos_url":"https://api.github.com/users/adelapena/repos","events_url":"https://api.github.com/users/adelapena/events{/privacy}","received_events_url":"https://api.github.com/users/adelapena/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T19:28:43Z","updated_at":"2016-06-03T19:28:43Z","body":"By the way, which OS are you using?"}}
{"actor":{"display_login":"adelapena"}}