[12:55:27] all the bookmarks i have from when i tried to figure this out: [12:55:32] http://cloudepr.blogspot.com/2011/10/snappy-and-compressed-format.html [12:55:35] http://hamedhsn.blogspot.com/2014/08/sstable-format-in-cassandra.html [12:55:39] http://wiki.apache.org/cassandra/ArchitectureSSTable [12:55:49] https://code.google.com/p/cassandra-shawn/wiki/OrgApacheCassandraDB [12:55:55] http://www.boyunjian.com/do/article/snapshot.do?uid=1865722165306235278 [12:56:20] http://cassandraese.weebly.com/2/post/2012/6/cassandra-column.html [12:56:25] https://www.igvita.com/2012/02/06/sstable-and-log-structured-storage-leveldb/ [12:56:29] http://distributeddatastore.blogspot.com/2013/08/cassandra-sstable-storage-format.html [12:57:43] http://hadoopmag.com/cassandra-internal-storage/
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
comment = React.createClass({ | |
mixins: [React.addons.PureRenderMixin], | |
getDefaultProps: () -> | |
return {open:false, onToggle: (() -> )} | |
toggle: (event) -> | |
@props.onToggle(my_key_or_something) | |
render: () -> |
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
FROM golang:1.4.1-wheezy | |
MAINTAINER ChannelMeter <product@channelmeter.com> | |
RUN go get github.com/miekg/dns | |
RUN go get github.com/mesosphere/mesos-dns | |
RUN cd $GOPATH/src/github.com/mesosphere/mesos-dns && go build -o /opt/mesos-dns | |
ENV MESOS_MASTERS mesos1:5050,mesos2:5050,mesos3:5050 | |
ENV DNS_REFRESH_SECONDS 50 | |
ENV DNS_TTL 60 |
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
{ | |
"args": [], | |
"env":{ | |
"MESOS_MASTERS":"10.129.196.31:5050", | |
"DNS_RESOLVERS":"10.129.196.28", | |
"DNS_TIMEOUT":"60", | |
}, | |
"constraints": [ | |
[ | |
"hostname", |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
body { | |
background: -webkit-linear-gradient(red, blue); | |
height:6000px | |
} |
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
func (h *NumericHistogram) Quantile(q float64) float64 { | |
count := q * float64(h.total) | |
for i := range h.bins { | |
count -= float64(h.bins[i].count) | |
if count <= 0 { | |
return h.bins[i].value | |
} | |
} |
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
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode): | |
"http-client-shared-209" #209 daemon prio=5 os_prio=0 tid=0x00007fd8740b6000 nid=0x67b9 waiting on condition [0x00007fd7c4d27000] | |
java.lang.Thread.State: TIMED_WAITING (parking) | |
at sun.misc.Unsafe.park(Native Method) | |
- parking to wait for <0x00000000a9b62170> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) | |
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) | |
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) | |
at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:389) | |
at org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll(QueuedThreadPool.java:531) |
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
@ScalarFunction("msgpack_extract_map_i") | |
@SqlType(StandardTypes.BIGINT) | |
public static long intMsgpackExtract(@SqlType(StandardTypes.VARCHAR) Slice msg, @SqlType(StandardTypes.VARCHAR) Slice key) | |
{ | |
try { | |
io.airlift.slice.BasicSliceInput in = msg.getInput(); | |
System.out.println(bytesToHexString(in.slice().toByteBuffer().array())); // this returns 0x30783836613137356564613137366, expecting 0x86a175eda176... | |
TypeReference<Map<String, Object>> typeReference = new TypeReference<Map<String, Object>>(){}; | |
Map<String, Object> xs = MSGPACK_FACTORY.readValue(msg.getInput(), typeReference); |
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
Oct 9 16:06:42 master-01 marathon[20175]: [INFO] [10/09/2015 16:06:42.312] [marathon-akka.actor.default-dispatcher-8] [akka://marathon/user/$Me] Received health result: [Healthy(geard.b5b916ae-6df1-11e5-8632-00163e105035,2015-10-08T19:21:00.379Z,2015-10-09T16:06:42.312Z)] | |
Oct 9 16:06:51 master-01 mesos-master[11603]: 2015-10-09 16:06:51,508:11603(0x7f520d069700):ZOO_ERROR@handle_socket_error_msg@1643: Socket [10.129.196.11:2181] zk retcode=-7, errno=110(Connection timed out): connection to 10.129.196.11:2181 timed out (exceeded timeout by 3ms) | |
Oct 9 16:06:51 master-01 mesos-master[11603]: 2015-10-09 16:06:51,508:11603(0x7f520d069700):ZOO_INFO@check_events@1703: initiated connection to server [10.129.196.49:2181] | |
Oct 9 16:06:51 master-01 mesos-master[11603]: 2015-10-09 16:06:51,508:11603(0x7f520e06b700):ZOO_ERROR@handle_socket_error_msg@1643: Socket [10.129.196.11:2181] zk retcode=-7, errno=110(Connection timed out): connection to 10.129.196.11:2181 timed out (exceeded timeout by 4ms) | |
Oct 9 16:06:51 maste |
This file has been truncated, but you can view the full file.
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
Oct 13 17:38:23 master-01 marathon[16383]: [2015-10-13 17:38:23,677] INFO Already running 1 instances of /elasticsearch. Not scaling. (mesosphere.marathon.SchedulerActions:538) | |
Oct 13 17:38:23 master-01 marathon[16383]: [2015-10-13 17:38:23,677] INFO Already running 1 instances of /jenkins. Not scaling. (mesosphere.marathon.SchedulerActions:538) | |
Oct 13 17:38:23 master-01 marathon[16383]: [2015-10-13 17:38:23,677] INFO Already running 1 instances of /mongo-mms-agent. Not scaling. (mesosphere.marathon.SchedulerActions:538) | |
Oct 13 17:38:23 master-01 marathon[16383]: [2015-10-13 17:38:23,677] INFO Already running 0 instances of /redis. Not scaling. (mesosphere.marathon.SchedulerActions:538) | |
Oct 13 17:38:23 master-01 marathon[16383]: [2015-10-13 17:38:23,678] INFO Already running 1 instances of /docker. Not scaling. (mesosphere.marathon.SchedulerActions:538) | |
Oct 13 17:38:23 master-01 marathon[16383]: [2015-10-13 17:38:23,679] INFO Already running 0 instances of /nginx. Not scaling. (mesosphere.marathon.SchedulerAc |