I'm starting cassandra-0.7.0-rc3 with jmx secured by adding JAVA_OPTS
-Dcom.sun.management.jmxremote.password.file=/somepath/jmxpassword
But then i can't use nodetool since it dumps
> Exception in thread "main" java.lang.SecurityException: Authentication
> failed! Credentials required
>
Hi,
I am trying to integrate Cassandra with Hadoop. I tried with Cassandra 0.7
rc3 trunk, but failed to do so with following exception,
*java.lang.ClassCastException: [B cannot be cast to java.nio.ByteBuffer
at
org.apache.cassandra.db.marshal.BytesType.compare(BytesType.java:29)*
I tried
> I am trying to integrate Cassandra with Hadoop. I tried with Cassandra 0.7
> rc3 trunk, but failed to do so with following exception,
>
> java.lang.ClassCastException: [B cannot be cast to java.nio.ByteBuffer
> at
> org.apache.cassandra.db.marshal.BytesType.compare(BytesType.java:29)
>
>
As Jonathan has told you, Please double check the Timestamp of the column
you are adding the second time. Probably this timestamp is smaller (or
lowerer) than the timestamp given when the deletion happens.
On Thu, Dec 30, 2010 at 1:27 AM, Jonathan Ellis wrote:
> deletes "win" races, so if 3) hap
On Thu, Dec 30, 2010 at 3:57 AM, mck wrote:
> Adding "-Dcom.sun.management.jmxremote.password.file" to nodetool doesn't
> help...
>
> Is there any support for nodetool to connect to a password authenticated jmx
> service?
I'm kind of disappointed that adding the -D password file doesn't Just
Wo
On Thu, 2010-12-30 at 08:03 -0600, Jonathan Ellis wrote:
> We don't have any explicit code for enabling that, no.
https://issues.apache.org/jira/browse/CASSANDRA-1921
the patch was simple (NodeCmd and NodeProbe). just testing it now...
~mck
--
"I'm not one of those who think Bill Gates is the
On Thu, 2010-12-30 at 14:34 +0800, Zhu Han wrote:
> Do you use the default GC settings? Can you show me the openJDK version by
> "java -version"? Thank you!
Yes, the default GC settings. OpenJDK is b11, from Debian Lenny.
http://packages.debian.org/lenny/openjdk-6-jre-headless
> If everything
hmm, i added a sleep(1000) between each operation and still see the same
behavior.
but stranger still, if i do the exact same operations via the command line they
work
as expected. and the logs for the two runs look identical to me (aside from
the different keys)
-mike
--
Extend your code to explicitly set the timestamp on the Column in
micro seconds. I think you are just defaulting to 0 and hitting the
condition previously described.
On Thu, Dec 30, 2010 at 11:02 AM, mike dooley wrote:
> hmm, i added a sleep(1000) between each operation and still see the same
> b
Yeah, double check your are not using a constant on the timestamp, or the
second time you add the same column, such column contains the same timestamp
as the first one (that will be smaller than the one put on the delete
command).
Can you share us your code example?
On Thu, Dec 30, 2010 at 2:12 P
how are folks customizing the cassandra.yaml for each node in the
cluster. specifically the token and IP address.
with XML i used entities, but i'm not familiar with YAML. does yaml
support the same concept? or any sort of textual substitution?
thx
Funny you should mention that. I just put my half-baked solution to
this problem on github today.
https://github.com/gdusbabek/cassandra-maker. It generates
cassandra.yaml files (and entire config directories too) that are
based on the svn defaults. It should be easy to customize it to fit
your
You can specify the location of cassandra.yaml with a url so you can keep
your configs in one (redundant place) like S3 or generate them on the fly in
a http service...
On Thu, Dec 30, 2010 at 3:34 PM, B. Todd Burruss wrote:
> how are folks customizing the cassandra.yaml for each node in the c
you're right, i wasn't setting the timestamp on my insert. after fixing that
everything works fine.
thanks,
-mike
On Dec 30, 2010, at 11:29 AM, Javier Canillas wrote:
> Yeah, double check your are not using a constant on the timestamp, or the
> second time you add the same column, such column
I've done this before with puppet, but any sort of mainstream
configuration management system should work. There will be some
management overhead in making sure any token changes make it back into
the right server-specific template, but otherwise it's straight
forward.
On Thu, Dec 30, 2010 at 2:56
So, I found a solution, but I think there is a (trivial) bug.
The broken keyspace:
create keyspace KeyspaceDC1 with
replication_factor = 1 and
placement_strategy = 'org.apache.cassandra.locator.NetworkTopologyStrategy'
and
strategy_options = [{DC1:1, DC2:0}];
The fixed keyspace:
cr
Hi,
I am currently having a locally installed Cassandra server running for some
development work.
When I try to bring up Tomcat, it fails saying
===
2010-12-31 05:36:52,088 [main] ERROR http11.Http11Protocol - Error
initializin
probably the JMX port which defaults to 8080.
On Thu, Dec 30, 2010 at 6:16 PM, Roshan Dawrani wrote:
> Hi,
>
> I am currently having a locally installed Cassandra server running for some
> development work.
>
> When I try to bring up Tomcat, it fails saying
>
> ===
Yes, that was it. Thanks a lot.
Changed the JMX port in "cassandra.bat", where I didn't look earlier.
On Fri, Dec 31, 2010 at 5:53 AM, Jonathan Ellis wrote:
> probably the JMX port which defaults to 8080.
>
> On Thu, Dec 30, 2010 at 6:16 PM, Roshan Dawrani
> wrote:
> > Hi,
> >
> > I am current
Hi guys,
We are trying Cassandra 0.6.8, and could you please kindly tell me which
Hector Java client is suitable for 0.6.8?
The Hector 0.7.0 says it's for Cassandra 0.7.X, and shall we use Hector
0.6.0?
Thanks,
Br
Zhidong
Use 0.6.0-19
On Friday, December 31, 2010, Zhidong She wrote:
> Hi guys,
>
> We are trying Cassandra 0.6.8, and could you please kindly tell me which
> Hector Java client is suitable for 0.6.8?
> The Hector 0.7.0 says it's for Cassandra 0.7.X, and shall we use Hector 0.6.0?
>
> Thanks,
> Br
> Zh
21 matches
Mail list logo