Skip to content

Instantly share code, notes, and snippets.

@plaflamme
plaflamme / tephra-service-hbase-master.log
Created December 25, 2018 19:23
Tephra BalanceBooks Inconsistency
This file has been truncated, but you can view the full file.
Mon Dec 24 21:31:36 UTC 2018 Terminating
Mon Dec 24 21:31:41 UTC 2018 Starting tephra service on master
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 1888
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
@plaflamme
plaflamme / tephra.log
Created December 25, 2018 15:24
Exception on Tephra shutdown
17:25:26.040 [tx-snapshot] INFO org.apache.tephra.TransactionManager - Writing final snapshot prior to shutdown
17:25:26.041 [tx-snapshot] DEBUG org.apache.tephra.TransactionManager - Starting snapshot of transaction state with timestamp 1545672326041
17:25:26.041 [tx-snapshot] DEBUG org.apache.tephra.TransactionManager - Returning snapshot of state: TransactionSnapshot{timestamp=1545672326041, readPointer=1545669311067000088, writePointer=1545669311067000088, invalidSize=117, inProgressSize=0, committingSize=0, committedSize=31}
17:25:26.041 [tx-snapshot] DEBUG o.a.t.p.HDFSTransactionStateStorage - Writing snapshot to temporary file /system/tephra/.in-progress.snapshot.1545672326041
17:25:26.071 [TransactionPruningService STOPPING] INFO o.a.t.t.TransactionPruningService - Stopped TransactionPruningService
2018-12-24 17:25:26,083 INFO [tx-snapshot] retry.RetryInvocationHandler: Exception while invoking create of class ClientNamenodeProtocolTranslatorPB over master/192.168.50.4:9200. Trying to fail over imm
import java.util.Map;
public class ListVars {
public static void main(String[] args) {
Map<String, String> env = System.getenv();
for (String key : env.keySet()) {
System.out.println(key + ": " + env.get(key));
}
}
}
@plaflamme
plaflamme / mesos-master.INFO
Created July 3, 2015 16:48
Marathon 0.8.1 with Mesos 0.22.1
I0703 12:46:30.200515 12972 master.cpp:3300] Status update TASK_FAILED (UUID: 92ca8e6f-0b10-47e0-8b40-8aa2a719a71c) for task test-task.c4dff928-219e-11e5-81b7-080027c896c6 of framework 20150703-120918-70428864-5050-9191-0000 from slave 20150703-120918-70428864-5050-9191-S1 at slave(1)@192.168.50.6:5051 (slave)
I0703 12:46:30.200669 12972 master.cpp:3341] Forwarding status update TASK_FAILED (UUID: 92ca8e6f-0b10-47e0-8b40-8aa2a719a71c) for task test-task.c4dff928-219e-11e5-81b7-080027c896c6 of framework 20150703-120918-70428864-5050-9191-0000
I0703 12:46:30.200819 12972 master.cpp:4623] Updating the latest state of task test-task.c4dff928-219e-11e5-81b7-080027c896c6 of framework 20150703-120918-70428864-5050-9191-0000 to TASK_FAILED
I0703 12:46:31.563249 12968 master.cpp:1711] Received re-registration request from framework 20150703-120918-70428864-5050-9191-0000 (marathon) at scheduler-eb289646-5244-464a-b704-51bb765a743d@127.0.0.1:56801
I0703 12:46:31.563390 12968 master.cpp:1764] Re-registering framework 20
@plaflamme
plaflamme / mesos-master.INFO
Created July 2, 2015 22:03
Mesos Logs During Slave Upgrade. Portions elided marked with [...]
I0702 16:02:59.045485 29070 master.cpp:839] Slave 20150325-163329-362832906-5050-28952-0 at slave(1)@slave-ip:5050 (slave-hostname.domain.name) disconnected
I0702 16:02:59.045805 29070 master.cpp:1789] Disconnecting slave 20150325-163329-362832906-5050-28952-0 at slave(1)@slave-ip:5050 (slave-hostname.domain.name)
I0702 16:02:59.045970 29070 master.cpp:1808] Deactivating slave 20150325-163329-362832906-5050-28952-0 at slave(1)@slave-ip:5050 (slave-hostname.domain.name)
[...]
I0702 16:03:19.457506 29073 master.cpp:3195] Re-registering slave 20150325-163329-362832906-5050-28952-0 at slave(1)@slave-ip:5050 (slave-hostname.domain.name)
I0702 16:04:48.105635 29074 master.cpp:839] Slave 20150325-163329-362832906-5050-28952-0 at slave(1)@slave-ip:5050 (slave-hostname.domain.name) disconnected
I0702 16:04:48.106189 29074 master.cpp:1789] Disconnecting slave 20150325-163329-362832906-5050-28952-0 at slave(1)@slave-ip:5050 (slave-hostname.domain.name)
I0702 16:04:48.106622 29074 master.cpp:1808] Deactivating slave 2015
[SC1(A-C) SC0(A-C) I0(A) I1(B) SUM1(B) C1 SUM0(A) C0] [tx(0): iso=SERIALIZABLE pri=2] [tx(1): iso=SERIALIZABLE pri=1]
[info] [EnS9CYOZ] ->Scn (tx=(1)-QDtkQx30Zvuuv82n7qRw isolation=SERIALIZABLE pri= id= state= epoch= ts= orig= max=)
[info] [EnS9CYOZ] 32ms <-Scn (tx=(1)-QDtkQx30Zvuuv82n7qRw isolation=SERIALIZABLE pri=1 id=a64a0fa3 state=PENDING epoch=0 ts=1435550059.360009400,0 orig=1435550059.360009400,0 max=1435550059.610009700,0) ok
[info] [nihYdcnU] ->Scn (tx=(0)-2NXBfEEOFEuNAgTwX2IM isolation=SERIALIZABLE pri= id= state= epoch= ts= orig= max=)
[info] [nihYdcnU] 6ms <-Scn (tx=(0)-2NXBfEEOFEuNAgTwX2IM isolation=SERIALIZABLE pri=2 id=3811f72f state=PENDING epoch=0 ts=1435550059.391133800,0 orig=1435550059.391133800,0 max=1435550059.641133500,0) ok
[info] [Z8WcuRxl] ->Inc (tx=(0)-2NXBfEEOFEuNAgTwX2IM isolation=SERIALIZABLE pri=2 id=3811f72f state=PENDING epoch=0 ts=1435550059.391133800,0 orig=1435550059.391133800,0 max=1435550059.641133500,0)
[info] [Z8WcuRxl] 430ms <-Inc
@plaflamme
plaflamme / example1.txt
Last active August 29, 2015 14:23
Failed History with "already committed"
[info] History [R0(A) R0(B) I1(A) SUM0(C) C0 I1(B) C1] [tx(0): iso=SERIALIZABLE pri=1] [tx(1): iso=SERIALIZABLE pri=2]
[info] [JNDwbRz1] ->Get (tx=(0)-K8UqVBWjAdPOcISt4Y71 isolation=SERIALIZABLE pri= id= state= epoch= ts= orig= max=)
[info] [JNDwbRz1] 106ms <-Get (tx=(0)-K8UqVBWjAdPOcISt4Y71 isolation=SERIALIZABLE pri=1 id=a2ca3127 state=PENDING epoch=0 ts=1435548058.065917300,0 orig=1435548058.065917300,0 max=1435548058.315917300,0) ok
[info] [RNdIx1GG] ->Get (tx=(0)-K8UqVBWjAdPOcISt4Y71 isolation=SERIALIZABLE pri=1 id=a2ca3127 state=PENDING epoch=0 ts=1435548058.065917300,0 orig=1435548058.065917300,0 max=1435548058.315917300,0)
[info] [RNdIx1GG] 61ms <-Get (tx=(0)-K8UqVBWjAdPOcISt4Y71 isolation=SERIALIZABLE pri=1 id=a2ca3127 state=PENDING epoch=0 ts=1435548058.065917300,0 orig=1435548058.065917300,0 max=1435548058.315917300,0) ok
[info] [KHE5C6HI] ->Inc (tx=(1)-jhxH4fOdr3E9lyNq4FMy isolation=SERIALIZABLE pri= id= state= epoch= ts= orig= max=)
[info] [KHE5C6HI] 43ms <-In
@plaflamme
plaflamme / epoch_regression.txt
Last active August 29, 2015 14:23
Failed history
[info] History [SC1(A-C) I1(B) SC0(A-C) I0(A) SUM0(A) SUM1(B) C0 C1] [tx(0): iso=SERIALIZABLE pri=2] [tx(1): iso=SERIALIZABLE pri=1]
[info] [U7JHUs6q] ->Scn (tx=(1)-N6QT8QqiU9JJFt4XbfXX isolation=SERIALIZABLE pri= id=None state= epoch= ts= orig= max=)
[info] [U7JHUs6q] 118ms <-Scn (tx=(1)-N6QT8QqiU9JJFt4XbfXX isolation=SERIALIZABLE pri=1 id=Some(d17ff86d) state=PENDING epoch=0 ts=1435541571.074032800,0 orig=1435541571.074032800,0 max=1435541571.324032800,0) ok
[info] [ldbjK6ao] ->Inc (tx=(1)-N6QT8QqiU9JJFt4XbfXX isolation=SERIALIZABLE pri=1 id=Some(d17ff86d) state=PENDING epoch=0 ts=1435541571.074032800,0 orig=1435541571.074032800,0 max=1435541571.324032800,0)
[info] [ldbjK6ao] 310ms <-Inc (tx=(1)-N6QT8QqiU9JJFt4XbfXX isolation=SERIALIZABLE pri=1 id=Some(d17ff86d) state=PENDING epoch=0 ts=1435541571.074032800,0 orig=1435541571.074032800,0 max=1435541571.324032800,0) ok
[info] [PJepooyv] ->Scn (tx=(0)-Xic3WxHKDHIGHKZiTfWE isolation=SERIALIZABLE pri= id=None state= epoch= ts= ori
Jun 11 15:15:06 marathon-master-1 marathon[4703]: [2015-06-11 15:15:06,380] INFO Need to migrate mesosphere.marathon.state.MarathonStore (mesosphere.marathon.state.MarathonStore:29)
Jun 11 15:15:11 marathon-master-1 marathon[4703]: Exception in thread "main" com.google.inject.CreationException: Guice creation errors:
Jun 11 15:15:11 marathon-master-1 marathon[4703]:
Jun 11 15:15:11 marathon-master-1 marathon[4703]: 1) Error in custom provider, java.util.concurrent.TimeoutException: Failed to wait for future within timeout
Jun 11 15:15:11 marathon-master-1 marathon[4703]: at mesosphere.marathon.MarathonModule.provideAppRepository(MarathonModule.scala:89)
Jun 11 15:15:11 marathon-master-1 marathon[4703]: at mesosphere.marathon.MarathonModule.provideAppRepository(MarathonModule.scala:89)
Jun 11 15:15:11 marathon-master-1 marathon[4703]: while locating mesosphere.marathon.state.AppRepository
Jun 11 15:15:11 marathon-master-1 marathon[4703]: for parameter 5 at mesosphere.marathon.MarathonSchedulerServic
@plaflamme
plaflamme / wait_150_ms.txt
Last active August 29, 2015 14:22
write/write conflict test issue
## write/write conflict / SNAPSHOT Isolation / canPush = false / expectAttempts = 1
# After sending the non-transactional Put request, this test waits 150ms before sending the EndTransaction request
## Columns are:
# Request: [request nonce] ->reqType <(tx header)>
# Response:[request nonce] latency_ms <-reqType <(tx header)> ok|(error)
[63l9GN0K] ->Put (tx=MqGNONnjYI6BQ8amT5G7 isolation=SNAPSHOT pri= state= epoch= ts= orig= max=)
[63l9GN0K] 4ms <-Put (tx=MqGNONnjYI6BQ8amT5G7 isolation=SNAPSHOT pri=2 state=PENDING epoch=0 ts=1433553027.958019300,0 orig=1433553027.958019300,0 max=1433553028.208019500,0) ok