Could you please try with this one:

gora.cassandraStore.host=cass-node:9160




2013/8/9 kaveh minooie <[email protected]>

> so it is not working:
>
> from gora.properties:
>
> #############################
> # CassandraStore properties #
> #############################
>
> gora.cassandrastore.servers=**cass-node:9160
>
> #gora.cassandra.servers=cass-**node:9160
>
> #######################
> # MemStore properties #
>
>
> from gora-cassandra-mapping.xml:
>
>
> <keyspace name="host" cluster="DoslocosCluster" host="cass-node">
>         <family name="mtdt" type="super"/>
>         <family name="il" type="super"/>
>         <family name="ol" type="super"/>
>     </keyspace>
>
>
> and inject output:
>
> 13/08/09 16:38:34 INFO connection.**CassandraHostRetryService: Downed
> Host Retry service started with queue size -1 and retry delay 10s
> 13/08/09 16:38:34 ERROR connection.HConnectionManager: Could not start
> connection pool for host localhost(127.0.0.1):9160
> 13/08/09 16:38:34 INFO connection.**CassandraHostRetryService: Host
> detected as down was added to retry queue: localhost(127.0.0.1):9160
> 13/08/09 16:38:34 WARN connection.**CassandraHostRetryService: Downed
> localhost(127.0.0.1):9160 host still appears to be down: Unable to open
> transport to localhost(127.0.0.1):9160 , java.net.ConnectException:
> Connection refused
> 13/08/09 16:38:35 INFO service.JmxMonitor: Registering JMX
> me.prettyprint.cassandra.**service_Test Cluster:ServiceType=hector,**
> MonitorType=hector
> 13/08/09 16:38:35 ERROR store.CassandraStore: All host pools marked down.
> Retry burden pushed out to client.
> 13/08/09 16:38:35 ERROR store.CassandraStore:
> [Ljava.lang.StackTraceElement;**@20c449e3
> 13/08/09 16:38:35 INFO crawl.InjectorJob: InjectorJob: Using class
> org.apache.gora.cassandra.**store.CassandraStore as the Gora storage
> class.
> 13/08/09 16:38:36 INFO input.FileInputFormat: Total input paths to process
> : 1
> 13/08/09 16:38:36 INFO util.NativeCodeLoader: Loaded the native-hadoop
> library
> 13/08/09 16:38:36 WARN snappy.LoadSnappy: Snappy native library not loaded
> 13/08/09 16:38:36 INFO mapred.JobClient: Running job: job_201308091131_0007
> 13/08/09 16:38:37 INFO mapred.JobClient:  map 0% reduce 0%
> 13/08/09 16:38:44 INFO connection.**CassandraHostRetryService: Not
> checking that localhost(127.0.0.1):9160 is a member of the ring since there
> are no live hosts
> 13/08/09 16:38:44 WARN connection.**CassandraHostRetryService: Downed
> localhost(127.0.0.1):9160 host still appears to be down: Unable to open
> transport to localhost(127.0.0.1):9160 , java.net.ConnectException:
> Connection refused
> 13/08/09 16:38:44 INFO connection.**CassandraHostRetryService: Downed
> Host retry status false with host: localhost(127.0.0.1):9160
> 13/08/09 16:38:47 INFO mapred.JobClient:  map 100% reduce 0%
> 13/08/09 16:38:49 INFO mapred.JobClient: Job complete:
> job_201308091131_0007
>
>
> I tried 10.0.0.10 instead of cass-node, and I got the same result. it just
> goes for localhost!!!
>
> :(
>
> On 08/09/2013 04:37 PM, Lewis John Mcgibbney wrote:
>
>> Both properties should certainly match up.
>>
>>
>> On Fri, Aug 9, 2013 at 4:28 PM, Renato Marroquín Mogrovejo
>> <[email protected] 
>> <mailto:renatoj.marroquin@**gmail.com<[email protected]>>>
>> wrote:
>>
>>     You are right, it'd be redundant. But I guess the idea behind this
>>     is that at some point you'd be able to read or write to different
>>       clusters from the same application, but that feature is not in yet.
>>     @Lewis, do we even have a JIRA for such thing? or am I just crazy?
>>
>>
>>     Renato M.
>>
>>
>>     2013/8/9 kaveh minooie <[email protected] <mailto:[email protected]>>
>>
>>         if you are talking about :
>>
>>         <keyspace name="host" cluster="Test Cluster" host="localhost">
>>         <family name="mtdt" type="super"/>
>>         <family name="il" type="super"/>
>>         <family name="ol" type="super"/>
>>         </keyspace>
>>
>>         in gora-cassandra-mapping.xml file. the answer is no.
>>
>>         thanks lewis,
>>
>>
>>         P.S so it needs to be set in both places? ( gora.properties &
>>         gora-cassandra-mapping.xml ) isn't it redundant?
>>
>>
>>
>>         On 08/09/2013 04:17 PM, Lewis John Mcgibbney wrote:
>>
>>             Hi
>>
>>             On Fri, Aug 9, 2013 at 4:13 PM, kaveh minooie
>>             <[email protected] <mailto:[email protected]>
>>             <mailto:[email protected] <mailto:[email protected]>>> wrote:
>>
>>                  gora.cassandrastore.servers
>>
>>
>>             The one above is correct
>>
>>
>>             What about the host value in your gora-cassandra.xml file?
>>             Is it set properly as well?
>>
>>
>>         --
>>         Kaveh Minooie
>>
>>
>>
>>
>>
>> --
>> /Lewis/
>>
>
> --
> Kaveh Minooie
>

Reply via email to