Skip to content

Commit

Permalink
bump up hadoop version to 2.10.0 (#483)
Browse files Browse the repository at this point in the history
* bumm up hadoop version to 2.10.0 and updated a test expected result as the docker runtime classes available in this version

* bump up tony version to 0.4.0

Co-authored-by: Arup De <[email protected]>
  • Loading branch information
arde171 and Arup De authored Nov 11, 2020
1 parent d0904fd commit a45ff8c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ nexusStaging {
}


def hadoopVersion = "2.7.3"
def hadoopVersion = "2.10.0"
ext.playVersion = "2.6.20"
ext.scalaVersionFull = System.getProperty("scala.binary.version", "2.11.12")
ext.scalaVersion = scalaVersionFull
Expand Down Expand Up @@ -92,7 +92,7 @@ ext.deps = [

allprojects {
group = "com.linkedin.tony"
project.version = "0.3.35"
project.version = "0.4.0"
}

task sourcesJar(type: Jar) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,10 @@ public void testGetContainerEnvForDocker() {
when(conf.get(TonyConfigurationKeys
.getDockerImageKey("tony.worker.gpus"))).thenReturn("foo");
assertEquals(Utils.getContainerEnvForDocker(conf, "tony.worker.gpus"),
new HashMap<>());
new HashMap<String, String>() {{
put("YARN_CONTAINER_RUNTIME_TYPE", "docker");
put("YARN_CONTAINER_RUNTIME_DOCKER_IMAGE", "foo");
}});
}

@Test
Expand Down

0 comments on commit a45ff8c

Please sign in to comment.