From 56085203c43b8f2561bf3745910e03f8ac176a67 Mon Sep 17 00:00:00 2001 From: Ravi Prakash Date: Mon, 16 Mar 2015 16:17:58 -0700 Subject: [PATCH] YARN-3339. TestDockerContainerExecutor should pull a single image and not the entire centos repository. (Ravindra Kumar Naik via raviprak) --- hadoop-yarn-project/CHANGES.txt | 3 +++ .../yarn/server/nodemanager/TestDockerContainerExecutor.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index b8e07a0f99..cb6848019d 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -58,6 +58,9 @@ Release 2.8.0 - UNRELEASED OPTIMIZATIONS + YARN-3339. TestDockerContainerExecutor should pull a single image and not + the entire centos repository. (Ravindra Kumar Naik via raviprak) + BUG FIXES Release 2.7.0 - UNRELEASED diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestDockerContainerExecutor.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestDockerContainerExecutor.java index e43ac2eb67..ac025421e9 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestDockerContainerExecutor.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestDockerContainerExecutor.java @@ -78,7 +78,7 @@ public class TestDockerContainerExecutor { private int id = 0; private String appSubmitter; private String dockerUrl; - private String testImage = "centos"; + private String testImage = "centos:latest"; private String dockerExec; private String containerIdStr;