Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-11304 Migrate to Log4j2 from Log4j 1.x
  3. HIVE-11700

exception in logs in Tez test with new logger

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      2015-08-31 11:27:47,400 WARN Error while converting string [${sys:hive.ql.log.PerfLogger.level}] to type [class org.apache.logging.log4j.Level]. Using default value [null]. java.lang.IllegalArgumentException: Unknown level constant [${SYS:HIVE.QL.LOG.PERFLOGGER.LEVEL}].
         at org.apache.logging.log4j.Level.valueOf(Level.java:286)
         at org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$LevelConverter.convert(TypeConverters.java:230)
         at org.apache.logging.log4j.core.config.plugins.convert.TypeConverters$LevelConverter.convert(TypeConverters.java:226)
         at org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.convert(TypeConverters.java:336)
         at org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor.convert(AbstractPluginVisitor.java:130)
         at org.apache.logging.log4j.core.config.plugins.visitors.PluginAttributeVisitor.visit(PluginAttributeVisitor.java:45)
         at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.generateParameters(PluginBuilder.java:247)
         at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:136)
         at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:766)
         at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:706)
         at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:698)
         at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:358)
         at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:161)
         at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:361)
         at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:426)
         at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:442)
         at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:138)
         at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:147)
         at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:41)
         at org.apache.logging.log4j.LogManager.getContext(LogManager.java:175)
         at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:102)
         at org.apache.logging.log4j.jcl.LogAdapter.getContext(LogAdapter.java:39)
         at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42)
         at org.apache.logging.log4j.jcl.LogFactoryImpl.getInstance(LogFactoryImpl.java:40)
         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:671)
         at org.apache.hadoop.hive.ql.QTestUtil.<clinit>(QTestUtil.java:122)
         at org.apache.hadoop.hive.cli.TestMiniTezCliDriver.<clinit>(TestMiniTezCliDriver.java:33)
      

        Attachments

        1. HIVE-11700.patch
          0.8 kB
          Prasanth Jayachandran
        2. HIVE-11700.patch
          0.6 kB
          Prasanth Jayachandran

          Activity

            People

            • Assignee:
              prasanth_j Prasanth Jayachandran
              Reporter:
              sershe Sergey Shelukhin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: