3.4.2. Secure DataNodes errors

During secure deployment, you might get a generic error message as shown below:

 Caused by: java.io.IoException: javax.security.SaslException:GSS Initiate failed (Caused by GSSException: Failed to find any Kerberos tgt) 

Solution:

  1. If your SE Linux is incorrectly configured, you will see the following error message in the jsvc.err file:

    17/01/2012 18:49:39 19465 jsvc.exec error: Cannot dynamically link to /usr/hadoop-jdk1.6.0_26/jre/lib/i386/server/libjvm.so
    17/01/2012 18:49:39 19465 jsvc.exec error: /usr/hadoop
    jdk1.6.0_26/jre/lib/i386/server/libjvm.so: cannot restore segment prot after reloc: Permission denied                      
    17/01/2012 18:49:39 19426 jsvc.exec error: Service exit with a return value of 1                                             

  2. Execute following command as root user for that DataNode:

    ssh $DataNode 
    su -
    sed -i 's|SELINUX=enforcing|SELINUX=disabled|g' /etc/selinux/config/usr/sbin/setenforce 0 

  3. Restart the installation process.


loading table of contents...