Secondary Indexes - The type org.apache.avro.specific.SpecificRecordBase cannot be resolved

477 views
Skip to first unread message

franklovecchio

unread,
Nov 10, 2010, 2:40:00 PM11/10/10
to Scale 7 - Libraries and systems for scalable computing
Having trouble getting getSelector().getIndexedColumns to work; I get
the error: "The type org.apache.avro.specific.SpecificRecordBase
cannot be resolved. It is indirectly referenced from required .class
files". Importing the Avro libs (shouldn't be necessary) eliminated
that error, but the code is still not compiling.

public LinkedHashMap getSecondaryIndexedColumns(
String colParent, IndexClause indexClause, SlicePredicate
colPredicate, ConsistencyLevel cLeve
) {

LinkedHashMap secondaryIndexMap = new LinkedHashMap();
secondaryIndexMap = getSelector().getIndexedColumns(colParent,
indexClause, colPredicate, cLevel);
return secondaryIndexMap;

}

Dan Washusen

unread,
Nov 11, 2010, 6:29:08 PM11/11/10
to sca...@googlegroups.com
I've had another look over the controb that Alois Bělaška made with the 'indexed' support and everything seems to be in order.  No references the avro that I can find. The integration tests in SelectorIntegrationTest also seem to work.

I don't use the indexed stuff so I can't really offer any advice...

Dan Washusen

unread,
Nov 11, 2010, 6:29:36 PM11/11/10
to sca...@googlegroups.com
I've had another look over the controb that Alois Bělaška made with the 'indexed' support and everything seems to be in order.  No references the avro that I can find. The integration tests in SelectorIntegrationTest also seem to work.

I don't use the indexed stuff so I can't really offer any advice...

On Thu, Nov 11, 2010 at 6:40 AM, franklovecchio <franklo...@gmail.com> wrote:

Alois Bělaška

unread,
Nov 12, 2010, 5:22:58 AM11/12/10
to sca...@googlegroups.com
We have never encountered such a error. And Avro library i necessary only for tests (embedded Cassandra). So my guess is wrong imports?

2010/11/12 Dan Washusen <d...@reactive.org>
Reply all
Reply to author
Forward
0 new messages