gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kazuomi Kashii (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-140) Requires some adjustments on dependency at gora-cassandra
Date Mon, 16 Jul 2012 14:30:35 GMT

    [ https://issues.apache.org/jira/browse/GORA-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13415170#comment-13415170
] 

Kazuomi Kashii commented on GORA-140:
-------------------------------------

For gora-cassandra test (GORA-53), we need cassandra-all but just for test.
Since I had some trouble with gora-cassandra 1.1.2 (the lastest) and 1.1.1, I'd recommend
1.1.0 for now (until the trouble being fixed).
Also, hector 1.1-0 depends cassandra-all 1.1.0, but it is required for just test.
My recommendation is:

gora-trunk/pom.xml

        <cassandra.version>1.1.0</cassandra.version>
        <!-- cassandra.thrift.version>1.1.0</cassandra.thrift.version --> .. REMOVE,
and just use cassandra.version
        <libthrift.version>0.7.0</libthrift.version>
        <hector.version>1.1-0</hector.version>

            <dependency>
                <groupId>org.apache.cassandra</groupId>
                <artifactId>cassandra-all</artifactId>
                <version>${cassandra.version}</version>
                <scope>test</scope>  .. test only
                <exclusions>
                    <exclusion>
                        <groupId>org.apache.cassandra.deps</groupId>
                        <artifactId>avro</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <dependency>
                <groupId>org.apache.cassandra</groupId>
                <artifactId>cassandra-thrift</artifactId>
                <version>${cassandra.version}</version>
            </dependency>

          <dependency>
            <groupId>org.hectorclient</groupId> .. groupId was changed from 1.1.
            <artifactId>hector-core</artifactId>
            <version>${hector.version}</version>
            <exclusions>
              <exclusion>
                <groupId>org.apache.cassandra</groupId>
                <artifactId>cassandra-all</artifactId>   .. EXCLUDE entire cassandra-all
from hector-core
              </exclusion>
            </exclusions>
          </dependency>

gora-cassandra/pom.xml

        <dependency>
            <groupId>org.apache.cassandra</groupId>
            <artifactId>cassandra-all</artifactId>
            <scope>test</scope>  .. test only
        </dependency>

        <dependency>
            <groupId>org.apache.cassandra</groupId>
            <artifactId>cassandra-thrift</artifactId>
        </dependency>

        <dependency>
            <groupId>org.hectorclient</groupId>
            <artifactId>hector-core</artifactId>
        </dependency>


                
> Requires some adjustments on dependency at gora-cassandra
> ---------------------------------------------------------
>
>                 Key: GORA-140
>                 URL: https://issues.apache.org/jira/browse/GORA-140
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: maven, storage-cassandra
>    Affects Versions: 0.2
>            Reporter: Kazuomi Kashii
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: GORA-140-v2.patch, GORA-140-v3.patch, GORA-140-v4.patch, GORA-140.patch,
cassandraIvy.patch
>
>
> avro and slf4j-log4j should be added.
> cassandra-all can be removed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message