hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szehon Ho (JIRA)" <>
Subject [jira] [Created] (HIVE-10502) Cannot specify in Beeline
Date Mon, 27 Apr 2015 18:50:38 GMT
Szehon Ho created HIVE-10502:

             Summary: Cannot specify in Beeline
                 Key: HIVE-10502
             Project: Hive
          Issue Type: Bug
          Components: Beeline
    Affects Versions: 1.1.0
            Reporter: Szehon Ho

In HiveCLI, HiveServer2, HMS, etc, the following is called early in the startup to initialize
log4j logging: LogUtils.initHiveLog4j().

However, seems like this is not the case in Beeline, which also needs log4j like as follows:

  at org.apache.log4j.LogManager.<clinit>(
  at org.slf4j.impl.Log4jLoggerFactory.getLogger(
  at org.slf4j.LoggerFactory.getLogger(
  at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(
  at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(
  at org.apache.commons.logging.LogFactory.getLog(
  at org.apache.hadoop.util.VersionInfo.<clinit>(

It would be good to specify it, so it doesn't pick the first one in the classpath.

This message was sent by Atlassian JIRA

View raw message