Browse Source
The host and port entries under /brokers/ids/<bid> gets filled only for PLAINTEXT security protocol. For other protocols the host is null and the actual endpoint is under "endpoints". This causes NPE when running the consumer group and offset checker scripts in a kerberized env. By always reading the host and port values from the "endpoint", a more meaningful exception would be thrown rather than a NPE. Author: Arun Mahadevan <aiyer@hortonworks.com> Reviewers: Sriharsha Chintalapani <schintalapani@hortonworks.com>, Ismael Juma <ismael@juma.me.uk> Closes #1301 from arunmahadevan/cg_kerb_fixpull/1301/merge
Arun Mahadevan
9 years ago
committed by
Ismael Juma
2 changed files with 12 additions and 31 deletions
Loading…
Reference in new issue