Apache Storm Component Guide
Also available as:
PDF
loading table of contents...

Configuring Storm-Hive for a Secure Cluster

The Storm-Hive connector accepts configuration settings as part of the HiveOptions class. For more information about the HiveBolt and HiveOptions classes, see the Apache Storm HiveOptions and HiveBolt API documentation.

There are two required settings for accessing secure Hive:

  • withKerberosPrincipal, the Kerberos principal for accessing Hive:

    public HiveOptions withKerberosPrincipal(String kerberosPrincipal)
  • withKerberosKeytab, the Kerberos keytab for accessing Hive:

    public HiveOptions withKerberosKeytab(String kerberosKeytab)