Storm developers must provide their own Kerberos keytab and principal name for
storm-hdfs
and storm-hbase
connectors in topologies
that run on secure clusters. The Config
object must contain the storm
keytab file and the principal name, as shown in the following example:
Config config = new Config(); ... config.put("storm.keytab.file","$keytab"); config.put("storm.kerberos.principal","$principal"); StormSubmitter.submitTopology("$topologyName",config,builder.createTopology());