cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Gimenez <danie...@gmail.com>
Subject Re: Problem with JVM? concurrent mode failure
Date Wed, 28 Apr 2010 18:21:40 GMT

When I tried to build Cassandra inserting the patch I got the error copied
below. I am trying to build the 0.6 version. Is that patch for this version?


build-project:
     [echo] apache-cassandra: /opt/cassandra/build.xml
    [javac] Compiling 315 source files to /opt/cassandra/build/classes
    [javac]
/opt/cassandra/src/java/org/apache/cassandra/db/ColumnFamilyStore.java:371:
discardCompletedSegments(java.lang.String,java.lang.String,org.apache.cassandra.db.commitlog.CommitLogSegment.CommitLogContext)
in org.apache.cassandra.db.commitlog.CommitLog cannot be applied to
(int,org.apache.cassandra.db.commitlog.CommitLogSegment.CommitLogContext)
    [javac]                        
CommitLog.instance().discardCompletedSegments(cfId, ctx);
    [javac]                                             ^
    [javac]
/opt/cassandra/src/java/org/apache/cassandra/db/commitlog/CommitLog.java:112:
cannot find symbol
    [javac] symbol  : variable TableMetadata
    [javac] location: class org.apache.cassandra.db.Table
    [javac]         int cfSize = Table.TableMetadata.getColumnFamilyCount();
    [javac]                           ^
    [javac]
/opt/cassandra/src/java/org/apache/cassandra/db/commitlog/CommitLog.java:115:
cannot find symbol
    [javac] symbol  : variable CommitLogSync
    [javac] location: class org.apache.cassandra.config.DatabaseDescriptor
    [javac]         if (DatabaseDescriptor.getCommitLogSync() ==
DatabaseDescriptor.CommitLogSync.periodic)
    [javac]                                                                       
^
    [javac]
/opt/cassandra/src/java/org/apache/cassandra/db/commitlog/CommitLog.java:245:
cannot find symbol
    [javac] symbol  : method getColumnFamilyId(java.lang.String)
    [javac] location: class org.apache.cassandra.db.Table
    [javac]                             int id =
table.getColumnFamilyId(columnFamily.name());
    [javac]                                           ^
    [javac]
/opt/cassandra/src/java/org/apache/cassandra/db/commitlog/CommitLog.java:248:
removeColumnFamily(java.lang.String) in org.apache.cassandra.db.RowMutation
cannot be applied to (org.apache.cassandra.db.ColumnFamily)
    [javac]                                
rm.removeColumnFamily(columnFamily);
    [javac]                                   ^
    [javac]
/opt/cassandra/src/java/org/apache/cassandra/db/commitlog/CommitLog.java:348:
cannot find symbol
    [javac] symbol  : method getColumnFamilyId(java.lang.String)
    [javac] location: class org.apache.cassandra.db.Table
    [javac]                 int id =
Table.open(tableName).getColumnFamilyId(cf);
    [javac]                                               ^
    [javac]
/opt/cassandra/src/java/org/apache/cassandra/db/commitlog/CommitLog.java:377:
cannot find symbol
    [javac] symbol  : variable TableMetadata
    [javac] location: class org.apache.cassandra.db.Table
    [javac]             logger.debug("discard completed log segments for " +
context + ", column family " + id + ". CFIDs are " +
Table.TableMetadata.getColumnFamilyIDString());
    [javac]                                                                              
                                            
^
    [javac]
/opt/cassandra/src/java/org/apache/cassandra/db/commitlog/CommitLogSegment.java:103:
cannot find symbol
    [javac] symbol  : method getColumnFamilyId(java.lang.String)
    [javac] location: class org.apache.cassandra.db.Table
    [javac]                 int id =
table.getColumnFamilyId(columnFamily.name());
    [javac]                               ^
    [javac]
/opt/cassandra/src/java/org/apache/cassandra/db/commitlog/CommitLogHeader.java:118:
cannot find symbol
    [javac] symbol  : variable TableMetadata
    [javac] location: class org.apache.cassandra.db.Table
    [javac]                
sb.append(Table.TableMetadata.getColumnFamilyName(i)).append(", ");
    [javac]                                ^
    [javac]
/opt/cassandra/src/java/org/apache/cassandra/db/commitlog/CommitLogHeader.java:124:
cannot find symbol
    [javac] symbol  : variable TableMetadata
    [javac] location: class org.apache.cassandra.db.Table
    [javac]            
sb.append(Table.TableMetadata.getColumnFamilyName(i)).append(":
").append(lastFlushedAt[i]).append(", ");
    [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] 10 errors


Thanks!
Daniel Gimenez.
-- 
View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Problem-with-JVM-concurrent-mode-failure-tp4969814p4975981.html
Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.

Mime
View raw message