YARN-3956. Fix TestNodeManagerHardwareUtils fails on Mac (Varun Vasudev via wangda)
(cherry picked from commit 06e5dd2c84
)
Conflicts:
hadoop-yarn-project/CHANGES.txt
This commit is contained in:
parent
3576b0ac5e
commit
3800e25d6e
|
@ -604,6 +604,8 @@ Release 2.8.0 - UNRELEASED
|
||||||
YARN-3932. SchedulerApplicationAttempt#getResourceUsageReport and UserInfo
|
YARN-3932. SchedulerApplicationAttempt#getResourceUsageReport and UserInfo
|
||||||
should based on total-used-resources. (Bibin A Chundatt via wangda)
|
should based on total-used-resources. (Bibin A Chundatt via wangda)
|
||||||
|
|
||||||
|
YARN-3956. Fix TestNodeManagerHardwareUtils fails on Mac (Varun Vasudev via wangda)
|
||||||
|
|
||||||
Release 2.7.2 - UNRELEASED
|
Release 2.7.2 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -30,6 +30,11 @@ import org.mockito.Mockito;
|
||||||
public class TestNodeManagerHardwareUtils {
|
public class TestNodeManagerHardwareUtils {
|
||||||
|
|
||||||
static class TestResourceCalculatorPlugin extends ResourceCalculatorPlugin {
|
static class TestResourceCalculatorPlugin extends ResourceCalculatorPlugin {
|
||||||
|
|
||||||
|
TestResourceCalculatorPlugin() {
|
||||||
|
super(null);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public long getVirtualMemorySize() {
|
public long getVirtualMemorySize() {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue