Skip to content

Commit

Permalink
Hive: Rename iceberg-hive to iceberg-hive-metastore (apache#1418)
Browse files Browse the repository at this point in the history
  • Loading branch information
massdosage authored Sep 3, 2020
1 parent d98224a commit 079b84d
Show file tree
Hide file tree
Showing 21 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Iceberg table support is organized in library modules:
* `iceberg-parquet` is an optional module for working with tables backed by Parquet files
* `iceberg-arrow` is an optional module for reading Parquet into Arrow memory
* `iceberg-orc` is an optional module for working with tables backed by ORC files
* `iceberg-hive` is an implementation of iceberg tables backed by hive metastore thrift client
* `iceberg-hive-metastore` is an implementation of Iceberg tables backed by the Hive metastore Thrift client
* `iceberg-data` is an optional module for working with tables directly from JVM applications

This project Iceberg also has modules for adding Iceberg support to processing engines:
Expand Down
22 changes: 11 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ project(':iceberg-flink') {
compile project(':iceberg-data')
compile project(':iceberg-orc')
compile project(':iceberg-parquet')
compile project(':iceberg-hive')
compile project(':iceberg-hive-metastore')

compileOnly "org.apache.flink:flink-streaming-java_2.12"
compileOnly "org.apache.flink:flink-streaming-java_2.12::tests"
Expand All @@ -261,7 +261,7 @@ project(':iceberg-flink') {
exclude group: "org.apache.curator", module: 'curator-test'
}

testCompile project(path: ':iceberg-hive', configuration: 'testArtifacts')
testCompile project(path: ':iceberg-hive-metastore', configuration: 'testArtifacts')
testCompile project(path: ':iceberg-api', configuration: 'testArtifacts')
testCompile project(path: ':iceberg-data', configuration: 'testArtifacts')

Expand Down Expand Up @@ -299,7 +299,7 @@ project(':iceberg-flink') {
}
}

project(':iceberg-hive') {
project(':iceberg-hive-metastore') {
dependencies {
compile project(':iceberg-core')

Expand Down Expand Up @@ -373,7 +373,7 @@ project(':iceberg-mr') {
compile project(':iceberg-api')
compile project(':iceberg-core')
compile project(':iceberg-data')
compile project(':iceberg-hive')
compile project(':iceberg-hive-metastore')
compile project(':iceberg-orc')
compile project(':iceberg-parquet')

Expand All @@ -398,7 +398,7 @@ project(':iceberg-mr') {
testCompile project(path: ':iceberg-data', configuration: 'testArtifacts')
testCompile project(path: ':iceberg-api', configuration: 'testArtifacts')
testCompile project(path: ':iceberg-core', configuration: 'testArtifacts')
testCompile project(path: ':iceberg-hive', configuration: 'testArtifacts')
testCompile project(path: ':iceberg-hive-metastore', configuration: 'testArtifacts')

testCompile("org.apache.avro:avro:1.9.2")
testCompile("org.apache.calcite:calcite-core")
Expand Down Expand Up @@ -549,7 +549,7 @@ project(':iceberg-spark') {
compile project(':iceberg-orc')
compile project(':iceberg-parquet')
compile project(':iceberg-arrow')
compile project(':iceberg-hive')
compile project(':iceberg-hive-metastore')
compile project(':iceberg-arrow')

compileOnly "org.apache.avro:avro"
Expand All @@ -562,7 +562,7 @@ project(':iceberg-spark') {
testCompile("org.apache.hadoop:hadoop-minicluster") {
exclude group: 'org.apache.avro', module: 'avro'
}
testCompile project(path: ':iceberg-hive', configuration: 'testArtifacts')
testCompile project(path: ':iceberg-hive-metastore', configuration: 'testArtifacts')
testCompile project(path: ':iceberg-api', configuration: 'testArtifacts')
testCompile project(path: ':iceberg-data', configuration: 'testArtifacts')
}
Expand Down Expand Up @@ -603,7 +603,7 @@ if (jdkVersion == '8') {
compile project(':iceberg-orc')
compile project(':iceberg-parquet')
compile project(':iceberg-arrow')
compile project(':iceberg-hive')
compile project(':iceberg-hive-metastore')
compile project(':iceberg-spark')

compileOnly "org.apache.avro:avro"
Expand All @@ -618,7 +618,7 @@ if (jdkVersion == '8') {
testCompile("org.apache.hadoop:hadoop-minicluster") {
exclude group: 'org.apache.avro', module: 'avro'
}
testCompile project(path: ':iceberg-hive', configuration: 'testArtifacts')
testCompile project(path: ':iceberg-hive-metastore', configuration: 'testArtifacts')
testCompile project(path: ':iceberg-api', configuration: 'testArtifacts')
}

Expand Down Expand Up @@ -709,7 +709,7 @@ project(':iceberg-spark3') {
compile project(':iceberg-orc')
compile project(':iceberg-parquet')
compile project(':iceberg-arrow')
compile project(':iceberg-hive')
compile project(':iceberg-hive-metastore')
compile project(':iceberg-spark')

compileOnly "org.apache.avro:avro"
Expand All @@ -725,7 +725,7 @@ project(':iceberg-spark3') {
testCompile("org.apache.hadoop:hadoop-minicluster") {
exclude group: 'org.apache.avro', module: 'avro'
}
testCompile project(path: ':iceberg-hive', configuration: 'testArtifacts')
testCompile project(path: ':iceberg-hive-metastore', configuration: 'testArtifacts')
testCompile project(path: ':iceberg-api', configuration: 'testArtifacts')
}

Expand Down
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ include 'spark'
include 'spark3'
include 'spark3-runtime'
include 'pig'
include 'hive'
include 'hive-metastore'

project(':api').name = 'iceberg-api'
project(':common').name = 'iceberg-common'
Expand All @@ -50,7 +50,7 @@ project(':spark').name = 'iceberg-spark'
project(':spark3').name = 'iceberg-spark3'
project(':spark3-runtime').name = 'iceberg-spark3-runtime'
project(':pig').name = 'iceberg-pig'
project(':hive').name = 'iceberg-hive'
project(':hive-metastore').name = 'iceberg-hive-metastore'

if (JavaVersion.current() == JavaVersion.VERSION_1_8) {
include 'spark2'
Expand Down
2 changes: 1 addition & 1 deletion site/docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Iceberg table support is organized in library modules:
* `iceberg-core` contains implementations of the Iceberg API and support for Avro data files, **this is what processing engines should depend on**
* `iceberg-parquet` is an optional module for working with tables backed by Parquet files
* `iceberg-orc` is an optional module for working with tables backed by ORC files (*experimental*)
* `iceberg-hive` is an implementation of iceberg tables backed by hive metastore thrift client
* `iceberg-hive-metastore` is an implementation of Iceberg tables backed by the Hive metastore Thrift client

This project Iceberg also has modules for adding Iceberg support to processing engines:

Expand Down

0 comments on commit 079b84d

Please sign in to comment.