-
Cassandra embed immutant.init
- https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/service/CassandraDaemon.java
- http://www.thydoc.com/cassandra/javadoc/org/apache/cassandra/service/CassandraDaemon.html
- https://issues.apache.org/jira/browse/CASSANDRA-740
- https://bitbucket.org/daclouds/squeeze/src/4a0da6c26f48/src/springsprout/squeeze/service/cassandra/EmbeddedCassandraService.scala
-
StorageProxy usage:
-
https://svn.apache.org/repos/asf/cassandra/trunk/examples/client_only/src/ClientOnlyExample.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These are my interfaces: | |
======================== | |
- Main interface (with internet connection, the only physical cable..) | |
igb0: flags=1104943<UP,BROADCAST,RUNNING,PROMISC,MULTICAST,DHCP,ROUTER,IPv4> mtu 1500 index 2 | |
inet ***.76.170.*** netmask fffffff8 broadcast ***.76.170.*** | |
ether 33:11:22:33:22:44 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script language="haxe"> | |
var someState = ["things"]; | |
</script> | |
<contexts> | |
<index> | |
<img src={this.thumb}/> | |
</index> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
appserver> 2014-04-24 13:00:02 | |
Full thread dump Java HotSpot(TM) 64-Bit Server VM (23.6-b04 mixed mode): | |
"ClosingPipeCloser 660406533" daemon prio=5 tid=0x00007ffbf50f8800 nid=0x4d03 in Object.wait() [0x000000011927d000] | |
java.lang.Thread.State: WAITING (on object monitor) | |
at java.lang.Object.wait(Native Method) | |
- waiting on <0x00000007f2199bc0> (a java.lang.Thread) | |
at java.lang.Thread.join(Thread.java:1258) | |
- locked <0x00000007f2199bc0> (a java.lang.Thread) | |
at java.lang.Thread.join(Thread.java:1332) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
{ | |
imports = | |
[ # Include the results of the hardware scan. | |
/etc/nixos/hardware-configuration.nix | |
]; | |
# Use the GRUB 2 boot loader. | |
boot.loader.grub.enable = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@smartnixos64 /tmp/nix-build-nix-1.6.1.drv-0/nix-1.6.1]# NIX_DEBUG=1 make -j 1 | |
Makefile:903: warning: overriding recipe for target `config.h' | |
Makefile:371: warning: ignoring old recipe for target `config.h' | |
building config.h | |
true | |
building all | |
make all-recursive | |
make[1]: Entering directory `/tmp/nix-build-nix-1.6.1.drv-0/nix-1.6.1' | |
Makefile:903: warning: overriding recipe for target `config.h' | |
Makefile:371: warning: ignoring old recipe for target `config.h' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add the zfs filesystem to the install environment: | |
nano /etc/nixos/configuration.nix | |
## ---8<-------------------------8<--- | |
boot.supportedFilesystems = ["zfs"]; | |
## ---8<-------------------------8<--- | |
nixos-rebuild switch | |
# Load the just installed ZFS kernel module |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➭ ll | |
total 8 | |
-rw-r--r-- 1 blue staff 510 1 mei 13:32 project.clj | |
drwxr-xr-x 3 blue staff 102 4 jan 09:19 resources | |
drwxr-xr-x 4 blue staff 136 1 mei 13:22 src | |
drwxr-xr-x 4 blue staff 136 1 mei 13:25 target | |
➭ ll target | |
total 0 | |
drwxr-xr-x 154 blue staff 5236 1 mei 13:27 classes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➭ lein deps :tree | |
[cc.qbits/alia "1.0.0-beta1" :exclusions [[org.xerial.snappy/snappy-java]]] | |
[cc.qbits/hayt "0.3.0-RC1"] | |
[cc.qbits/knit "0.2.1"] | |
[cc.qbits/tardis "1.0.0"] | |
[com.eaio.uuid/uuid "3.3"] | |
[com.datastax.cassandra/cassandra-driver-core "1.0.0-beta1"] | |
[com.yammer.metrics/metrics-core "2.2.0"] | |
[io.netty/netty "3.6.2.Final"] | |
[org.apache.cassandra/cassandra-all "1.2.0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FloatUtil { | |
static public function isSet(v:Float) { | |
trace("float isSet"); | |
} | |
} |