Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: v0.9.3
    • Fix Version/s: None
    • Component/s: Docs
    • Labels:
    • Environment:
      Ubuntu, EC2

      Description

      Flume configuration for Kerberos as per documentation is:

      <property>
      <name>flume.kerberos.user</name>
      <value>flume/host1.com@REALM.COM </value>
      <description></description>
      </property>

      <property>
      <name>flume.kerberos.keytab</name>
      <value>/etc/flume/conf/keytab.krb5 </value>
      <description></description>
      </property>

      But as per code the the configuration names are :

      1. flume.security.kerberos.principal
      2. flume.security.kerberos.keytab

      In the installation documentation , they are mentioned as: flume.security.kerberos.user

      <property>
      <name>flume.security.kerberos.user</name>
      <value>flume/_HOST@YOUR-REALM.COM</value>
      <description></description>
      </property>

      This results in an error which is misleading:

      2011-03-17 22:54:10,942 [main] ERROR agent.FlumeNode: Flume failed when attempting to authenticate with keytab /etc/flume/conf/flume.keytab and principal ''
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.cloudera.flume.agent.FlumeNode.tryKerberosLogin(FlumeNode.java:664)
      at com.cloudera.flume.agent.FlumeNode.setup(FlumeNode.java:592)
      at com.cloudera.flume.agent.FlumeNode.main(FlumeNode.java:712)
      Caused by: java.io.IOException: Kerberos service principal name isn't configured properly (should have 3 parts): flume

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ashishranjan Ashish Ranjan Vidyarthi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: