Header Shadow Image


Archive for August, 2019

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


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

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