Skip to content
Permalink
Browse files

[#1066] Fix issues with reading from the Accumulo Store. (#1145)

fixes #1066
  • Loading branch information...
p-f authored and galpha committed Feb 20, 2019
1 parent f113b24 commit f602c62053de78aa960ad5de6c5b0231a3582905
@@ -0,0 +1,17 @@
// ------------------------------------------------------------------
// NOTICE file corresponding to the section 4d of The Apache License,
// Version 2.0, in this case for Gradoop
// ------------------------------------------------------------------

gradoop-accumulo
Copyright 2014-2019 Leipzig University (Database Research Group)

This project bundles the following dependencies under the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)

- org.objenesis:objenesis:2.5.1

This project bundles the following dependencies under the BSD license.
See bundled license files for details.

- com.esotericsoftware:kryo:4.0.2
- com.esotericsoftware:minlog:1.3.0
@@ -105,12 +105,13 @@
</includes>
</configuration>
</plugin>
<!-- Creates an gradoop-accumulo-iterator.jar for tserver dependency -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<!-- Creates an gradoop-accumulo-iterator.jar for tserver dependency -->
<execution>
<id>create-iterator-jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
@@ -126,8 +127,54 @@
<include>com.esotericsoftware.kryo:*</include>
<include>org.apache.flink:flink-core</include>
<include>org.apache.hbase:hbase-common</include>
<include>org.objenesis:objenesis</include>
</includes>
</artifactSet>
<relocations>
<!-- Relocate Kryo and it's dependencies since Flink uses a
different version of kryo. -->
<relocation>
<pattern>com.esotericsoftware</pattern>
<shadedPattern>org.gradoop.thirdparty.com.esotericsoftware</shadedPattern>
</relocation>
<relocation>
<pattern>org.objenesis</pattern>
<shadedPattern>org.gradoop.thirdparty.org.objenesis</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
<execution>
<!-- Apply relocations to the release JAR too. -->
<id>shade-jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>${project.groupId}:${project.artifactId}</include>
<!-- We need to include Kryo in this JAR too, since references
to classes are changed with the relocation uses. -->
<include>com.esotericsoftware.minlog:*</include>
<include>com.esotericsoftware.kryo:*</include>
<include>org.objenesis:objenesis</include>
</includes>
</artifactSet>
<relocations>
<!-- Use the same relocations as the iterator jar. -->
<relocation>
<pattern>com.esotericsoftware</pattern>
<shadedPattern>org.gradoop.thirdparty.com.esotericsoftware</shadedPattern>
</relocation>
<relocation>
<pattern>org.objenesis</pattern>
<shadedPattern>org.gradoop.thirdparty.org.objenesis</shadedPattern>
</relocation>
</relocations>
<shadedArtifactAttached>false</shadedArtifactAttached>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</execution>
</executions>
@@ -160,7 +207,7 @@
<!-- Kryo for object serialization -->
<dependency>
<groupId>com.esotericsoftware</groupId>
<artifactId>kryo-shaded</artifactId>
<artifactId>kryo</artifactId>
</dependency>

<!-- Test dependencies -->
@@ -0,0 +1,10 @@
gradoop-accumulo
Copyright 2014-2019 Leipzig University (Database Research Group)

This project bundles the following dependencies under the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
- org.objenesis:objenesis:2.5.1

This project bundles the following dependencies under the BSD license.

- com.esotericsoftware:kryo:4.0.2
- com.esotericsoftware:minlog:1.3.0
@@ -0,0 +1,10 @@
Copyright (c) 2008-2018, Nathan Sweet
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of Esoteric Software nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,10 @@
Copyright (c) 2008, Nathan Sweet
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of Esoteric Software nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -615,7 +615,7 @@
<!-- Kryo -->
<dependency>
<groupId>com.esotericsoftware</groupId>
<artifactId>kryo-shaded</artifactId>
<artifactId>kryo</artifactId>
<version>${dep.kryo.version}</version>
</dependency>

0 comments on commit f602c62

Please sign in to comment.
You can’t perform that action at this time.