> On Feb. 24, 2017, 1:10 p.m., Attila Doroszlai wrote: > > ambari-server/src/main/resources/common-services/KAFKA/0.9.0/kerberos.json, > > line 10 > > <https://reviews.apache.org/r/57039/diff/1/?file=1647123#file1647123line10> > > > > In Zookeeper + Kafka cluster (no HDFS) this will result in failure > > during kerberization: > > > > ``` > > Traceback (most recent call last): > > File > > "/var/lib/ambari-agent/cache/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_client.py", > > line 80, in <module> > > KerberosClient().execute() > > ... > > resource_management.core.exceptions.Fail: User > > '${hadoop-env/hdfs_user}' doesn't exist > > ```
If Kafka can be installed without HDFS then a "when" clause should be added.... ``` "when" : { "contains" : ["services", "HDFS"] } ``` - Robert ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/57039/#review166742 ----------------------------------------------------------- On Feb. 24, 2017, 9:19 a.m., Balázs Bence Sári wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/57039/ > ----------------------------------------------------------- > > (Updated Feb. 24, 2017, 9:19 a.m.) > > > Review request for Ambari, Attila Magyar, Laszlo Puskas, Oliver Szabo, Robert > Levas, and Sebastian Toader. > > > Bugs: AMBARI-20145 > https://issues.apache.org/jira/browse/AMBARI-20145 > > > Repository: ambari > > > Description > ------- > > Kafka broker needs the hdfs keytab when Ranger is installed and Ranger Kafka > plugin is enabled (plugin exists as of HDP 2.3) > > > Diffs > ----- > > ambari-server/src/main/resources/common-services/KAFKA/0.9.0/kerberos.json > 2b1c01b > > ambari-server/src/main/resources/stacks/HDP/2.5/services/KAFKA/kerberos.json > e1e6461 > > Diff: https://reviews.apache.org/r/57039/diff/ > > > Testing > ------- > > Manually tested the fix. > > > Thanks, > > Balázs Bence Sári > >