Cassandra cannot parse ‘my_key’ as hex bytes

If you have “cannot parse ‘whatever_my_key’ as hex bytes” when you try to query Cassandra for some data, as in example below: [code language=”bash”] [default@CassandraCluster] get ServerLog[‘my_key’] limit 10; org.apache.cassandra.db.marshal.MarshalException: cannot parse ‘my_key’ as hex bytes [/code] then you must set the client-side encoding with assume command: [code language=”bash”] [default@CassandraCluster] assume ServerLog keys as utf8;… Continue reading Cassandra cannot parse ‘my_key’ as hex bytes

FreeBSD mount iso

Mount FreeBSD iso image (or any other iso, on freebsd machine). [bash] mdconfig -a -t vnode -f /patg/to/FreeBSD-9.0-RELEASE-i386-disc1.iso  -u 1 #mkdir -p /mnt/cdrom mount -t cd9660 /dev/md1 /mnt/cdrom/ [/bash] To unmount [bash] umount /mnt/cdrom/ mdconfig -d -u 1 [/bash]

First post

I’m a web developer from Romania (currently working in Netherlands) and this is my first WebDev Blog. I don’t know yet what I will write here so meanwhile I invite you to read my blogroll.

Published
Categorized as general