Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-6379

webhcat is not operational with Hadoop 1 due to Slf4j conflicts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.12.0
    • None
    • WebHCat
    • None

    Description

      1. build current trunk: mvn clean install -Pdist,hadoop-1 -DskipTests
      2. /Users/ekoifman/dev/hive/packaging/target/apache-hive-0.13.0-SNAPSHOT-bin/apache-hive-0.13.0-SNAPSHOT-bin/hcatalog
      3. ./sbin/webhcat_server.sh start
      4. http://localhost:50111/templeton/v1/ddl/database?user.name=ekoifman

      webhcat-console-error.log has
      log4j:WARN No appenders could be found for logger (org.apache.hive.hcatalog.templeton.AppConfig).
      log4j:WARN Please initialize the log4j system properly.
      log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
      Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.arrayFormat(Ljava/lang/String;[Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;
      at org.eclipse.jetty.util.log.JettyAwareLogger.log(JettyAwareLogger.java:613)
      at org.eclipse.jetty.util.log.JettyAwareLogger.debug(JettyAwareLogger.java:200)
      at org.eclipse.jetty.util.log.Slf4jLog.debug(Slf4jLog.java:94)
      at org.eclipse.jetty.util.component.Container.add(Container.java:201)
      at org.eclipse.jetty.util.component.Container.update(Container.java:164)
      at org.eclipse.jetty.util.component.Container.update(Container.java:106)
      at org.eclipse.jetty.server.Server.setConnectors(Server.java:184)
      at org.eclipse.jetty.server.Server.<init>(Server.java:97)
      at org.apache.hive.hcatalog.templeton.Main.runServer(Main.java:162)
      at org.apache.hive.hcatalog.templeton.Main.run(Main.java:114)
      at org.apache.hive.hcatalog.templeton.Main.main(Main.java:259)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.hadoop.util.RunJar.main(RunJar.java:160)
      webhcat-console-error.log (END)

      Attachments

        Activity

          People

            Unassigned Unassigned
            ekoifman Eugene Koifman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: