[2/3] kudu git commit: [java client] Fix an NPE in KuduException

2016-09-21 Thread jdcryans
[java client] Fix an NPE in KuduException Saw this in a Jenkins run and also running ITClient on my machine. Change-Id: Iceddc6931e8d3a8cb807657fc5c0804f7052e48f Reviewed-on: http://gerrit.cloudera.org:8080/4488 Reviewed-by: Adar Dembo Tested-by: Kudu Jenkins Project: http://git-wip-us.apache.

[3/3] kudu git commit: [java client] Few ITClient improvements

2016-09-21 Thread jdcryans
[java client] Few ITClient improvements ITClient has been flaky for a while now, mostly due to the "Row count regressed" issue. I fixed it by using snapshot timestamps, which made me refactor how we build scanners, which made me add a new counting method in BaseKuduTest. I continued running the

[1/3] kudu git commit: [java client] Improve and hide OperationResponse#getWriteTimestamp

2016-09-21 Thread jdcryans
Repository: kudu Updated Branches: refs/heads/master 80923d690 -> 0ce5ba594 [java client] Improve and hide OperationResponse#getWriteTimestamp That method was returning a HT-encoded ts, not a ts in microseconds. It's also not meant for public consumption just yet, the same way AbstractKuduScan

[1/2] kudu git commit: [tests] MANUAL_FLUSH --> AUTO_FLUSH_BACKGROUND

2016-09-21 Thread dralves
Repository: kudu Updated Branches: refs/heads/master 7327c28b2 -> 80923d690 [tests] MANUAL_FLUSH --> AUTO_FLUSH_BACKGROUND In tests, run KuduSession in AUTO_FLUSH_BACKGROUND instead of MANUAL_FLUSH mode where appropriate. Change-Id: Ieafc198609cceb5d6945a910364056d81786629a Reviewed-on: http:

[2/2] kudu git commit: Patch gperftools to be able to work on macOS Sierra/XCode 8

2016-09-21 Thread dralves
Patch gperftools to be able to work on macOS Sierra/XCode 8 Apparently gperftools needs to be patched for tcmalloc to work with the new clang version that ships with XCode 8, but the fix hasn't landed yet. This patch fixes that and was copied verbatim from: https://github.com/gperftools/gperftool

[2/2] kudu git commit: cli tool: List all tablets/replica_uuids with 'kudu table list'

2016-09-21 Thread danburkert
cli tool: List all tablets/replica_uuids with 'kudu table list' I noticed that given a tablet or replica_uuid we need to execute multiple nested commands and also need to correlate tablets and their replica uuids and their relation to tables. Added a verbose flag to 'kudu table list' to make this

[1/2] kudu git commit: Add support for clang from XCode 8 in macOS

2016-09-21 Thread danburkert
Repository: kudu Updated Branches: refs/heads/master 1069aaae2 -> 7327c28b2 Add support for clang from XCode 8 in macOS Since upgrading XCode to 8 (even in El Capitan), cmake has outputted an unsupported compiler message: Unknown compiler. Version info: Apple LLVM version 8.0.0 (clang-8