Repository: kafka Updated Branches: refs/heads/trunk e6164ec61 -> 14f6ecd91
MINOR: KafkaService should print node hostname on failure Author: Colin P. Mccabe <cmcc...@confluent.io> Reviewers: Apurva Mehta <apu...@confluent.io>, Ismael Juma <ism...@juma.me.uk> Closes #3715 from cmccabe/kafka_service_print_node_hostname_on_failure Project: http://git-wip-us.apache.org/repos/asf/kafka/repo Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/14f6ecd9 Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/14f6ecd9 Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/14f6ecd9 Branch: refs/heads/trunk Commit: 14f6ecd9151fa985fad0a30347efab1397af2491 Parents: e6164ec Author: Colin P. Mccabe <cmcc...@confluent.io> Authored: Fri Aug 25 07:44:31 2017 +0100 Committer: Ismael Juma <ism...@juma.me.uk> Committed: Fri Aug 25 07:44:42 2017 +0100 ---------------------------------------------------------------------- tests/kafkatest/services/kafka/kafka.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kafka/blob/14f6ecd9/tests/kafkatest/services/kafka/kafka.py ---------------------------------------------------------------------- diff --git a/tests/kafkatest/services/kafka/kafka.py b/tests/kafkatest/services/kafka/kafka.py index 743f63a..8c21d68 100644 --- a/tests/kafkatest/services/kafka/kafka.py +++ b/tests/kafkatest/services/kafka/kafka.py @@ -239,7 +239,7 @@ class KafkaService(KafkaPathResolverMixin, JmxMixin, Service): self.start_jmx_tool(self.idx(node), node) if len(self.pids(node)) == 0: - raise Exception("No process ids recorded on node %s" % str(node)) + raise Exception("No process ids recorded on node %s" % node.account.hostname) def pids(self, node): """Return process ids associated with running processes on the given node."""