incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Greene <michael.gre...@gmail.com>
Subject Re: build failed
Date Tue, 11 Aug 2009 00:41:22 GMT
Sorry for the top-post, but I should have hinted: You can change
range.is_ascending to !range.reversed while waiting for someone to
check in a fix.

Michael

On Mon, Aug 10, 2009 at 7:38 PM, Michael Greene<michael.greene@gmail.com> wrote:
> I see the same thing.  It looks like r802953 for CASSANDRA-311 just
> missed a spot.
>
> Michael
>
> On Mon, Aug 10, 2009 at 7:28 PM, Mark Lewandowski<mark@digg.com> wrote:
>> I just checked out the latest from trunk, and can't get it to build.
>> This is what I've gotten so far:
>>
>> mark@virtualdude ~/cassandra-trunk> ant clean build
>> Buildfile: build.xml
>>
>> clean:
>>   [delete] Deleting directory /home/mark/cassandra-trunk/build
>>   [delete] Deleting directory /home/mark/cassandra-trunk/src/gen-java
>>
>> build-subprojects:
>>
>> init:
>>    [mkdir] Created dir: /home/mark/cassandra-trunk/build/classes
>>    [mkdir] Created dir: /home/mark/cassandra-trunk/build/test/classes
>>    [mkdir] Created dir: /home/mark/cassandra-trunk/src/gen-java
>>
>> check-gen-cli-grammar:
>>
>> gen-cli-grammar:
>>     [echo] Building Grammar
>> /home/mark/cassandra-trunk/src/java/org/apache/cassandra/cli/Cli.g  ....
>>
>> build-project:
>>     [echo] apache-cassandra-incubating:
>> /home/mark/cassandra-trunk/build.xml
>>    [javac] Compiling 261 source files to
>> /home/mark/cassandra-trunk/build/classes
>>    [javac]
>> /home/mark/cassandra-trunk/src/java/org/apache/cassandra/service/CassandraServer.java:213:
>> cannot find symbol
>>    [javac] symbol  : variable is_ascending
>>    [javac] location: class org.apache.cassandra.service.SliceRange
>>    [javac]             return getSlice(new
>> SliceFromReadCommand(keyspace, key, column_parent, range.start,
>> range.finish, range.is_ascending, range.count), consistency_level);
>>    [javac]
>>                                                      
^
>>    [javac]
>> /home/mark/cassandra-trunk/src/java/org/apache/cassandra/service/CassandraServer.java:213:
>> internal error; cannot instantiate
>> SliceFromReadCommand(java.lang.String,java.lang.String,org.apache.cassandra.service.ColumnParent,byte[],byte[],boolean,int)
>> at org.apache.cassandra.db.SliceFromReadCommand to ()
>>    [javac]             return getSlice(new
>> SliceFromReadCommand(keyspace, key, column_parent, range.start,
>> range.finish, range.is_ascending, range.count), consistency_level);
>>    [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] 2 errors
>>
>> BUILD FAILED
>> /home/mark/cassandra-trunk/build.xml:119: Compile failed; see the
>> compiler error output for details.
>>
>> Total time: 10 seconds
>>
>> I'm on a linux box (gentoo) with sun-jdk-1.6.0.13, and ant-1.7.1.  Any
>> ideas?
>>
>> -Mark
>>
>>
>

Mime
View raw message