Skip to content

Instantly share code, notes, and snippets.

View arreyder's full-sized avatar

Christopher Rhodes arreyder

View GitHub Profile
--- compiler/cpp/src/generate/t_cpp_generator.cc 2011-01-30 19:13:15.000000000 -0600
+++ ../pkg-build/thrift-0.6.0/compiler/cpp/src/generate/t_cpp_generator.cc 2011-03-31 12:47:17.733182513 -0500
@@ -506,7 +506,11 @@
/**
Generate a character array of enum names for debugging purposes.
*/
- std::string prefix = tenum->get_name() + "::";
+ std::string prefix = "";
+ if (!gen_pure_enums_) {
+ prefix = tenum->get_name() + "::";
# Profile
# Rank Query ID Response time Calls R/Call Apdx V/M Item
# ==== ================== ============= ====== ====== ==== ===== =========
# 1 0x0B5DCB61C0E81E63 83.4202 18.5% 14164 0.0059 1.00 1.16 UPDATE inventory_node
# 2 0xF502E948F8A56649 77.6191 17.2% 2363 0.0328 1.00 1.35 SELECT inventory_node inventory_provider inventory_nodeaddress
# 3 0xA0934CC465AC8150 34.8676 7.7% 14159 0.0025 1.00 0.83 SELECT inventory_node
# 4 0x624A660C270F910D 23.9346 5.3% 903 0.0265 1.00 1.56 SELECT monitoring_check monitoring_check_query_checks inventory_node
# 5 0xCE777759F5C4FADC 20.3255 4.5% 31 0.6557 0.97 0.35 SELECT inventory_node inventory_nodeaddress
# 6 0x84737326DFA2B4E6 18.5643 4.1% 33 0.5626 1.00 0.04 SELECT inventory_node monitoring_check
# 7 0x743110502F53F6D7 16.7953 3.7% 5 3.3591 0.50 0.00 SELECT inventory_node
2011-05-19_15:46:45.59339 2011-05-19 15:46:45+0000 [-] Unhandled error in Deferred:
2011-05-19_15:46:45.59373 2011-05-19 15:46:45+0000 [-] Unhandled Error
2011-05-19_15:46:45.59374 Traceback (most recent call last):
2011-05-19_15:46:45.59375 File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 879, in gotResult
2011-05-19_15:46:45.59376 _inlineCallbacks(r, g, deferred)
2011-05-19_15:46:45.59376 File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 869, in _inlineCallbacks
2011-05-19_15:46:45.59377 deferred.errback()
2011-05-19_15:46:45.59378 File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 307, in errback
2011-05-19_15:46:45.59379 self._startRunCallbacks(fail)
2011-05-19_15:46:45.59380 File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 354, in _startRunCallbacks
Uptime in seconds: 4553038.00
Uptime: 52d 16h 43m 58s
Questions: 1129662736.00
% slow queries: 0.04
slow query rate: 0.00 per day
Long query time: 2.00
Slow query logging: ON
make[1]: Entering directory `/data/buildslave_ele/noit_merged/build/src'
,340:1noit_jlog_listener.c: In function 'noit_jlog_thread_main':
noit_jlog_listener.c:225: error: 'POLLRDNORM' undeclared (first use in this function)
noit_jlog_listener.c:225: error: (Each undeclared identifier is reported only once
noit_jlog_listener.c:225: error: for each function it appears in.)
make[1]: *** [noit_jlog_listener.o] Error 1
set global low_priority_updates=1;
set global max_heap_table_size=20971520;
set global query_cache_limit=2097152;
set global query_cache_size=268435456;
set global read_buffer_size=163840;
set global read_rnd_buffer_size=327680;
set global sort_buffer_size=2621430;
set global table_open_cache=768;
set global tmp_table_size=20971520;
184.106.176.198 olb.cloudkick.com
184.106.174.33 www.cloudkick.com
T 5 10 20 40 80 160 320 640 1280 1280+
TOTAL 1713 0 68 68 190 365 607 413 0 0 2
cloudkick.com 485 0 15 29 48 87 173 133 0 0 0
engineyard.com 288 0 12 10 32 48 106 80 0 0 0
sumologic.com 202 0 2 6 14 39 101 40 0 0 0
convertro.com 155 0 25 4 20 37 45 24 0 0 0
parraz.com 97 0 2 3 13 23 33 23 0 0 0
gmail.com 68 0 1 2 10 17 27 11 0 0 0
cognita.ch 65 0 2 4 5 13 17 24 0 0 0
6times7.com 52 0 1 0 7 12 15 17 0 0 0
184-106-176-159.static.cloud-ips.com [Wed, 27 Jul 2011 18:31:05 +0000] ERROR: Running exception handlers
184-106-176-159.static.cloud-ips.com [Wed, 27 Jul 2011 18:31:05 +0000] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
184-106-176-159.static.cloud-ips.com [Wed, 27 Jul 2011 18:31:05 +0000] ERROR: Exception handlers complete
184-106-176-159.static.cloud-ips.com [Wed, 27 Jul 2011 18:31:05 +0000] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
184-106-176-159.static.cloud-ips.com [Wed, 27 Jul 2011 18:31:05 +0000] FATAL: Chef::Exceptions::CookbookNotFound: Cookbook iptables not found. If you're loading iptables from another cookbook, make sure you configure the dependency in your metadata
set global low_priority_updates=1;
set global max_heap_table_size=20971520;
set global query_cache_limit=2097152;
set global query_cache_size=268435456;
set global read_buffer_size=163840;
set global read_rnd_buffer_size=327680;
set global sort_buffer_size=2621430;
set global table_open_cache=768;
set global tmp_table_size=20971520;