Skip to content

Instantly share code, notes, and snippets.

@norrs
norrs / zookeeper-1371.patch
Created April 1, 2014 19:36
zookeeper-1371.patch
Index: src/java/test/org/apache/zookeeper/test/MultiTransactionTest.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/java/test/org/apache/zookeeper/test/MultiTransactionTest.java (revision b5c25d7ee1b940f919f718032d101c26c46f30b2)
+++ src/java/test/org/apache/zookeeper/test/MultiTransactionTest.java (revision )
@@ -26,7 +26,6 @@
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
# strace -fp 19775
Process 19775 attached - interrupt to quit
select(8, [7], [], [], {0, 753152}) = 0 (Timeout)
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rockj@pandora:~$ traceroute 88.87.43.98 -m 255
traceroute to 88.87.43.98 (88.87.43.98), 255 hops max, 60 byte packets
1 192.168.69.254 (192.168.69.254) 0.577 ms 0.825 ms 1.095 ms
2 1.84-48-58.nextgentel.com (84.48.58.1) 19.401 ms 19.465 ms 21.253 ms
3 34.84-48-3.nextgentel.com (84.48.3.34) 30.382 ms 30.452 ms 34.320 ms
4 te6-5-nix2.cr0-r66.dipx-osl.no.p80.net (193.156.120.67) 34.403 ms 34.479 ms 36.206 ms
5 xe-0-0-3.no.hmg9.pe01.port80.se (82.96.1.14) 36.295 ms 38.078 ms 40.325 ms
6 vl2007.no.osl.hmg9.cr0.port80.se (82.96.1.13) 40.394 ms 41.232 ms 38.727 ms
7 xe-0-0-3.no.hmg9.pe01.port80.se (82.96.1.14) 25.885 ms 27.908 ms 27.995 ms
8 vl2007.no.osl.hmg9.cr0.port80.se (82.96.1.13) 38.759 ms 38.839 ms 38.924 ms
class baseclass {
# include $operatingsystem
# emulate some known good helper functions who behave the same as cfengine
import "cfengine"
# Disable SELinux
class {
'selinux': enabled => false;
'iptables': enabled => false;
}
rockj@pandora:/opt/pycharm/bin$ sudo update-alternatives --config java
There are 4 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 auto mode
1 /usr/lib/jvm/j2sdk1.6-oracle/jre/bin/java 315 manual mode
2 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 manual mode
3 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 manual mode
DEFAULT=$HOME/Maildir
MAILDIR=$HOME/Maildir
logfile "$HOME/.getmail/.maildrop.log"
log "Markers: ---------------------------------------------"
log " (**) from config file, (II) informational, (WW) warning"
log "--------------------------------------------------------"
log ""
######################################################################
#!/usr/bin/env bash
source "$rvm_scripts_path/functions/support"
usage()
{
printf "%b" "
ERROR:
$1
+ : 284 > rvm_trace_flag=1
+ : 289 > true 1 0 0 HOME=/home/rockj
+ : 293 > (( rvm_ignore_rvmrc == 0 ))
+ : 295 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
+ : 297 > [[ -s /etc/rvmrc ]]
+ : 295 > for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
+ : 297 > [[ -s /home/rockj/.rvmrc ]]
+ : 314 > [[ -z '' ]]
+ : 316 > (( UID == 0 ))
+ : 322 > rvm_user_install_flag=1
+ unset rvm_bin_path
+ unset GEM_HOME
+ unset IRBRC
+ unset MY_RUBY_HOME
+ unset rvm_path
+ unset rvm_prefix
+ unset rvm_version
++ dirname ./rvm_and_veewee_install.sh
+ BASE_DIR=.
+++ dirname ./rvm_and_veewee_install.sh
rockj@rockj-VirtualBox:~/nav-mirror-netmap/tools$ cat rvm_and_veewee_install.sh
#!/bin/bash
# Install rvm under VCS-ROOT/tools/.rvm and veewee to VCS-ROOT/tools/veewee
#
# Based on http://stacktoheap.com/blog/2013/06/19/building-a-debian-wheezy-vagrant-box-using-veewee/
# :-)
unset rvm_bin_path
unset GEM_HOME
unset IRBRC