Header Shadow Image


Author Archive

ls: Permission denied: user=root, access=EXECUTE, inode=”/tmp/.cloudera_health_monitoring_canary_files”:hdfs:supergroup:d———

Before enabling kerberos, the HDFS user is the only one that can list out files owned by itself: [root@cm-r01en01 run]# hdfs dfs -ls /tmp/.cloudera_health_monitoring_canary_files/.canary_file_2019_08_20-19_28_02.abab681cca56293als: Permission denied: user=root, access=EXECUTE, inode="/tmp/.cloudera_health_monitoring_canary_files":hdfs:supergroup:d——— You'll need to run the command via SUDO like this: [root@cm-r01en01 run]# sudo su -c "hdfs dfs -ls /tmp/.cloudera_health_monitoring_canary_files/.canary_file_2019_08_20-19_28_02.abab681cca56293a" -s /bin/bash hdfs -rw-rw-rw-   3 hdfs […]

Slow SSD performance through SATA 3.0

Seeing slow SSD performance through SATA 3.0?  Tired of transfer rates of 30MB/s when you should be seeing at least 150MB/s?  Fix this by adding the following kernel parameters: libata.noacpi=1 Cheers, TK

FATAL: Module scsi_wait_scan not found.

Getting this? FATAL: Module scsi_wait_scan not found. This is likely followed by a kernel panic.  Look for a non existing mount point being defined, such as a LVM_swap partition that doesn't exist. Remove it.  Also remove any non existent partitions in /etc/fstab through the recovery console. Cheers, TK

Cloudera 6.2 Installation: ERROR StatusLogger No log4j2 configuration file found.

Getting this? SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory] ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2 internal initialization logging. Investigate by first running the command manually: [oozie@cm-r01en01 ~]$ /usr/java/latest/bin/java -Xms52428800 -Xmx52428800 -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:G1HeapRegionSize=16M -XX:MinMetaspaceFreeRatio=50 -XX:MaxMetaspaceFreeRatio=80 […]

java.lang.ClassNotFoundException: org.cloudera.log4j.redactor.RedactorAppender

Running into this? java.lang.ClassNotFoundException: org.cloudera.log4j.redactor.RedactorAppender Solve it with this: [root@awx01 ansible]# ansible 'cm*' -m shell -a 'cd /opt/cloudera/parcels/CDH/lib/oozie/libtools; ln -s ../../../jars/log4j-core-2.8.2.jar log4j-core-2.8.2.jar; ln -s ../../../jars/logredactor-2.0.7.jar  logredactor-2.0.7.jar' Cheers, TK

ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console…

Running into this? ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console… Solve it with this: [root@awx01 ansible]# ansible 'cm*' -m shell -a 'cd /opt/cloudera/parcels/CDH/lib/oozie/libtools; ln -s ../../../jars/log4j-core-2.8.2.jar log4j-core-2.8.2.jar; ln -s ../../../jars/logredactor-2.0.7.jar  logredactor-2.0.7.jar' Cheers, TK

Allow multicast traffic with firewalld

The commands to allow multicast traffic with firewalld are: firewall-cmd –permanent –direct –add-rule ipv4 filter INPUT 0 -m pkttype –pkt-type multicast -j ACCEPT firewall-cmd –permanent –direct –add-rule ipv6 filter INPUT 0 -m pkttype –pkt-type multicast -j ACCEPT Cheers, TK  

cloudera-scm-agent: SSLError: sslv3 alert bad certificate

Getting this? [06/Jul/2019 19:49:28 +0000] 2245 MainThread agent        ERROR    Heartbeating to cm-r01nn01.mws.mds.xyz:7182 failed. Traceback (most recent call last):   File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/agent.py", line 1387, in _send_heartbeat     self.cfg.max_cert_depth)   File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/https.py", line 139, in __init__     self.conn.connect()   File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/M2Crypto/httpslib.py", line 69, in connect     sock.connect((self.host, self.port))   File […]

ERROR    Heartbeating to failed.

Getting this error when connecting cloudera-scm-agents to the server? [06/Jul/2019 16:16:55 +0000] 23442 MainThread agent        ERROR    Heartbeating to srv-c01.mws.mds.xyz:17182 failed. Traceback (most recent call last):   File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/agent.py", line 1387, in _send_heartbeat     self.cfg.max_cert_depth)   File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/https.py", line 139, in __init__     self.conn.connect()   File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/M2Crypto/httpslib.py", line 69, in […]

Setting tune.ssl.default-dh-param to 1024 by default, if your workload permits it you should set it to at least 2048. Please set a value >= 1024 to make this warning disappear.

Getting this? haproxy-systemd-wrapper[17526]: [WARNING] 186/151058 (17527) : Setting tune.ssl.default-dh-param to 1024 by default, if your workload permits it you should set it to at least 2048. Please set a value >= 1024 to make this warning disappear. add this to your haproxy config: global         log             […]


     
  Copyright © 2003 - 2025 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License

 

The IT Development and Technology Mini Vault | MicroDevSys.com
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.