Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Upgrade hector and fix bug. #15

Merged
merged 1 commit into from

2 participants

Nick Bailey Paul Ingles
Nick Bailey
Collaborator

Found a hector bug: https://github.com/rantav/hector/issues/376

This pull request upgrades to the latest hector release which fixes the issue and uses the correct cluster factory method for creating clusters.

Paul Ingles pingles merged commit c0bb608 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 30, 2011
  1. Nick Bailey
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +1 −1  project.clj
  2. +1 −1  src/clj_hector/core.clj
2  project.clj
View
@@ -3,7 +3,7 @@
:resources-path "test/resources"
:dev-dependencies [[org.slf4j/slf4j-simple "1.6.3"]
[org.apache.cassandra/cassandra-all "1.0.5"]]
- :dependencies [[me.prettyprint/hector-core "1.0-1" :exclusions [org.slf4j/slf4j-log4j12]]
+ :dependencies [[me.prettyprint/hector-core "1.0-2" :exclusions [org.slf4j/slf4j-log4j12]]
[org.slf4j/slf4j-api "1.6.1"]
[org.clojure/clojure "1.2.1"]
[joda-time/joda-time "2.0"]])
2  src/clj_hector/core.clj
View
@@ -24,7 +24,7 @@
([cluster-name host port configurator]
(cluster cluster-name host port (new CassandraHostConfigurator) {}))
([cluster-name host port configurator credentials]
- (HFactory/createCluster cluster-name
+ (HFactory/getOrCreateCluster cluster-name
(doto configurator (.setHosts (str host ":" port)))
credentials)))
Something went wrong with that request. Please try again.