Permalink
Browse files

Merge branch 'master' of github.com:sriksun/Ivory

  • Loading branch information...
2 parents 7398449 + bbf6950 commit b59520c34b338c544548da91031bcd0a7db7bfaf Shwetha GS committed Feb 14, 2013
View
@@ -0,0 +1,14 @@
+# Maven
+target
+
+# IntelliJ
+*.iml
+*.ipr
+*.iws
+.idea
+
+# Eclipse
+.classpath
+.project
+.settings
+
@@ -0,0 +1,58 @@
+Building & Packaging Ivory
+
+Installing Ivory
+*Pre-requisites:
+ * hadoop-0.20.2 +
+ * oozie-3.1.5 + (Patched version can be downloaded from: https://github.com/InMobi/oozie/tree/branch-3.2)
+
+*Ivory Server
+
+ * Download the source from https://github.com/sriksun/Ivory
+ * Navigate to base project folder,named 'Ivory'
+ * Build as "mvn clean package" at the base location. Please note that both maven 2/3 are supported.
+ * By default only embedded/standalone mode is build.
+ * To build Ivory with documentation build with MVN profile "all".
+ * To build the Ivory for distributed mode, i.e. multiple server and prism mode, build with MVN profile "distributed".
+ * Once the build operation is over,navigate to '<base-folder>/Ivory/webapps/target' and deploy the .war file generated
+ there in a web container (Eg: tomcat6).
+
+
+*Ivory Client
+
+ * Follow the steps 1 to 3 from server instructions.
+ * Once the build operation is over, navigate to '<base-folder>/Ivory/client/target'. There is a client.jar that has
+ been generated along with multiple other jars. Fetch this jar and others to use the Ivory client application.
+ Please ensure that the other jars in the folder are always specified in the classpath of the client.jar.
+ * Please refer Ivory-CLI guide for various options on how to use the ivory client.
+
+
+*Setting up Ivory server properties:
+
+Inside your web container, where the ivory war has exploded, you should be able to find 2 files, startup.properties and runtime.properties.
+The path would be:
+<container-base>/<war-location>/ivory-webapp-0.2-SNAPSHOT/WEB-INF/classes
+
+*startup.properties:* Specifies values/paths used by Ivory on startup. Common entries usually include config store location
+,broker url (for messaging), and other settings.Any changes to this requires Ivory to be restarted to take effect.
+
+*runtime.properties:* Specifies various properties that can be picked at runtime. Ivory server keeps polling this file after a certain interval;
+and incorporates changes, if any.
+
+*Domain based settings (only applicable for Ivory 0.2):*
+
+Ivory 0.2 and subsequent releases support domain based properties. The user can specify properties either for all domains
+(with prefixing the property with a '*' ) or for a particular domain (with prefixing the domain name to the property).
+Once the domain is set, the user can set an env variable,IVORY_DOMAIN as the domain that the Ivory is supposed to use.
+
+Example:
+Trying to set the config store property for all domains:
+*.config.store.uri=file:///var/lib/tomcat6/target/store
+Trying to set config store property for a 'specific' domain:
+qa.config.store.uri=file:///var/lib/tomcat6/target/store
+
+To ensure that Ivory installation on your system uses the qa domain settings, just set the IVORY_DOMAIN value to 'qa' in your environment.
+
+*Ivory logs
+Once deployed, all the Ivory operations are logged in folder /var/log/ivory by default.
+Application.log contains logs for all the ivory server operations, if Ivory is deployed in distributed mode then prism logs are populated in
+Prism.log
View
@@ -17,7 +17,8 @@
limitations under the License.
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -30,33 +31,44 @@
<description>Ivory CLI client</description>
<name>Ivory CLI client</name>
<packaging>jar</packaging>
+
<dependencies>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
- <version>1.3.1</version>
</dependency>
+
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
- <version>1.2</version>
</dependency>
+
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
- <version>1.4</version>
</dependency>
+
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-client</artifactId>
- <version>1.9</version>
</dependency>
+
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-json</artifactId>
- <version>1.9</version>
+ </dependency>
+
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
</dependency>
</dependencies>
+
<build>
<plugins>
<plugin>
View
@@ -29,77 +29,66 @@
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
- <version>1.8.3</version>
</dependency>
+
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
- <version>2.1</version>
</dependency>
+
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-test</artifactId>
- <version>0.20.2-cdh3u0</version>
- <scope>test</scope>
</dependency>
+
<dependency>
<groupId>org.apache.ivory</groupId>
<artifactId>ivory-client</artifactId>
- <version>${project.version}</version>
</dependency>
+
<dependency>
<groupId>org.apache.ivory</groupId>
<artifactId>ivory-metrics</artifactId>
- <version>${project.version}</version>
</dependency>
+
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
- <version>2.1</version>
- <scope>compile</scope>
</dependency>
+
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-core</artifactId>
- <version>0.20.2-cdh3u0</version>
- <exclusions>
- <exclusion>
- <groupId>org.eclipse.jdt</groupId>
- <artifactId>core</artifactId>
- </exclusion>
- </exclusions>
</dependency>
+
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
- <version>6.1.1</version>
- <scope>test</scope>
</dependency>
+
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
- <version>1.2</version>
</dependency>
+
<dependency>
<groupId>org.codehaus.jettison</groupId>
<artifactId>jettison</artifactId>
- <version>1.3</version>
</dependency>
+
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jms</artifactId>
- <version>3.0.3.RELEASE</version>
</dependency>
+
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
- <version>3.0.3.RELEASE</version>
</dependency>
+
<dependency>
<groupId>org.apache.ivory</groupId>
<artifactId>ivory-test-util</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
</dependency>
</dependencies>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.

0 comments on commit b59520c

Please sign in to comment.