Skip to content

Commit

Permalink
Upgrade docker-images to version 50
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo authored and findepi committed Oct 19, 2021
1 parent 598c2f8 commit ff6a25e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<dep.confluent.version>5.5.2</dep.confluent.version>
<dep.parquet.version>1.11.1</dep.parquet.version>

<dep.docker.images.version>49</dep.docker.images.version>
<dep.docker.images.version>50</dep.docker.images.version>

<!--
America/Bahia_Banderas has:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
*/
package io.trino.tests.product.launcher.env.configs;

import io.trino.tests.product.launcher.env.Environment;

import static com.google.common.base.Preconditions.checkState;
import static io.trino.tests.product.launcher.env.EnvironmentContainers.HADOOP;

public class ConfigApacheHive3
extends ConfigDefault
{
Expand All @@ -32,15 +27,4 @@ public String getTemptoEnvironmentConfigFile()
{
return "/docker/presto-product-tests/conf/tempto/tempto-configuration-for-hive3.yaml,/docker/presto-product-tests/conf/tempto/tempto-configuration-for-hms-only.yaml";
}

@Override
public void extendEnvironment(Environment.Builder builder)
{
// TODO: Remove when https://github.com/trinodb/docker-images/pull/115 is merged and released
checkState(getImagesVersion().equals("49"), "Override is unnecessary when version is moved beyond 49");

builder.configureContainer(HADOOP, container -> {
container.withEnv("JAVA_HOME", "/usr/lib/jvm/zulu-8");
});
}
}

0 comments on commit ff6a25e

Please sign in to comment.