You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by jb...@apache.org on 2013/10/27 21:54:56 UTC

svn commit: r1536203 - in /servicemix/smx4/bundles/trunk: ./ hbase-0.96.0-hadoop2/ hbase-0.96.0-hadoop2/src/ hbase-0.96.0-hadoop2/src/main/ hbase-0.96.0-hadoop2/src/main/resources/ hbase-0.96.0-hadoop2/src/main/resources/OSGI-INF/

Author: jbonofre
Date: Sun Oct 27 20:54:56 2013
New Revision: 1536203

URL: http://svn.apache.org/r1536203
Log:
[SMX4-1601] Create OSGi bundle for hbase 0.96.0-hadoop2

Added:
    servicemix/smx4/bundles/trunk/hbase-0.96.0-hadoop2/
    servicemix/smx4/bundles/trunk/hbase-0.96.0-hadoop2/pom.xml
    servicemix/smx4/bundles/trunk/hbase-0.96.0-hadoop2/src/
    servicemix/smx4/bundles/trunk/hbase-0.96.0-hadoop2/src/main/
    servicemix/smx4/bundles/trunk/hbase-0.96.0-hadoop2/src/main/resources/
    servicemix/smx4/bundles/trunk/hbase-0.96.0-hadoop2/src/main/resources/OSGI-INF/
    servicemix/smx4/bundles/trunk/hbase-0.96.0-hadoop2/src/main/resources/OSGI-INF/bundle.info
Modified:
    servicemix/smx4/bundles/trunk/pom.xml

Added: servicemix/smx4/bundles/trunk/hbase-0.96.0-hadoop2/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/hbase-0.96.0-hadoop2/pom.xml?rev=1536203&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/hbase-0.96.0-hadoop2/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/hbase-0.96.0-hadoop2/pom.xml Sun Oct 27 20:54:56 2013
@@ -0,0 +1,307 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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/xsd/maven-4.0.0.xsd">
+
+    <!--
+
+        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
+
+        Unless required by applicable law or agreed to in writing, software
+        distributed under the License is distributed on an "AS IS" BASIS,
+        WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+        See the License for the specific language governing permissions and
+        limitations under the License.
+    -->
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.servicemix.bundles</groupId>
+        <artifactId>bundles-pom</artifactId>
+        <version>10</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.hbase</artifactId>
+    <version>0.96.0-hadoop2_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps hbase-common, hbase-client, hbase-prefix-tree, hbase-protocol, hbase-server, hbase-hadoop-compat ${pkgVersion} jar files.</description>
+
+    <properties>
+        <pkgGroupId>org.apache.hbase</pkgGroupId>
+        <pkgArtifactId>hbase</pkgArtifactId>
+        <pkgVersion>0.96.0-hadoop2</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.apache.hadoop.hbase
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            com.google.common*,
+            com.google.protobuf,
+            com.ibm.uvm.tools;resolution:=optional,
+            com.kenai.jnr.x86asm;resolution:=optional,
+            com.sun.jdmk.comm;resolution:=optional,
+            com.sun.jersey*;resolution:=optional,
+            com.sun.net.httpserver;resolution:=optional,
+            com.sun.org.apache.xalan.internal.res;resolution:=optional,
+            com.sun.org.apache.xml.internal.utils;resolution:=optional,
+            com.sun.org.apache.xpath.internal;resolution:=optional,
+            com.sun.org.apache.xpath.internal.jaxp;resolution:=optional,
+            com.sun.org.apache.xpath.internal.objects;resolution:=optional,
+            com.sun.xml.fastinfoset.sax;resolution:=optional,
+            com.sun.xml.fastinfoset.stax;resolution:=optional,
+            com.thoughtworks.paranamer,
+            com.yammer.metrics*;resolution:=optional,
+            javax.annotation,
+            javax.annotation.security,
+            javax.crypto,
+            javax.crypto.spec,
+            javax.ejb;resolution:=optional,
+            javax.enterprise.context;resolution:=optional,
+            javax.enterprise.context.spi;resolution:=optional,
+            javax.enterprise.event;resolution:=optional,
+            javax.enterprise.inject;resolution:=optional,
+            javax.enterprise.inject.spi;resolution:=optional,
+            javax.enterprise.util;resolution:=optional,
+            javax.imageio,
+            javax.imageio.spi,
+            javax.imageio.stream,
+            javax.inject,
+            javax.interceptor,
+            javax.jmdns,
+            javax.jms;resolution:=optional,
+            javax.management,
+            javax.naming,
+            javax.naming.directory,
+            javax.net,
+            javax.net.ssl,
+            javax.persistence;resolution:=optional,
+            javax.script,
+            javax.security*,
+            javax.security.cert,
+            javax.servlet*,
+            javax.sql;resolution:=optional,
+            javax.xml.bind*,
+            javax.xml.datatype,
+            javax.xml.namespace,
+            javax.xml.parsers,
+            javax.xml.transform,
+            javax.xml.transform.dom,
+            javax.xml.transform.sax,
+            javax.xml.transform.stream,
+            javax.xml.validation,
+            javax.xml.xpath,
+            javax.ws.rs*,
+            joptsimple,
+            org.apache.avalon.framework.logger;resolution:=optional,
+            org.apache.bsf,
+            org.apache.bsf.util,
+            org.apache.commons.cli;version="[1.2,2)";resolution:=optional,
+            org.apache.commons.codec*;version="[1.4,2)",
+            org.apache.commons.collections*,
+            org.apache.commons.httpclient*,
+            org.apache.commons.io*,
+            org.apache.commons.lang*;version="[2.5,3)",
+            org.apache.commons.logging*;resolution:=optional,
+            org.apache.hadoop*,
+            org.apache.jasper*;version="[5,7)",
+            org.apache.jute;resolution:=optional,
+            org.apache.log;resolution:=optional,
+            org.apache.log4j;resolution:=optional,
+            org.apache.oro.text.regex,
+            org.apache.thrift*;version="[0.8,1)",
+            org.apache.zookeeper*;version="[3.4,4)";resolution:=optional,
+            org.cliffc.high_scale_lib;resolution:=optional,
+            org.cloudera*;resolution:=optional,
+            org.codehaus.jackson*,
+            org.codehaus.jettison.json;version="[1.1,2)",
+            org.eclipse.core.resources;resolution:=optional,
+            org.eclipse.jface.text;resolution:=optional,
+            org.eclipse.osgi.util;resolution:=optional,
+            org.eclipse.text.edits;resolution:=optional,
+            org.jamon*;resolution:=optional,
+            org.jboss.netty*;resolution:=optional,
+            org.jets3t.service,
+            org.jets3t.service.impl.rest.httpclient,
+            org.jets3t.service.model,
+            org.jets3t.service.security,
+            org.jgrapht;resolution:=optional,
+            org.jgrapht.graph;resolution:=optional,
+            org.jvnet.fastinfoset;resolution:=optional,
+            org.jvnet.staxex;resolution:=optional,
+            org.kosmix.kosmosfs.access;resolution:=optional,
+            org.mortbay*;version="[6,8)";resolution:=optional,
+            org.osgi.framework,
+            org.osgi.service.prefs,
+            org.slf4j;resolution:=optional,
+            org.w3c.dom,
+            org.w3c.dom.bootstrap,
+            org.w3c.dom.ls,
+            org.w3c.dom.traversal,
+            org.xml.sax,
+            org.xml.sax.ext,
+            org.xml.sax.helpers,
+            sun.misc;resolution:=optional
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>hbase-common</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>hbase-client</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>hbase-prefix-tree</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>hbase-protocol</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>hbase-server</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>hbase-hadoop-compat</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>hbase-common</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+            <classifier>sources</classifier>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>hbase-client</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+            <classifier>sources</classifier>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>hbase-prefix-tree</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+            <classifier>sources</classifier>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>hbase-protocol</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+            <classifier>sources</classifier>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>hbase-server</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+            <classifier>sources</classifier>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>hbase-hadoop-compat</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+            <classifier>sources</classifier>
+        </dependency>
+
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>shade</goal>
+                        </goals>
+                        <configuration>
+                            <artifactSet>
+                                <includes>
+                                    <include>${pkgGroupId}:hbase-common</include>
+                                    <include>${pkgGroupId}:hbase-client</include>
+                                    <include>${pkgGroupId}:hbase-prefix-tree</include>
+                                    <include>${pkgGroupId}:hbase-protocol</include>
+                                    <include>${pkgGroupId}:hbase-server</include>
+                                    <include>${pkgGroupId}:hbase-hadoop-compat</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:hbase-common</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:hbase-client</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:hbase-prefix-tree</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:hbase-protocol</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:hbase-server</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:hbase-hadoop-compat</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                            </filters>
+                            <createDependencyReducedPom>true</createDependencyReducedPom>
+                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Added: servicemix/smx4/bundles/trunk/hbase-0.96.0-hadoop2/src/main/resources/OSGI-INF/bundle.info
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/hbase-0.96.0-hadoop2/src/main/resources/OSGI-INF/bundle.info?rev=1536203&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/hbase-0.96.0-hadoop2/src/main/resources/OSGI-INF/bundle.info (added)
+++ servicemix/smx4/bundles/trunk/hbase-0.96.0-hadoop2/src/main/resources/OSGI-INF/bundle.info Sun Oct 27 20:54:56 2013
@@ -0,0 +1,24 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    HBase is the Hadoop database. Think of it as a distributed, scalable, big data store.
+
+    The main features are:
+    * Linear and modular scalability.
+    * Strictly consistent reads and writes.
+    * Automatic and configurable sharding of tables
+    * Automatic failover support between RegionServers.
+    * Convenient base classes for backing Hadoop MapReduce jobs with HBase tables.
+    * Easy to use Java API for client access.
+    * Block cache and Bloom Filters for real-time queries.
+    * Query predicate push down via server side Filters
+    * Thrift gateway and a REST-ful Web service that supports XML, Protobuf, and binary data encoding options
+    * Extensible jruby-based (JIRB) shell
+    * Support for exporting metrics via the Hadoop metrics subsystem to files or Ganglia; or via JMX
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://hbase.apache.org/\u001B[0m

Modified: servicemix/smx4/bundles/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=1536203&r1=1536202&r2=1536203&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Sun Oct 27 20:54:56 2013
@@ -51,6 +51,7 @@
         <module>swagger-jaxrs-1.3.0</module>
         <module>postgresql-9.2-1003-jdbc4</module>
         <module>twitter4j-3.0.4</module>
+        <module>hbase-0.96.0-hadoop2</module>
     </modules>
 
 </project>