[3/3] kudu git commit: Scala code formatting with Scalafmt

2018-07-30 Thread granthenke
Scala code formatting with Scalafmt Scalafmt https://scalameta.org/scalafmt/#Scalafmt is a code formatting tool, scalafmt.conf is the main configuration file. Scalafmt is added using the Gradle Scalafmt plugin: https://github.com/alenkacz/gradle-scalafmt and Maven scalafmt plugin:

[1/3] kudu git commit: [java] Add extra info about using multiple clients

2018-07-30 Thread granthenke
Repository: kudu Updated Branches: refs/heads/master 8e40dfdb9 -> 79166955f [java] Add extra info about using multiple clients The AsyncKuduClient and KuduClient are meant to map 1-1 with Kudu clusters used by an application. In particular, an application shouldn't make more than one client

[2/3] kudu git commit: Scala code formatting with Scalafmt

2018-07-30 Thread granthenke
http://git-wip-us.apache.org/repos/asf/kudu/blob/79166955/java/kudu-spark/src/main/scala/org/apache/kudu/spark/kudu/KuduContext.scala -- diff --git a/java/kudu-spark/src/main/scala/org/apache/kudu/spark/kudu/KuduContext.scala

[4/4] kudu git commit: hms-tool: refactor check tool and combine upgrade and fix

2018-07-30 Thread danburkert
hms-tool: refactor check tool and combine upgrade and fix This commit combines the 'hms upgrade' and 'hms fix' tools. The tools previously had overlapping responsibilities for checking some types of inconsistencies. The 'fix' tool now has flags which can control whether it attempts certain types

[2/4] kudu git commit: [kudu-admin-test] improvements on error reporting

2018-07-30 Thread danburkert
[kudu-admin-test] improvements on error reporting This changelist introduces improvements on logging in case if an assertion triggers in the rebalancer-related scenarios. I found it's hard to troubleshoot the flakiness reported lately in the

[1/4] kudu git commit: [util] update on ParseVersion()

2018-07-30 Thread danburkert
Repository: kudu Updated Branches: refs/heads/master 34b058b8b -> 8e40dfdb9 [util] update on ParseVersion() This changelist updates implementation of the kudu::ParseVersion() utility function to recognize and successfully parse version strings like '1.8.0-cdh6.x-SNAPSHOT'.

[3/4] kudu git commit: hms-tool: refactor check tool and combine upgrade and fix

2018-07-30 Thread danburkert
http://git-wip-us.apache.org/repos/asf/kudu/blob/8e40dfdb/src/kudu/tools/tool_action_hms.cc -- diff --git a/src/kudu/tools/tool_action_hms.cc b/src/kudu/tools/tool_action_hms.cc index 6273ed2..db90ee3 100644 ---

kudu git commit: KUDU-2510 Fix symmetric difference logging

2018-07-30 Thread abukor
Repository: kudu Updated Branches: refs/heads/branch-1.6.x f43c77bed -> 6dfc10ac0 KUDU-2510 Fix symmetric difference logging When the on-disk and provided master_addresses don't match, the error message was misleading as it showed them swapped, i.e. the --master_addresses lists 3 masters, and

kudu git commit: KUDU-2510 Fix symmetric difference logging

2018-07-30 Thread abukor
Repository: kudu Updated Branches: refs/heads/branch-1.7.x 2a8893e3e -> cf21f3673 KUDU-2510 Fix symmetric difference logging When the on-disk and provided master_addresses don't match, the error message was misleading as it showed them swapped, i.e. the --master_addresses lists 3 masters, and