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
#!/usr/bin/env python | |
import re | |
import sys | |
def parse(path): | |
counts = {} | |
sizes = {} | |
for l in file(path): | |
if ':' not in l: |
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
/* | |
* Copyright (c) 2014, Oracle America, Inc. | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* | |
* * Redistributions of source code must retain the above copyright notice, | |
* this list of conditions and the following disclaimer. | |
* |
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
/* | |
* Copyright (c) 2014, Oracle America, Inc. | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* | |
* * Redistributions of source code must retain the above copyright notice, | |
* this list of conditions and the following disclaimer. | |
* |
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
/* | |
* Copyright (c) 2014, Oracle America, Inc. | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* | |
* * Redistributions of source code must retain the above copyright notice, | |
* this list of conditions and the following disclaimer. | |
* |
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
/* | |
* Copyright (c) 2014, Oracle America, Inc. | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* | |
* * Redistributions of source code must retain the above copyright notice, | |
* this list of conditions and the following disclaimer. | |
* |
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
diff --git a/src/kudu/consensus/consensus.proto b/src/kudu/consensus/consensus.proto | |
index 5eeecdd..69b5377 100644 | |
--- a/src/kudu/consensus/consensus.proto | |
+++ b/src/kudu/consensus/consensus.proto | |
@@ -227,8 +227,10 @@ message CommitMsg { | |
// NO_OP requests are replicated by a peer after being elected leader. | |
message NoOpRequestPB { | |
- // Allows to set a dummy payload, for tests. | |
- optional bytes payload_for_tests = 1; |
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
[nightly6x-2.gce.cloudera.com:21000] default> create table mixedtable (x tinyint) partitioned by (y int) stored as parquetfile; | |
Query: create table mixedtable (x tinyint) partitioned by (y int) stored as parquetfile | |
+-------------------------+ | |
| summary | | |
+-------------------------+ | |
| Table has been created. | | |
+-------------------------+ | |
Fetched 1 row(s) in 0.43s | |
[nightly6x-2.gce.cloudera.com:21000] default> describe mixedtable; | |
Query: describe mixedtable |
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
[nightly6x-2.gce.cloudera.com:21000] default> create table mixedtable (x int) partitioned by (y int) stored as parquetfile TBLPROPERTIES ('avro.schema.url'='/user/systest/avro-schema.json'); | |
Query: create table mixedtable (x int) partitioned by (y int) stored as parquetfile TBLPROPERTIES ('avro.schema.url'='/user/systest/avro-schema.json') | |
+-------------------------+ | |
| summary | | |
+-------------------------+ | |
| Table has been created. | | |
+-------------------------+ | |
Fetched 1 row(s) in 0.48s | |
[nightly6x-2.gce.cloudera.com:21000] default> describe mixedtable; | |
Query: describe mixedtable |
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
#!/usr/bin/python | |
import time | |
import re | |
import sys | |
def convert_ts(ts_match): | |
ts_i = int(ts_match.group(0)) | |
phys, logical = (ts_i >> 12, ts_i & ((1 << 12) - 1)) | |
phys_sec = phys / 1000000 |
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
"pool-5-thread-200" #435 prio=5 os_prio=0 tid=0x00007fba6ab3b800 nid=0x4f7f runnable [0x00007fba2d654000] | |
java.lang.Thread.State: RUNNABLE | |
at sun.security.provider.DigestBase.engineDigest(DigestBase.java:158) | |
at java.security.MessageDigest$Delegate.engineDigest(MessageDigest.java:592) | |
at java.security.MessageDigest.digest(MessageDigest.java:365) | |
at com.sun.crypto.provider.PBES1Core.deriveCipherKey(PBES1Core.java:309) | |
at com.sun.crypto.provider.PBES1Core.init(PBES1Core.java:244) | |
at com.sun.crypto.provider.PBES1Core.init(PBES1Core.java:331) | |
at com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher.engineInit(PBEWithMD5AndTripleDESCipher.java:238) | |
at javax.crypto.Cipher.init(Cipher.java:1536) |