Grokbase Groups Hive dev March 2014
FAQ
[ https://issues.apache.org/jira/browse/HIVE-6379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918456#comment-13918456 ]

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

to include .properties fiels in webhcat.jar
<code>
+++ b/hcatalog/webhcat/svr/pom.xml
@@ -141,6 +141,12 @@
    </profiles>

    <build>
+ <resources>
+ <resource>
+ <targetPath>.</targetPath>
+ <directory>src/main/config</directory>
+ </resource>
+ </resources>
</code>
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.2#6252)

Search Discussions

  • Eugene Koifman (JIRA) at Mar 28, 2014 at 12:29 am
    [ https://issues.apache.org/jira/browse/HIVE-6379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Eugene Koifman updated HIVE-6379:
    ---------------------------------

         Summary: webhcat is not operational with Hadoop 1 due to Slf4j conflicts (was: webhcat is not operational due to Slf4j conflicts)
    webhcat is not operational with Hadoop 1 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.2#6252)

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieshive, hadoop
postedMar 3, '14 at 7:18p
activeMar 28, '14 at 12:29a
posts2
users1
websitehive.apache.org

1 user in discussion

Eugene Koifman (JIRA): 2 posts

People

Translate

site design / logo © 2021 Grokbase