Linux-UNIX: Ranger HDFS for Hortonworks and Cloudera 7 FAQs
Find answers to some basic issues with Ranger HDFS integration.
- HDFS audits are not being processed and the following message is seen in the STAP logs:
- 2020.04.22 12:55:35 ranger_hdfs_integration/guard_hdfs.cc(78) HDFS: cannot load libhdfs, no path provided
- HDFS audits are not being processed and the following message is seen in the STAP logs:
- 2020.04.22 12:57:52 ranger_hdfs_integration/guard_hdfs.cc(111) HDFS: unable to open /tmp/libhdfs.so, error: /tmp/libhdfs.so: cannot open shared object file: No such file or directory
- HDFS audits are not being processed and the following message is seen in the STAP logs:
- 2020.04.22 12:59:20 ranger_hdfs_integration/guard_hdfs.cc(111) HDFS: unable to open /usr/hdp/3.1.0.0-78/usr/lib/libhdfs.so, error: libjvm.so: cannot open shared object file: No such file or directory
- HDFS audits are not being processed and the following message is seen in the STAP logs:
- hdfsExists: invokeMethod((Lorg/apache/hadoop/fs/Path;)Z) error: ConnectException:
Connection refusedjava.net.ConnectException: Call From <STAP_HOSTNAME>/<STAP_IP> to
<NN_HOSTNAME>:<PORT> failed on connection exception: java.net.ConnectException: Connection
refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
For more details see: http://wiki.apache.org/hadoop/ConnectionRefused.
- HDFS audits are not being processed and the following message is seen in the STAP logs:
- hdfsBuilderConnect(forceNewInstance=0, nn=hw3-cl1-01.swg.usma.ibm.com, port=8020, kerbTicketCachePath=/usr/local/guardium/guard_stap/hdfs_reader_ticket, userName=foobar) error: LoginException: Unable to obtain password from user org.apache.hadoop.security.KerberosAuthException: failure to login: for principal: foobar using ticket cache file: /usr/local/guardium/guard_stap/hdfs_reader_ticket javax.security.auth.login.LoginException: Unable to obtain password from user
- HDFS audits are not being processed and a message similar to the following is seen in the STAP logs: :
- CannotObtainBlockLengthException: Cannot obtain block length for LocatedBlock {BP-475011667-9.32.164.237-1546906377615:blk_1074457421_717409; getBlockSize()=428; corrupt=false; offset=0; locs=[DatanodeInfoWithStorage[9.32.164.137:1019,DS-39fe5b73-f666-4285-bd50-805b4acc9250,DISK], DatanodeInfoWithStorage[9.32.164.148:1019,DS-fd105fa3-aa8e-44f5-a878-7d409ea6d24f,DISK]]}