Skip to content

Instantly share code, notes, and snippets.

Erik Onnen eonnen

Block or report user

Report or block eonnen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am eonnen on github.
  • I am eonnen (https://keybase.io/eonnen) on keybase.
  • I have a public key whose fingerprint is E6DD A37D AB5A D396 DEE2 C8B3 55D3 9650 A530 A838

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am eonnen on github.
  • I am eonnen (https://keybase.io/eonnen) on keybase.
  • I have a public key whose fingerprint is E6DD A37D AB5A D396 DEE2 C8B3 55D3 9650 A530 A838

To claim this, I am signing this object:

View gist:5526077
ERROR [COMMIT-LOG-ALLOCATOR] 2013-05-04 13:44:41,278 AbstractCassandraDaemon.java (line 135) Exception in thread Thread[COMMIT-LOG-ALLOCATOR,5,main]
java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled Java code at java.util.concurrent.LinkedBlockingQueue.enqueue(LinkedBlockingQueue.java:157)
at java.util.concurrent.LinkedBlockingQueue.offer(LinkedBlockingQueue.java:377)
at java.util.AbstractQueue.add(AbstractQueue.java:68)
at org.apache.cassandra.db.commitlog.CommitLogAllocator.internalAddReadySegment(CommitLogAllocator.java:270)
at org.apache.cassandra.db.commitlog.CommitLogAllocator.createFreshSegment(CommitLogAllocator.java:257)
at org.apache.cassandra.db.commitlog.CommitLogAllocator.access$500(CommitLogAllocator.java:49)
at org.apache.cassandra.db.commitlog.CommitLogAllocator$1.runMayThrow(CommitLogAllocator.java:105)
at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
View gist:5166181
Base System Price $849.00
Ubuntu 12.10 64 bit
5 Free GB of Ubuntu One Online Storage and Sync
3rd Generation Intel Core i7 3770 ( 3.40GHz - 8MB cache - 4 Cores with Hyperthreading ) +$149.00
32 GB – 4 x 8 GB - Crucial Sport Dual Channel DDR3 - 1600 MHz +$245.00
1 GB nVidia GeForce GT 630 with 96 CUDA Cores
120 GB Intel 520 Series SATA III 6 Gb/s Solid State Disk Drive +$119.00
No Additional Hard Drive
No Additional Hard Drive
Silver CD-RW / DVD-RW Dual Layer +$39.00
View gist:3960535
53957.475: [CMS-concurrent-reset-start]
53957.495: [CMS-concurrent-reset: 0.019/0.019 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
53958.902: [GC [1 CMS-initial-mark: 5818896K(7898752K)] 5847381K(8339648K), 0.1594680 secs] [Times: user=0.16 sys=0.01, real=0.16 secs]
53959.069: [CMS-concurrent-mark-start]
53965.150: [CMS-concurrent-mark: 5.791/6.081 secs] [Times: user=34.36 sys=0.37, real=6.09 secs]
53965.153: [CMS-concurrent-preclean-start]
53965.184: [CMS-concurrent-preclean: 0.031/0.031 secs] [Times: user=0.04 sys=0.00, real=0.03 secs]
53965.186: [CMS-concurrent-abortable-preclean-start]
CMS: abort preclean due to time 53970.208: [CMS-concurrent-abortable-preclean: 2.954/5.022 secs] [Times: user=3.39 sys=0.04, real=5.22 secs]
53970.281: [GC[YG occupancy: 63461 K (440896 K)]53970.284: [Rescan (parallel) , 0.0671630 secs]53970.351: [weak refs processing, 0.0002130 secs] [1 CMS-remark: 5818896K(7898752K)] 5882358K(8339648K), 0.0697680 secs] [Times: user=1.06 sys=0.02, real=0.07 secs]
View gist:3189877
2012-07-04 11:49:08,469 - WARN [ZkClient-EventThread-132-zookeeper-0:2181,zookeeper-1:2181,zookeeper-2:2181:org.I0Itec.zkclient.ZkEventThread] - Error handling event ZkEvent[Children of /brokers/topics/SEND_EVENTS changed sent to kafka.consumer.ZookeeperConsumerConnector$ZKRebalancerListener@43d248b4]
java.lang.NullPointerException
at scala.util.parsing.combinator.Parsers$NoSuccess.<init>(Parsers.scala:131)
at scala.util.parsing.combinator.Parsers$Failure.<init>(Parsers.scala:158)
at scala.util.parsing.combinator.Parsers$$anonfun$acceptIf$1.apply(Parsers.scala:489)
at scala.util.parsing.combinator.Parsers$$anonfun$acceptIf$1.apply(Parsers.scala:487)
at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:182)
at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:203)
at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:203)
at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:182)
View gist:2975050
2012-06-22 20:38:00,777 - INFO [Thread-8:com.urbanairship.metalstorm.job.HBaseJobQueue] - Found Jobs:1654
2012-06-22 20:38:00,784 - WARN [Channel Disposal Manager 0:com.urbanairship.reactor.core.client.async.netty.RequestDrainingDisposalManager] - Forcibly closing channel [id: 0x6bd4c7bf, /10.128.10.70:47160 :> /10.128.10.24:7800] with 24 pending requests after timeout elapsed.
2012-06-22 20:38:00,784 - WARN [Channel Disposal Manager 0:com.urbanairship.reactor.core.client.async.netty.RequestDrainingDisposalManager] - Forcibly closing channel [id: 0x25fed006, /10.128.10.70:47993 :> /10.128.10.24:7800] with 340 pending requests after timeout elapsed.
2012-06-22 20:38:00,784 - WARN [Channel Disposal Manager 0:com.urbanairship.reactor.core.client.async.netty.RequestDrainingDisposalManager] - Forcibly closing channel [id: 0x2bca0e21, /10.128.10.70:45974 :> /10.128.10.24:7800] with 218 pending requests after timeout elapsed.
2012-06-22 20:38:00,784 - WARN [Channel Disposal Manager 0:com.urbanairship.reactor.co
@eonnen
eonnen / gist:2647948
Created May 9, 2012
Sample ZK Configuration
View gist:2647948
# The number of milliseconds of each tick
tickTime=300
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
dataDir=/home/erik/var/data/zookeeper
@eonnen
eonnen / SOCKS Tunnel
Created Apr 4, 2012
SOCKS Tunnel Script for JConsole
View SOCKS Tunnel
#!/bin/bash
SOCKS_PORT=8081
SSH_TUNNEL_PORT=8080
SERVICE_JMX_PORT=8080
SERVICE_HOST=cassandra-0.prod
TUNNEL_HOST=admin-0.prod
ssh -f -D$SOCKS_PORT -L $SSH_TUNNEL_PORT:$SERVICE_HOST:$SERVICE_JMX_PORT $TUNNEL_HOST "while true; do sleep 10; done"
jconsole -J-DsocksProxyHost=localhost -J-DsocksProxyPort=$SOCKS_PORT localhost:$SSH_TUNNEL_PORT
You can’t perform that action at this time.