Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: AWS integration test #982

Merged
merged 11 commits into from
Oct 10, 2024
26 changes: 26 additions & 0 deletions java/.ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,32 @@ EOF
}
}
}
stage('S3 TO BigQuery (avro)'){
steps {
retry(count: stageRetryCount) {
withCredentials([usernamePassword(credentialsId: 'aws-s3-ro-credentials',
passwordVariable: 'S3_SECRET', usernameVariable: 'S3_KEY')]) {
sh '''
export SKIP_BUILD=true

cd java

bin/start.sh \
-- --template S3TOBIGQUERY \
--templateProperty project.id=yadavaja-sandbox \
rajc242 marked this conversation as resolved.
Show resolved Hide resolved
--templateProperty s3.bq.access.key=$S3_KEY \
--templateProperty s3.bq.secret.key=$S3_SECRET \
--templateProperty s3.bq.input.format=avro \
--templateProperty s3.bq.input.location=s3a://dataproc-templates-integration-tests/cities.avro \
--templateProperty s3.bq.output.dataset.name=dataproc_templates \
--templateProperty s3.bq.output.table.name=s3_to_bq_avro \
--templateProperty s3.bq.output.mode=Overwrite \
--templateProperty s3.bq.ld.temp.bucket.name=dataproc-templates
'''
}
}
}
}
}
}
stage('Parallel Execution 3'){
Expand Down
31 changes: 0 additions & 31 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,6 @@
<!-- Spark Snowflake Connector -->
<spark.snowflake.connector.version>3.0.0</spark.snowflake.connector.version>

<!-- Hadoop AWS Dependencies -->
<hadoop.aws.version>3.4.0</hadoop.aws.version>
<aws.java.sdk.version>1.12.772</aws.java.sdk.version>

<!-- HBase Dependencies -->
<hbase.spark.connector.version>1.0.1</hbase.spark.connector.version>
<hbase.client.version>2.6.0-hadoop3</hbase.client.version>
Expand Down Expand Up @@ -393,33 +389,6 @@
<version>${spark.snowflake.connector.version}</version>
</dependency>

<!-- Hadoop AWS Dependencies -->
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
<version>${hadoop.aws.version}</version>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-aws</artifactId>
<version>${hadoop.aws.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk</artifactId>
<version>${aws.java.sdk.version}</version>
</dependency>

<!-- HBase Dependencies -->
<dependency>
<groupId>org.apache.hbase.connectors.spark</groupId>
Expand Down
Loading