incubator-gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexis <alexis.detregl...@gmail.com>
Subject Re: Update on Gora 0.1.1 RC
Date Wed, 07 Sep 2011 09:37:46 GMT
Hi,

There seems to be a mixup in different versions of the code:

For example, let's consider CassandraClient class. This is old stuff
(that I updated 6 weeks ago, but only in trunk):

http://svn.apache.org/viewvc/incubator/gora/branches/0.1.1-incubating/gora-cassandra/src/main/java/org/apache/gora/cassandra/client/CassandraClient.java?view=markup

This is the new version of the class:

http://svn.apache.org/viewvc/incubator/gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java?view=markup


The branch has been created 2 months ago and you might want to merge
the trunk version (the whole gora/trunk/gora-cassandra directory) from
6 weeks ago into it.

BTW, feel free to apply the last patch called "cassandraHashmap.patch"
from GORA-22 to trunk and the branch because it fixes a critical bug.

Let me know if you have further difficulties to build gora-cassandra,
especially with managing the dependencies...

On Tue, Sep 6, 2011 at 7:26 PM, Mattmann, Chris A (388J)
<chris.a.mattmann@jpl.nasa.gov> wrote:
> Guys,
>
> I'm having some trouble building Gora 0.1.1-incubating, and I'm not sure
> what's changed. See the errors below:
>
> compile:
>    [javac] Compiling 22 source files to /Users/mattmann/tmp/g011/gora-cassandra/build/classes
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:65:
cannot find symbol
>    [javac] symbol  : method loadConfiguration()
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]     this.cassandraMapping.loadConfiguration();
>    [javac]                          ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:66:
cannot find symbol
>    [javac] symbol  : method getClusterName()
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]     this.cluster = HFactory.getOrCreateCluster(this.cassandraMapping.getClusterName(),
new CassandraHostConfigurator(this.cassandraMapping.getHostName()));
>    [javac]                                                
                    ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:66:
cannot find symbol
>    [javac] symbol  : method getHostName()
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]     this.cluster = HFactory.getOrCreateCluster(this.cassandraMapping.getClusterName(),
new CassandraHostConfigurator(this.cassandraMapping.getHostName()));
>    [javac]                                                
                                                           
                              ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:72:
cannot find symbol
>    [javac] symbol  : method getKeyspaceName()
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]     this.keyspace = HFactory.createKeyspace(this.cassandraMapping.getKeyspaceName(),
this.cluster);
>    [javac]                                                
                 ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:82:
cannot find symbol
>    [javac] symbol  : method getKeyspaceName()
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]     KeyspaceDefinition keyspaceDefinition = this.cluster.describeKeyspace(this.cassandraMapping.getKeyspaceName());
>    [javac]                                                
                                               ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:84:
cannot find symbol
>    [javac] symbol  : method getColumnFamilyDefinitions()
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]       List<ColumnFamilyDefinition> columnFamilyDefinitions = this.cassandraMapping.getColumnFamilyDefinitions();
>    [javac]                                                
                                  ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:85:
cannot find symbol
>    [javac] symbol  : method getKeyspaceName()
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]       keyspaceDefinition = HFactory.createKeyspaceDefinition(this.cassandraMapping.getKeyspaceName(),
"org.apache.cassandra.locator.SimpleStrategy", 1, columnFamilyDefinitions);
>    [javac]                                                
                                  ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:87:
cannot find symbol
>    [javac] symbol  : method getKeyspaceName()
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]       LOG.info("Keyspace '" + this.cassandraMapping.getKeyspaceName()
+ "' in cluster '" + this.cassandraMapping.getClusterName() + "' was created on host '" +
this.cassandraMapping.getHostName() + "'");
>    [javac]                                                
   ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:87:
cannot find symbol
>    [javac] symbol  : method getClusterName()
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]       LOG.info("Keyspace '" + this.cassandraMapping.getKeyspaceName()
+ "' in cluster '" + this.cassandraMapping.getClusterName() + "' was created on host '" +
this.cassandraMapping.getHostName() + "'");
>    [javac]                                                
                                                           
    ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:87:
cannot find symbol
>    [javac] symbol  : method getHostName()
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]       LOG.info("Keyspace '" + this.cassandraMapping.getKeyspaceName()
+ "' in cluster '" + this.cassandraMapping.getClusterName() + "' was created on host '" +
this.cassandraMapping.getHostName() + "'");
>    [javac]                                                
                                                           
                                                           
             ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:100:
cannot find symbol
>    [javac] symbol  : method getKeyspaceName()
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]     this.cluster.dropKeyspace(this.cassandraMapping.getKeyspaceName());
>    [javac]                                                
   ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:117:
cannot find symbol
>    [javac] symbol  : method getFamily(java.lang.String)
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]     String columnFamily = this.cassandraMapping.getFamily(fieldName);
>    [javac]                                                ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:118:
cannot find symbol
>    [javac] symbol  : method getColumn(java.lang.String)
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]     String columnName = this.cassandraMapping.getColumn(fieldName);
>    [javac]                                              ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:149:
cannot find symbol
>    [javac] symbol  : method getFamily(java.lang.String)
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]     String columnFamily = this.cassandraMapping.getFamily(fieldName);
>    [javac]                                                ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:150:
cannot find symbol
>    [javac] symbol  : method getColumn(java.lang.String)
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]     String superColumnName = this.cassandraMapping.getColumn(fieldName);
>    [javac]                                                
  ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:164:
cannot find symbol
>    [javac] symbol  : method getColumns(java.lang.String)
>    [javac] location: class org.apache.gora.cassandra.query.CassandraQuery<K,T>
>    [javac]     String[] columnNames = cassandraQuery.getColumns(family);
>    [javac]                                          ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:165:
cannot find symbol
>    [javac] symbol  : method getQuery()
>    [javac] location: class org.apache.gora.cassandra.query.CassandraQuery<K,T>
>    [javac]     Query<K, T> query = cassandraQuery.getQuery();
>    [javac]                                       ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:181:
BUFFER_LIMIT_READ_VALUE has private access in org.apache.gora.mapreduce.GoraRecordReader
>    [javac]     rangeSlicesQuery.setRange("", "", false, GoraRecordReader.BUFFER_LIMIT_READ_VALUE);
>    [javac]                                                
             ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:201:
cannot find symbol
>    [javac] symbol  : method getFamily(java.lang.String)
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]       String family = this.cassandraMapping.getFamily(field);
>    [javac]                                            ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:202:
cannot find symbol
>    [javac] symbol  : method getColumn(java.lang.String)
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]       String column = this.cassandraMapping.getColumn(field);
>    [javac]                                            ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:228:
cannot find symbol
>    [javac] symbol  : method getFamily(java.lang.String)
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]       String family = this.cassandraMapping.getFamily(field);
>    [javac]                                            ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:229:
cannot find symbol
>    [javac] symbol  : method getColumn(java.lang.String)
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]       String column = this.cassandraMapping.getColumn(field);
>    [javac]                                            ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:239:
cannot find symbol
>    [javac] symbol  : method isSuper(java.lang.String)
>    [javac] location: class org.apache.gora.cassandra.store.CassandraMapping
>    [javac]     return this.cassandraMapping.isSuper(family);
>    [javac]                                 ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:243:
cannot find symbol
>    [javac] symbol  : method getColumns(java.lang.String)
>    [javac] location: class org.apache.gora.cassandra.query.CassandraQuery<K,T>
>    [javac]     String[] columnNames = cassandraQuery.getColumns(family);
>    [javac]                                          ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:244:
cannot find symbol
>    [javac] symbol  : method getQuery()
>    [javac] location: class org.apache.gora.cassandra.query.CassandraQuery<K,T>
>    [javac]     Query<K, T> query = cassandraQuery.getQuery();
>    [javac]                                       ^
>    [javac] /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java:260:
BUFFER_LIMIT_READ_VALUE has private access in org.apache.gora.mapreduce.GoraRecordReader
>    [javac]     rangeSuperSlicesQuery.setRange("", "", false, GoraRecordReader.BUFFER_LIMIT_READ_VALUE);
>    [javac]                                                
                  ^
>    [javac] Note: /Users/mattmann/tmp/g011/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
uses unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>    [javac] 26 errors
>
> Looking at: http://svn.apache.org/viewvc/incubator/gora/branches/0.1.1-incubating/
>
> It doesn't look like anything has changed in 2 months since I created the branch. Anyone
have any clue what I'm seeing here? I'm trying to build
> on a Mac OSX 10.6, with JDK6.
>
> Cheers,
> Chris
>
>
> On Aug 28, 2011, at 12:22 PM, lewis john mcgibbney wrote:
>
>> Hi Gora Devs,
>>
>> Out of interest I am writing to ask what the position is with the above RC.
>> I am coming from a Nutch point of view, our Trunk has been broken for some
>> time and understandably we are directly interested in the state of play of
>> Gora.
>>
>> Any information would be great.
>>
>> Thank you
>>
>> --
>> *Lewis*
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Chris Mattmann, Ph.D.
> Senior Computer Scientist
> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
> Office: 171-266B, Mailstop: 171-246
> Email: chris.a.mattmann@nasa.gov
> WWW:   http://sunset.usc.edu/~mattmann/
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Adjunct Assistant Professor, Computer Science Department
> University of Southern California, Los Angeles, CA 90089 USA
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>

Mime
View raw message