MAPREDUCE-3770. Zombie.getJobConf() results into NPE. (amarrk)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1241845 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
647f374607
commit
e5060d3bbb
@ -51,6 +51,8 @@ Trunk (unreleased changes)
|
|||||||
MAPREDUCE-2944. Improve checking of input for JobClient.displayTasks() (XieXianshan via harsh)
|
MAPREDUCE-2944. Improve checking of input for JobClient.displayTasks() (XieXianshan via harsh)
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
MAPREDUCE-3770. Zombie.getJobConf() results into NPE. (amarrk)
|
||||||
|
|
||||||
MAPREDUCE-3804. yarn webapp interface vulnerable to cross scripting attacks
|
MAPREDUCE-3804. yarn webapp interface vulnerable to cross scripting attacks
|
||||||
(Dave Thompson via bobby)
|
(Dave Thompson via bobby)
|
||||||
|
|
||||||
|
@ -229,7 +229,7 @@ public InputSplit[] getInputSplits() {
|
|||||||
@Override
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
JobName jobName = job.getJobName();
|
JobName jobName = job.getJobName();
|
||||||
if (jobName == null) {
|
if (jobName == null || jobName.getValue() == null) {
|
||||||
return "(name unknown)";
|
return "(name unknown)";
|
||||||
} else {
|
} else {
|
||||||
return jobName.getValue();
|
return jobName.getValue();
|
||||||
|
Loading…
Reference in New Issue
Block a user