cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "madheswaran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8435) Cassandra LIST with UDT fails to create index in SOLR throws JDBC error
Date Mon, 08 Dec 2014 05:02:12 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-8435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14237440#comment-14237440
] 

madheswaran commented on CASSANDRA-8435:
----------------------------------------

Jonathan Ellis 
Please see this error
Caused by: java.lang.NullPointerException
at org.apache.cassandra.cql.jdbc.ListMaker.compose(ListMaker.java:61)

> Cassandra LIST with UDT fails to create index in SOLR throws JDBC error
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-8435
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8435
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Drivers (now out of tree)
>            Reporter: madheswaran
>            Priority: Critical
>
> 16767 [qtp297774990-12] INFO org.apache.solr.handler.dataimport.DataImporter – Loading
DIH Configuration: dataconfigCassandra.xml
> 16779 [qtp297774990-12] INFO org.apache.solr.handler.dataimport.DataImporter – Data
Configuration loaded successfully
> 16788 [Thread-15] INFO org.apache.solr.handler.dataimport.DataImporter – Starting Full
Import
> 16789 [qtp297774990-12] INFO org.apache.solr.core.SolrCore – [Entity_dev] webapp=/solr
path=/dataimport params=
> {optimize=false&indent=true&clean=true&commit=true&verbose=false&command=full-import&debug=false&wt=json}
> status=0 QTime=27
> 16810 [qtp297774990-12] INFO org.apache.solr.core.SolrCore – [Entity_dev] webapp=/solr
path=/dataimport params=
> {indent=true&command=status&_=1416042006354&wt=json}
> status=0 QTime=0
> 16831 [Thread-15] INFO org.apache.solr.handler.dataimport.SimplePropertiesWriter –
Read dataimport.properties
> 16917 [Thread-15] INFO org.apache.solr.search.SolrIndexSearcher – Opening Searcher@6214b0dc[Entity_dev]
realtime
> 16945 [Thread-15] INFO org.apache.solr.handler.dataimport.JdbcDataSource – Creating
a connection for entity Entity with URL: jdbc:cassandra://10.234.31.153:9160/galaxy_dev
> 17082 [Thread-15] INFO org.apache.solr.handler.dataimport.JdbcDataSource – Time taken
for getConnection(): 136
> 17429 [Thread-15] ERROR org.apache.solr.handler.dataimport.DocBuilder – Exception while
processing: Entity document : SolrInputDocument(fields: []):org.apache.solr.handler.dataimport.DataImportHandlerException:
Unable to execute query: select * from entity Processing Document # 1
> at
> org.apache.solr.handler.dataimport.DataImportHandlerException.wrapAndThrow(DataImportHandlerException.java:71)
> at org.apache.solr.handler.dataimport.JdbcDataSource$ResultSetIterator.<init>(JdbcDataSource.java:283)
> at org.apache.solr.handler.dataimport.JdbcDataSource.getData(JdbcDataSource.java:240)
> at org.apache.solr.handler.dataimport.JdbcDataSource.getData(JdbcDataSource.java:44)
> at org.apache.solr.handler.dataimport.SqlEntityProcessor.initQuery(SqlEntityProcessor.java:59)
> at org.apache.solr.handler.dataimport.SqlEntityProcessor.nextRow(SqlEntityProcessor.java:73)
> at org.apache.solr.handler.dataimport.EntityProcessorWrapper.nextRow(EntityProcessorWrapper.java:243)
> at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:476)
> at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:415)
> at org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:330)
> at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:232)
> at org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:416)
> at org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:480)
> at org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:461)
> Caused by: java.lang.NullPointerException
> at org.apache.cassandra.cql.jdbc.ListMaker.compose(ListMaker.java:61)
> at org.apache.cassandra.cql.jdbc.TypedColumn.<init>(TypedColumn.java:68)
> at org.apache.cassandra.cql.jdbc.CassandraResultSet.createColumn(CassandraResultSet.java:1174)
> at org.apache.cassandra.cql.jdbc.CassandraResultSet.populateColumns(CassandraResultSet.java:240)
> at org.apache.cassandra.cql.jdbc.CassandraResultSet.<init>(CassandraResultSet.java:200)
> at org.apache.cassandra.cql.jdbc.CassandraStatement.doExecute(CassandraStatement.java:169)
> at org.apache.cassandra.cql.jdbc.CassandraStatement.execute(CassandraStatement.java:205)
> at org.apache.solr.handler.dataimport.JdbcDataSource$ResultSetIterator.<init>(JdbcDataSource.java:276)
> ... 12 more
> UDT:
> =====
>  DESCRIBE TYPE fieldmap ;
> CREATE TYPE galaxy_dev.fieldmap (
>     key text,
>     value text
> );
> Table:
> =========
> CREATE TABLE galaxy_dev.entity (
>     entity_id uuid PRIMARY KEY,
>     begining int,
>     domain text,
>     domain_type text,
>     entity_template_name text,
>     field_values list<frozen<fieldmap>>,
>     global_entity_type text,
>     revision_time timeuuid,
>     status_key int,
>     status_name text,
>     uuid timeuuid
> );



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message