log4j:ERROR Could not find value for key log4j.appender.RFA

to create new topics or reply. | New User Registration

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Venkatraman Poornalingam 2 months, 1 week ago.

  • Creator
    Topic
  • #51449

    Steve Chen
    Participant

    Manual installation from RPM for 2.1 version, while starting hbase, I am getting the error of

    /usr/lib/hbase/bin/hbase-daemon.sh –config $HBASE_CONF_DIR start master

Viewing 1 replies (of 1 total)

You must be to reply to this topic. | Create Account

  • Author
    Replies
  • #71975

    Check if log4j.appender.RFA is defined in $HBASE_CONF_DIR/log4j.properties

    If not please add the same.

    eg:from https://svn.apache.org/repos/asf/hbase/trunk/conf/log4j.properties

    # Rolling File Appender properties
    hbase.log.maxfilesize=256MB
    hbase.log.maxbackupindex=20

    # Rolling File Appender
    log4j.appender.RFA=org.apache.log4j.RollingFileAppender
    log4j.appender.RFA.File=${hbase.log.dir}/${hbase.log.file}

    log4j.appender.RFA.MaxFileSize=${hbase.log.maxfilesize}
    log4j.appender.RFA.MaxBackupIndex=${hbase.log.maxbackupindex}

    log4j.appender.RFA.layout=org.apache.log4j.PatternLayout
    log4j.appender.RFA.layout.ConversionPattern=%d{ISO8601} %-5p [%t] %c{2}: %m%n

    Collapse
Viewing 1 replies (of 1 total)
Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.