hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6379) webhcat is not operational due to Slf4j conflicts
Date Fri, 14 Feb 2014 01:18:19 GMT

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

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

webhcat script uses 'hadoop jar' command.  Hadoop 1.2.1 ships with SLF4J version 1.4.3 and
adds this library to it's classpath...



> 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)

Mime
View raw message