Skip to content

Commit

Permalink
Remove legacy Hive S3 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
electrum committed Dec 9, 2023
1 parent 8b3f8cf commit 6e7a847
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 361 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -306,22 +306,6 @@ jobs:
run: |
source plugin/trino-hive-hadoop2/conf/hive-tests-${{ matrix.config }}.sh &&
plugin/trino-hive-hadoop2/bin/run_hive_tests.sh
- name: Run Hive S3 Tests
env:
AWS_ACCESS_KEY_ID: ${{ secrets.TRINO_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.TRINO_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ vars.TRINO_AWS_REGION }}
S3_BUCKET: ${{ vars.TRINO_S3_BUCKET }}
S3_BUCKET_ENDPOINT: "https://s3.${{ vars.TRINO_AWS_REGION }}.amazonaws.com"
run: |
if [ "${AWS_ACCESS_KEY_ID}" != "" ]; then
source plugin/trino-hive-hadoop2/conf/hive-tests-${{ matrix.config }}.sh &&
plugin/trino-hive-hadoop2/bin/run_hive_s3_tests.sh
if [ matrix.config == 'config-hdp3' ]; then
# JsonSerde class needed for the S3 Select JSON tests is only available on hdp3.
plugin/trino-hive-hadoop2/bin/run_hive_s3_select_json_tests.sh
fi
fi
- name: Run Hive AWS Tests
env:
AWS_ACCESS_KEY_ID: ${{ secrets.TRINO_AWS_ACCESS_KEY_ID }}
Expand Down
75 changes: 0 additions & 75 deletions plugin/trino-hive-hadoop2/bin/run_hive_s3_tests.sh

This file was deleted.

8 changes: 0 additions & 8 deletions plugin/trino-hive-hadoop2/conf/files/hadoop-put.sh

This file was deleted.

17 changes: 0 additions & 17 deletions plugin/trino-hive-hadoop2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@
<configuration>
<excludes>
<exclude>**/TestHive.java</exclude>
<exclude>**/TestHiveThriftMetastoreWithS3.java</exclude>
</excludes>
</configuration>
</plugin>
Expand All @@ -254,21 +253,5 @@
</plugins>
</build>
</profile>
<profile>
<id>test-hive-hadoop2-s3</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/TestHiveThriftMetastoreWithS3.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

This file was deleted.

This file was deleted.

0 comments on commit 6e7a847

Please sign in to comment.