Skip to content

Instantly share code, notes, and snippets.

View simonetripodi's full-sized avatar

Simone Tripodi simonetripodi

View GitHub Profile
<property>
<name>oozie.service.StoreService.create.db.schema</name>
<value>false</value>
<description>
Creates Oozie DB.
If set to true, it creates the DB schema if it does not exist. If the DB schema exists is a NOP.
If set to false, it does not create the DB schema. If the DB schema does not exist it fails start up.
</description>
</property>
oozie-3.0.2 simonetripodi$ ./bin/oozie-setup.sh -hadoop 0.20.2
/Applications/hadoop-0.20.2 -extjs /Applications/ext-2.2 -jars
/Users/simonetripodi/Downloads/mysql-connector-java-5.1.18/mysql-connector-java-5.1.18-bin.jar
$ ./bin/oozie-run.sh
Setting OOZIE_HOME: /Applications/oozie-3.0.2
Setting OOZIE_CONFIG: /Applications/oozie-3.0.2/conf
Sourcing: /Applications/oozie-3.0.2/conf/oozie-env.sh
Setting OOZIE_CONFIG_FILE: oozie-site.xml
Using OOZIE_DATA: /Applications/oozie-3.0.2/data
Using OOZIE_LOG: /Applications/oozie-3.0.2/logs
Setting OOZIE_LOG4J_FILE: oozie-log4j.properties
Setting OOZIE_LOG4J_RELOAD: 10
@simonetripodi
simonetripodi / catalina.*.log
Created October 13, 2011 09:20
Oozie failing startup logs
Oct 13, 2011 11:11:32 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
Oct 13, 2011 11:11:33 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-11000
Oct 13, 2011 11:11:33 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1535 ms
Oct 13, 2011 11:11:33 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 13, 2011 11:11:33 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
@simonetripodi
simonetripodi / gist:1293481
Created October 17, 2011 19:09
mave-site.patch
Index: src/site/site.xml
===================================================================
--- src/site/site.xml (revision 1183623)
+++ src/site/site.xml (working copy)
@@ -26,7 +26,17 @@
name="Maven">
<version position="none" />
+ <skin>
+ <groupId>org.apache.maven.skins</groupId>
@simonetripodi
simonetripodi / schema.xml
Created October 20, 2011 13:52
Specified dictionary does not exist issue
<?xml version="1.0" ?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@simonetripodi
simonetripodi / gist:1386681
Created November 22, 2011 19:39
no_eval.patch
Index: src/main/resources/META-INF/maven/site.vm
===================================================================
--- src/main/resources/META-INF/maven/site.vm (revision 1203986)
+++ src/main/resources/META-INF/maven/site.vm (working copy)
@@ -531,7 +531,9 @@
#set ( $head = $StringUtils.replace( $item.toString(), $documentHeader, "" ) )
#end
- $StringUtils.replace( $head, '@relativePath@', ${relativePath} )
+ ## $StringUtils.replace( $head, '@relativePath@', ${relativePath} )
@simonetripodi
simonetripodi / gist:1395984
Created November 26, 2011 17:07
dependency-info.patch
Index: src/main/java/org/apache/maven/report/projectinfo/DependencyInformationReport.java
===================================================================
--- src/main/java/org/apache/maven/report/projectinfo/DependencyInformationReport.java (revision 0)
+++ src/main/java/org/apache/maven/report/projectinfo/DependencyInformationReport.java (revision 0)
@@ -0,0 +1,165 @@
+package org.apache.maven.report.projectinfo;
+
+import java.util.Formatter;
+import java.util.Locale;
+
@simonetripodi
simonetripodi / gist:1396291
Created November 26, 2011 21:06
parent.pom.patch
Index: src/site/site.xml
===================================================================
--- src/site/site.xml (revision 1206581)
+++ src/site/site.xml (working copy)
@@ -51,9 +51,9 @@
<version position="left" />
<skin>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-skin</artifactId>
@simonetripodi
simonetripodi / gist:1455467
Created December 10, 2011 16:08
mybatis migrations options
Usage: migrate [options] [command] [command options]
Options:
-e, --env Environment to configure.
Default: development
-f, --force Forces script to continue even if SQL errors are
encountered.
Default: false
-h, --help Displays this usage message.
Default: false
-p, --path Path to repository. Default current working directory.