Skip to content

Commit

Permalink
Update iceberg-spark-runtime LICENSE and NOTICE (apache#966)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdblue authored Apr 27, 2020
1 parent 0f7a082 commit e0288e4
Show file tree
Hide file tree
Showing 4 changed files with 535 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

package org.apache.iceberg.arrow.vectorized;

import javax.annotation.Nullable;
import org.apache.arrow.vector.FieldVector;
import org.apache.parquet.column.ColumnDescriptor;
import org.apache.parquet.column.Dictionary;
Expand All @@ -33,7 +32,6 @@ public class VectorHolder {
private final FieldVector vector;
private final boolean isDictionaryEncoded;

@Nullable
private final Dictionary dictionary;
private final NullabilityHolder nullabilityHolder;

Expand Down
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,11 @@ project(':iceberg-arrow') {
compile("org.apache.arrow:arrow-vector") {
exclude group: 'io.netty', module: 'netty-buffer'
exclude group: 'io.netty', module: 'netty-common'
exclude group: 'com.google.code.findbugs', module: 'jsr305'
}
compile("org.apache.arrow:arrow-memory") {
exclude group: 'io.netty', module: 'netty-common'
exclude group: 'com.google.code.findbugs', module: 'jsr305'
}
}
}
Expand Down Expand Up @@ -396,6 +398,7 @@ project(':iceberg-spark-runtime') {
exclude group: 'commons-codec'
exclude group: 'org.xerial.snappy'
exclude group: 'javax.xml.bind'
exclude group: 'javax.annotation'
}
}

Expand All @@ -413,6 +416,7 @@ project(':iceberg-spark-runtime') {
from(projectDir) {
include 'LICENSE'
include 'NOTICE'
include 'DISCLAIMER'
}

// Relocate dependencies to avoid conflicts
Expand All @@ -432,6 +436,7 @@ project(':iceberg-spark-runtime') {
// relocate Arrow and related deps to shade Iceberg specific version
relocate 'io.netty.buffer', 'org.apache.iceberg.shaded.io.netty.buffer'
relocate 'org.apache.arrow', 'org.apache.iceberg.shaded.org.apache.arrow'
relocate 'com.carrotsearch', 'org.apache.iceberg.shaded.com.carrotsearch'

archiveName = "iceberg-spark-runtime-${version}.${extension}"
}
Expand Down
115 changes: 115 additions & 0 deletions spark-runtime/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,57 @@ License: http://www.apache.org/licenses/LICENSE-2.0

--------------------------------------------------------------------------------

This binary artifact contains Apache Hive's storage API via ORC.

Copyright: 2013-2019 The Apache Software Foundation.
Home page: https://hive.apache.org/
License: http://www.apache.org/licenses/LICENSE-2.0

--------------------------------------------------------------------------------

This binary artifact contains Google protobuf via ORC.

Copyright: 2008 Google Inc.
Home page: https://developers.google.com/protocol-buffers
License: https://github.com/protocolbuffers/protobuf/blob/master/LICENSE (BSD)

License text:

| Copyright 2008 Google Inc. 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 Google Inc. 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
| OWNER 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.
|
| Code generated by the Protocol Buffer compiler is owned by the owner
| of the input file used when generating it. This code is not
| standalone and requires a support library to be linked with it. This
| support library is itself covered by the above license.

--------------------------------------------------------------------------------

This binary artifact contains Airlift Aircompressor.

Copyright: 2011-2019 Aircompressor authors.
Expand All @@ -304,6 +355,22 @@ License: http://www.apache.org/licenses/LICENSE-2.0

--------------------------------------------------------------------------------

This binary artifact contains Airlift Slice.

Copyright: 2013-2019 Slice authors.
Home page: https://github.com/airlift/slice
License: http://www.apache.org/licenses/LICENSE-2.0

--------------------------------------------------------------------------------

This binary artifact contains JetBrains annotations.

Copyright: 2000-2020 JetBrains s.r.o.
Home page: https://github.com/JetBrains/java-annotations
License: http://www.apache.org/licenses/LICENSE-2.0

--------------------------------------------------------------------------------

This binary artifact contains code from Cloudera Kite.

Copyright: 2013-2017 Cloudera Inc.
Expand Down Expand Up @@ -426,3 +493,51 @@ Copyright: 2014-2019 Ben Manes and contributors
Home page: https://github.com/ben-manes/caffeine
License: http://www.apache.org/licenses/LICENSE-2.0

--------------------------------------------------------------------------------

This binary artifact contains Apache Arrow.

Copyright: 2016-2019 The Apache Software Foundation.
Home page: https://arrow.apache.org/
License: http://www.apache.org/licenses/LICENSE-2.0

--------------------------------------------------------------------------------

This binary artifact contains Netty's buffer library.

Copyright: 2014-2020 The Netty Project
Home page: https://netty.io/
License: http://www.apache.org/licenses/LICENSE-2.0

--------------------------------------------------------------------------------

This binary artifact contains Google FlatBuffers.

Copyright: 2013-2020 Google Inc.
Home page: https://google.github.io/flatbuffers/
License: http://www.apache.org/licenses/LICENSE-2.0

--------------------------------------------------------------------------------

This binary artifact contains Carrot Search Labs HPPC.

Copyright: 2002-2019 Carrot Search s.c.
Home page: http://labs.carrotsearch.com/hppc.html
License: http://www.apache.org/licenses/LICENSE-2.0

--------------------------------------------------------------------------------

This binary artifact contains code from Apache Lucene via Carrot Search HPPC.

Copyright: 2011-2020 The Apache Software Foundation.
Home page: https://lucene.apache.org/
License: http://www.apache.org/licenses/LICENSE-2.0

--------------------------------------------------------------------------------

This binary artifact contains Apache Yetus audience annotations.

Copyright: 2008-2020 The Apache Software Foundation.
Home page: https://yetus.apache.org/
License: http://www.apache.org/licenses/LICENSE-2.0

Loading

0 comments on commit e0288e4

Please sign in to comment.