incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonas Bonér <jbo...@gmail.com>
Subject Build fails
Date Sun, 02 Aug 2009 11:36:52 GMT
Hi guys.

Building trunk (rev 800034) fails:

 % ant
                          2009-08-02 13:35:07 jboner console
Buildfile: build.xml

build-subprojects:

init:
    [mkdir] Created dir: C:\home\jboner\src\java\cassandra\src\gen-java

check-gen-cli-grammar:

gen-cli-grammar:
     [echo] Building Grammar
C:\home\jboner\src\java\cassandra/src/java/org/apache/cassandra/cli/Cli.g
 ....

check-gen-cql-grammar:

gen-cql-grammar:
     [echo] Building Grammar
C:\home\jboner\src\java\cassandra/src/java/org/apache/cassandra/cql/compiler/parse/Cql.g
 ....

build-project:
     [echo] apache-cassandra-incubating:
C:\home\jboner\src\java\cassandra\build.xml
    [javac] Compiling 288 source files to
C:\home\jboner\src\java\cassandra\build\classes
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\dht\Token.java:82:
incompatible types
    [javac] found   : org.apache.cassandra.service.IPartitioner
    [javac] required: org.apache.cassandra.dht.IPartitioner
    [javac]             IPartitioner p = StorageService.getPartitioner();
    [javac]                                                           ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\dht\Token.java:90:
incompatible types
    [javac] found   : org.apache.cassandra.service.IPartitioner
    [javac] required: org.apache.cassandra.dht.IPartitioner
    [javac]             IPartitioner p = StorageService.getPartitioner();
    [javac]                                                           ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\BinaryMemtable.java:147:
cannot find symbol
    [javac] symbol  : constructor
SSTableWriter(java.lang.String,int,org.apache.cassandra.service.IPartitioner)
    [javac] location: class org.apache.cassandra.io.SSTableWriter
    [javac]         SSTableWriter writer = new
SSTableWriter(cfStore.getTempSSTablePath(), keys.size(),
StorageService.getPartitioner());
    [javac]                                ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\ColumnFamilyStore.java:662:
incompatible types
    [javac] found   : org.apache.cassandra.io.FileStruct
    [javac] required: org.apache.cassandra.db.FileStruct
    [javac]                 fs = SSTableReader.get(file).getFileStruct();
    [javac]                                                           ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\ColumnFamilyStore.java:663:
advance() in org.apache.cassandra.db.F
ileStruct cannot be applied to (boolean)
    [javac]                 fs.advance(true);
    [javac]                   ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\ColumnFamilyStore.java:906:
incompatible types
    [javac] found   : org.apache.cassandra.service.IPartitioner
    [javac] required: org.apache.cassandra.dht.IPartitioner
    [javac]         IPartitioner p = StorageService.getPartitioner();
    [javac]                                                       ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\ColumnFamilyStore.java:953:
cannot find symbol
    [javac] symbol  : method
sort(java.util.List<org.apache.cassandra.db.FileStruct>,org.apache.cassandra.db.FileStructComparator)
    [javac] location: class java.util.Collections
    [javac]                 Collections.sort(lfs, new FileStructComparator());
    [javac]                            ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\ColumnFamilyStore.java:967:
cannot find symbol
    [javac] symbol  : method getColumnFamily()
    [javac] location: class org.apache.cassandra.db.FileStruct
    [javac]
columnFamilies.add(filestruct.getColumnFamily());
    [javac]                                                      ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\ColumnFamilyStore.java:981:
cannot find symbol
    [javac] symbol  : method getColumnFamily()
    [javac] location: class org.apache.cassandra.db.FileStruct
    [javac]
ColumnFamily.serializerWithIndexes().serialize(filestruct.getColumnFamily(),
bufOut);
    [javac]
                  ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\ColumnFamilyStore.java:983:
cannot find symbol
    [javac] symbol  : method getInitialToken(java.lang.String)
    [javac] location: interface org.apache.cassandra.service.IPartitioner
    [javac]                 if
(Range.isTokenInRanges(StorageService.getPartitioner().getInitialToken(lastkey),
ranges))
    [javac]
              ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\ColumnFamilyStore.java:993:
cannot find symbol
    [javac] symbol  : constructor
SSTableWriter(java.lang.String,int,org.apache.cassandra.service.IPartitioner)
    [javac] location: class org.apache.cassandra.io.SSTableWriter
    [javac]                         rangeWriter = new
SSTableWriter(fname, expectedBloomFilterSize,
StorageService.getPartitioner());
    [javac]                                       ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\ColumnFamilyStore.java:1000:
advance() in org.apache.cassandra.db.
FileStruct cannot be applied to (boolean)
    [javac]                     filestruct.advance(true);
    [javac]                               ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\ColumnFamilyStore.java:1006:
cannot find symbol
    [javac] symbol  : method getInitialToken(java.lang.String)
    [javac] location: interface org.apache.cassandra.service.IPartitioner
    [javac]                     while
(!Range.isTokenInRanges(StorageService.getPartitioner().getInitialToken(filestruct.getKey()),
ranges))
    [javac]
                      ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\ColumnFamilyStore.java:1008:
advance() in org.apache.cassandra.db.
FileStruct cannot be applied to (boolean)
    [javac]                         filestruct.advance(true);
    [javac]                                   ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\ColumnFamilyStore.java:1118:
cannot find symbol
    [javac] symbol  : method
sort(java.util.List<org.apache.cassandra.db.FileStruct>,org.apache.cassandra.db.FileStructComparator)
    [javac] location: class java.util.Collections
    [javac]                 Collections.sort(lfs, new FileStructComparator());
    [javac]                            ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\ColumnFamilyStore.java:1131:
cannot find symbol
    [javac] symbol  : method getColumnFamily()
    [javac] location: class org.apache.cassandra.db.FileStruct
    [javac]
columnFamilies.add(filestruct.getColumnFamily());
    [javac]                                                      ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\ColumnFamilyStore.java:1145:
cannot find symbol
    [javac] symbol  : method getColumnFamily()
    [javac] location: class org.apache.cassandra.db.FileStruct
    [javac]
ColumnFamily.serializerWithIndexes().serialize(filestruct.getColumnFamily(),
bufOut);
    [javac]
                  ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\ColumnFamilyStore.java:1151:
cannot find symbol
    [javac] symbol  : constructor
SSTableWriter(java.lang.String,int,org.apache.cassandra.service.IPartitioner)
    [javac] location: class org.apache.cassandra.io.SSTableWriter
    [javac]                     writer = new SSTableWriter(fname,
expectedBloomFilterSize, StorageService.getPartitioner());
    [javac]                              ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\ColumnFamilyStore.java:1158:
advance() in org.apache.cassandra.db.
FileStruct cannot be applied to (boolean)
    [javac]                     filestruct.advance(true);
    [javac]                               ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\Memtable.java:193:
cannot find symbol
    [javac] symbol  : constructor
SSTableWriter(java.lang.String,int,org.apache.cassandra.service.IPartitioner)
    [javac] location: class org.apache.cassandra.io.SSTableWriter
    [javac]         SSTableWriter writer = new
SSTableWriter(cfStore.getTempSSTablePath(), columnFamilies_.size(),
StorageService.getPartitioner(
));
    [javac]                                ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\Memtable.java:196:
incompatible types
    [javac] found   : org.apache.cassandra.service.IPartitioner
    [javac] required: org.apache.cassandra.dht.IPartitioner
    [javac]         final IPartitioner partitioner =
StorageService.getPartitioner();
    [javac]
           ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\io\SSTableReader.java:84:
cannot find symbol
    [javac] symbol  : method
open(java.lang.String,org.apache.cassandra.service.IPartitioner,double)
    [javac] location: class org.apache.cassandra.io.SSTableReader
    [javac]         return open(dataFileName,
StorageService.getPartitioner(),
DatabaseDescriptor.getKeysCachedFraction(parseTableName(dataFileNa
me)));
    [javac]                ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\SystemTable.java:63:
incompatible types
    [javac] found   : org.apache.cassandra.service.IPartitioner
    [javac] required: org.apache.cassandra.dht.IPartitioner
    [javac]         IPartitioner p = StorageService.getPartitioner();
    [javac]                                                       ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\db\SystemTable.java:94:
incompatible types
    [javac] found   : org.apache.cassandra.service.IPartitioner
    [javac] required: org.apache.cassandra.dht.IPartitioner
    [javac]         IPartitioner p = StorageService.getPartitioner();
    [javac]                                                       ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\service\StorageService.java:116:
incompatible types
    [javac] found   : org.apache.cassandra.dht.IPartitioner
    [javac] required: org.apache.cassandra.service.IPartitioner
    [javac]         partitioner_ = DatabaseDescriptor.getPartitioner();
    [javac]                                                         ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\service\StorageService.java:280:
cannot find symbol
    [javac] symbol  : method getTokenFactory()
    [javac] location: interface org.apache.cassandra.service.IPartitioner
    [javac]         ApplicationState state = new
ApplicationState(StorageService.getPartitioner().getTokenFactory().toString(storageMetadata_.get
StorageId()));
    [javac]
                          ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\service\StorageService.java:403:
cannot find symbol
    [javac] symbol  : method getTokenFactory()
    [javac] location: interface org.apache.cassandra.service.IPartitioner
    [javac]             Token newToken =
getPartitioner().getTokenFactory().fromString(nodeIdState.getState());
    [javac]                                              ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\service\StorageService.java:501:
cannot find symbol
    [javac] symbol  : method getTokenFactory()
    [javac] location: interface org.apache.cassandra.service.IPartitioner
    [javac]         ApplicationState state = new
ApplicationState(StorageService.getPartitioner().getTokenFactory().toString(token));
    [javac]
                          ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\service\StorageService.java:538:
cannot find symbol
    [javac] symbol  : method getInitialToken(java.lang.String)
    [javac] location: interface org.apache.cassandra.service.IPartitioner
    [javac]             Token newToken =
partitioner_.getInitialToken(keys[index]);
    [javac]                                          ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\service\StorageService.java:888:
cannot find symbol
    [javac] symbol  : method getInitialToken(java.lang.String)
    [javac] location: interface org.apache.cassandra.service.IPartitioner
    [javac]         Token token = partitioner_.getInitialToken(key);
    [javac]                                   ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\service\StorageService.java:936:
cannot find symbol
    [javac] symbol  : method getInitialToken(java.lang.String)
    [javac] location: interface org.apache.cassandra.service.IPartitioner
    [javac]         return
nodePicker_.getStorageEndPoints(partitioner_.getInitialToken(key),
offset);
    [javac]                                                            ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\service\StorageService.java:979:
cannot find symbol
    [javac] symbol  : method getInitialToken(java.lang.String)
    [javac] location: interface org.apache.cassandra.service.IPartitioner
    [javac]         return
nodePicker_.getHintedStorageEndPoints(partitioner_.getInitialToken(key));
    [javac]                                                                  ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\service\TokenUpdateVerbHandler.java:41:
cannot find symbol
    [javac] symbol  : method getTokenFactory()
    [javac] location: interface org.apache.cassandra.service.IPartitioner
    [javac]         Token token =
StorageService.getPartitioner().getTokenFactory().fromByteArray(body);
    [javac]                                                      ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\tools\TokenUpdateVerbHandler.java:69:
incompatible types
    [javac] found   : org.apache.cassandra.service.IPartitioner
    [javac] required: org.apache.cassandra.dht.IPartitioner
    [javac]             IPartitioner p = StorageService.getPartitioner();
    [javac]                                                           ^
    [javac] C:\home\jboner\src\java\cassandra\src\java\org\apache\cassandra\tools\TokenUpdater.java:49:
incompatible types
    [javac] found   : org.apache.cassandra.service.IPartitioner
    [javac] required: org.apache.cassandra.dht.IPartitioner
    [javac]         IPartitioner p = StorageService.getPartitioner();
    [javac]                                                       ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 35 errors

BUILD FAILED

-- 
Jonas Bonér

twitter: @jboner
blog:    http://jonasboner.com
work:   http://crisp.se
work:   http://scalablesolutions.se
code:   http://github.com/jboner

Mime
View raw message