提交 d50e8bff 编写于 作者: R Robert Metzger

[hotfix] Fix loading of wrong TaskManager class

上级 226e9058
......@@ -868,7 +868,7 @@ object TaskManager {
" - Leave config parameter empty or use 0 to let the system choose a port automatically.")
}
runTaskManager(taskManagerHostname, actorSystemPort, configuration, classOf[TaskManager])
runTaskManager(taskManagerHostname, actorSystemPort, configuration, taskManagerClass)
}
/**
......
......@@ -52,7 +52,7 @@ public class Utils {
private static final Logger LOG = LoggerFactory.getLogger(Utils.class);
private static final int DEFAULT_HEAP_LIMIT_CAP = 500;
private static final int DEFAULT_HEAP_LIMIT_CAP = 700;
private static final float DEFAULT_YARN_HEAP_CUTOFF_RATIO = 0.8f;
/**
......
......@@ -27,6 +27,6 @@ public class UtilsTests {
// ASSUMES DEFAULT Configuration values.
Assert.assertEquals(800, Utils.calculateHeapSize(1000) );
Assert.assertEquals(9500, Utils.calculateHeapSize(10000) );
Assert.assertEquals(9300, Utils.calculateHeapSize(10000) );
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册