Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

various fixes #4

Merged
merged 4 commits into from

2 participants

@coughman

fixed derby warnings
fixed test metastore location so unit test will pass
minor gitignore cleanup

@edwardcapriolo edwardcapriolo merged commit 500d609 into edwardcapriolo:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 8, 2012
  1. @coughman

    ignores .* files

    coughman authored
Commits on Oct 9, 2012
  1. @coughman

    don't ignore .gitignore

    coughman authored
  2. @coughman

    filters out derby warnings

    coughman authored
  3. @coughman
This page is out of date. Refresh to see the latest.
View
2  .gitignore
@@ -1,4 +1,6 @@
*~
+.*
+!.gitignore
derby.log
target/
testing/
View
22 src/test/resources/hive-site.xml
@@ -0,0 +1,22 @@
+
+<configuration>
+
+<property>
+ <name>hive.exec.mode.local.auto</name>
+ <value>true</value>
+</property>
+
+<property>
+ <name>javax.jdo.option.ConnectionURL</name>
+ <!--<value>jdbc:derby:;databaseName=/tmp/metastore_db;create=true</value>-->
+ <value>jdbc:derby:memory:metastore_db;create=true</value>
+ <description>JDBC connect string for a JDBC metastore</description>
+</property>
+
+<property>
+ <name>hive.metastore.warehouse.dir</name>
+ <value>/tmp/warehouse</value>
+ <description>location of default database for the warehouse</description>
+</property>
+
+</configuration>
View
34 src/test/resources/log4j.properties
@@ -0,0 +1,34 @@
+# Define some default values that can be overridden by system properties
+hive.root.logger=WARN,console
+hive.log.dir=/tmp/${user.name}
+hive.log.file=hive.log
+
+# Define the root logger to the system property "hadoop.root.logger".
+log4j.rootLogger=${hive.root.logger}
+
+# Logging Threshold
+log4j.threshhold=WARN
+
+#
+# console
+# Add "console" to rootlogger above if you want to use this
+#
+
+log4j.appender.console=org.apache.log4j.ConsoleAppender
+log4j.appender.console.target=System.out
+log4j.appender.console.layout=org.apache.log4j.PatternLayout
+log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{2}: %m%n
+
+#custom logging levels
+#log4j.logger.xxx=DEBUG
+
+log4j.category.DataNucleus=ERROR
+log4j.category.Datastore=ERROR
+log4j.category.Datastore.Schema=ERROR
+log4j.category.JPOX.Datastore=ERROR
+log4j.category.JPOX.Plugin=ERROR
+log4j.category.JPOX.MetaData=ERROR
+log4j.category.JPOX.Query=ERROR
+log4j.category.JPOX.General=ERROR
+log4j.category.JPOX.Enhancer=ERROR
+
Something went wrong with that request. Please try again.