-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create it/iceberg and first hive load test
- Loading branch information
1 parent
607fd43
commit 8693e5b
Showing
11 changed files
with
840 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
/* | ||
* 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. | ||
*/ | ||
import org.apache.beam.gradle.IoPerformanceTestUtilities | ||
|
||
plugins { id 'org.apache.beam.module' } | ||
applyJavaNature( | ||
automaticModuleName: 'org.apache.beam.it.iceberg', | ||
exportJavadoc: false, | ||
) | ||
|
||
description = "Apache Beam :: IT :: Iceberg" | ||
ext.summary = "Integration test utilities for Iceberg." | ||
|
||
dependencies { | ||
implementation library.java.testcontainers_base | ||
implementation project(path: ":it:testcontainers") | ||
implementation library.java.testcontainers_kafka | ||
implementation library.java.kafka_clients | ||
|
||
|
||
implementation library.java.slf4j_api | ||
implementation library.java.vendored_guava_32_1_2_jre | ||
implementation project(path: ":it:common") | ||
testImplementation project(path: ":it:google-cloud-platform") | ||
testImplementation project(path: ":sdks:java:io:synthetic") | ||
testImplementation project(path: ":sdks:java:managed") | ||
|
||
testImplementation project(path: ":sdks:java:io:iceberg") | ||
testRuntimeOnly project(path: ":sdks:java:io:iceberg:bqms", configuration: "shadow") | ||
testImplementation project(path: ":sdks:java:io:iceberg:hive:testing") | ||
testRuntimeOnly library.java.hadoop_auth | ||
testRuntimeOnly library.java.hadoop_client | ||
testRuntimeOnly library.java.bigdataoss_gcs_connector | ||
|
||
testImplementation project(path: ":runners:direct-java") | ||
testImplementation project(path: ":runners:google-cloud-dataflow-java") | ||
testImplementation project(path: ":sdks:java:testing:test-utils") | ||
testImplementation project(path: ":sdks:java:extensions:google-cloud-platform-core", configuration: "testRuntimeMigration") | ||
testImplementation library.java.google_api_services_dataflow | ||
} | ||
|
||
tasks.register( | ||
"IcebergHiveLoadTestMedium", IoPerformanceTestUtilities.IoPerformanceTest, project, 'iceberg', 'IcebergIOHiveST', | ||
['configuration':'medium','project':'apache-beam-testing', 'artifactBucket':'io-performance-temp'] | ||
+ System.properties | ||
) | ||
|
||
//tasks.register( | ||
// "IcebergBQMSLoadTestMedium", IoPerformanceTestUtilities.IoPerformanceTest, project, 'iceberg', 'IcebergBigQueryMetastoreLT', | ||
// ['configuration':'medium','project':'apache-beam-testing', 'artifactBucket':'io-performance-temp'] | ||
// + System.properties | ||
//) | ||
// | ||
//tasks.register( | ||
// "IcebergHiveLoadTestLarge", IoPerformanceTestUtilities.IoPerformanceTest, project, 'iceberg', 'IcebergHiveLT', | ||
// ['configuration':'large','project':'apache-beam-testing', 'artifactBucket':'io-performance-temp'] | ||
// + System.properties | ||
//) | ||
// | ||
//tasks.register( | ||
// "IcebergBQMSLoadTestLarge", IoPerformanceTestUtilities.IoPerformanceTest, project, 'iceberg', 'IcebergBigQueryMetastoreLT', | ||
// ['configuration':'large','project':'apache-beam-testing', 'artifactBucket':'io-performance-temp'] | ||
// + System.properties | ||
//) | ||
|
24 changes: 24 additions & 0 deletions
24
it/iceberg/src/main/java/org/apache/beam/it/iceberg/Main.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
* 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. | ||
*/ | ||
package org.apache.beam.it.iceberg; | ||
|
||
public class Main { | ||
public static void main(String[] args) { | ||
System.out.println("Hello world!"); | ||
} | ||
} |
Oops, something went wrong.