You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2014/02/13 21:51:22 UTC

[jira] [Commented] (HIVE-6379) webhcat is not operational due to Slf4j conflicts

    [ https://issues.apache.org/jira/browse/HIVE-6379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900718#comment-13900718 ] 

Eugene Koifman commented on HIVE-6379:
--------------------------------------

after fixing HIVE-6424, the error changes to:

Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
        at org.slf4j.bridge.SLF4JBridgeHandler.callLocationAwareLogger(SLF4JBridgeHandler.java:224)
        at org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:301)
        at java.util.logging.Logger.log(Logger.java:509)
        at java.util.logging.Logger.doLog(Logger.java:531)
        at java.util.logging.Logger.log(Logger.java:554)
        at com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:101)
        at com.sun.jersey.api.core.PackagesResourceConfig.<init>(PackagesResourceConfig.java:78)
        at org.apache.hive.hcatalog.templeton.Main.makeJerseyConfig(Main.java:223)
        at org.apache.hive.hcatalog.templeton.Main.runServer(Main.java:193)
        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 is not operational due to Slf4j conflicts
> -------------------------------------------------
>
>                 Key: HIVE-6379
>                 URL: https://issues.apache.org/jira/browse/HIVE-6379
>             Project: Hive
>          Issue Type: Bug
>          Components: WebHCat
>    Affects Versions: 0.12.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>
> 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) 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)