Cassandra 1.1.1 on Java 7

2012-09-08 Thread Oleg Dulin
Has anyone tried running 1.1.1 on Java 7?

I know Datastax does not recommend it for DSE, is there a reason why ?

Regards,
Oleg



Re: Node-tool drain on Cassandra 1.0

2012-09-08 Thread Rene Kochen
OK, thanks! I will vote for that ticket.

On a production system, I have an extremely big table. I want to physically
delete it. It it safe to just delete the commit log files after a drain?

1) Drain node
2) Stop Cassandra
3) Delete commit log files
4) Delete all files related to the big table
5) Restart Cassandra

Thanks

Rene

2012/9/7 Rob Coli 

> On Fri, Sep 7, 2012 at 6:38 AM, Rene Kochen 
> wrote:
> > If I use node-tool drain, it does stop accepting writes and flushes the
> > tables. However, is it normal that the commit log files are not deleted
> and
> > that it gets replayed?
>
> It's not expected by design, but it does seem to be normal in
> cassandra 1.0.x. I've spoken with other operators and they anecdotally
> report the same behavior when doing the same operation you describe.
>
> https://issues.apache.org/jira/browse/CASSANDRA-4446
>
> The more people who report that they have the issue, the greater
> chance of a response or fix, so I suggest commenting "me too!" on that
> ticket.. :)
>
> =Rob
>
> --
> =Robert Coli
> AIM>ALK - rc...@palominodb.com
> YAHOO - rcoli.palominob
> SKYPE - rcoli_palominodb
>


Re: nodetool connection refused

2012-09-08 Thread Mohit Anchlia
Are both running on the same host?

On Fri, Sep 7, 2012 at 11:53 PM, Manu Zhang  wrote:

> When I run Cassandra-trunk in Eclipse, nodetool fail to connect with the
> following error
> "Failed to connect to '127.0.0.1:7199': Connection refused"
> But if I run in terminal, all will be fine.
>


Re: nodetool connection refused

2012-09-08 Thread shashwat shriparv
try netstat -nl | 7199

If you can see something then fine else that service itself not running..

On Sat, Sep 8, 2012 at 8:40 PM, Mohit Anchlia wrote:

> Are both running on the same host?
>
>
> On Fri, Sep 7, 2012 at 11:53 PM, Manu Zhang wrote:
>
>> When I run Cassandra-trunk in Eclipse, nodetool fail to connect with the
>> following error
>> "Failed to connect to '127.0.0.1:7199': Connection refused"
>> But if I run in terminal, all will be fine.
>>
>
>


-- 


∞
Shashwat Shriparv


Re: nodetool connection refused

2012-09-08 Thread Senthilvel Rangaswamy
What is the address for thrift listener. Did you put 0.0.0.0:7199 ?

On Fri, Sep 7, 2012 at 11:53 PM, Manu Zhang  wrote:

> When I run Cassandra-trunk in Eclipse, nodetool fail to connect with the
> following error
> "Failed to connect to '127.0.0.1:7199': Connection refused"
> But if I run in terminal, all will be fine.
>



-- 
..Senthil

"If there's anything more important than my ego around, I want it
 caught and shot now."
- Douglas Adams.


Re: Cassandra 1.1.1 on Java 7

2012-09-08 Thread Peter Schuller
> Has anyone tried running 1.1.1 on Java 7?

Have been running jdk 1.7 on several clusters on 1.1 for a while now.

-- 
/ Peter Schuller (@scode, http://worldmodscode.wordpress.com)


Re: nodetool connection refused

2012-09-08 Thread Manu Zhang
No, I don't find a listener whose port is 7199. Where to setup? I've been
experimenting on my laptop so both of them are local.

On Sun, Sep 9, 2012 at 1:28 AM, Senthilvel Rangaswamy
wrote:

> What is the address for thrift listener. Did you put 0.0.0.0:7199 ?
>
> On Fri, Sep 7, 2012 at 11:53 PM, Manu Zhang wrote:
>
>> When I run Cassandra-trunk in Eclipse, nodetool fail to connect with the
>> following error
>> "Failed to connect to '127.0.0.1:7199': Connection refused"
>> But if I run in terminal, all will be fine.
>>
>
>
>
> --
> ..Senthil
>
> "If there's anything more important than my ego around, I want it
>  caught and shot now."
> - Douglas Adams.
>
>