Skip to content

Commit

Permalink
Revert "TEZ-2840. MRInputLegacy.init should set splitInfoViaEvents. (…
Browse files Browse the repository at this point in the history
…Sergey Shelukhin via hitesh)"

This reverts commit 6af43ce.

Conflicts:
	CHANGES.txt
  • Loading branch information
sidseth committed Sep 18, 2015
1 parent 6930e4b commit 7ed7025
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ ALL CHANGES:
TEZ-2812. Preemption sometimes does not respect heartbeats between preemptions
TEZ-814. Improve heuristic for determining a task has failed outputs
TEZ-2832. Support tests for both SimpleHistory logging and ATS logging
TEZ-2840. MRInputLegacy.init should set splitInfoViaEvents.
TEZ-2827. Increase timeout for TestFetcher testInputAttemptIdentifierMap
TEZ-2774. Improvements and cleanup of logging for the AM and parts of the runtme.
TEZ-2825. Report progress in terms of completed tasks to reduce load on AM for Tez UI
Expand Down Expand Up @@ -189,7 +188,6 @@ ALL CHANGES:
TEZ-2097. TEZ-UI Add dag logs backend support
TEZ-2812. Preemption sometimes does not respect heartbeats between preemptions
TEZ-814. Improve heuristic for determining a task has failed outputs
TEZ-2840. MRInputLegacy.init should set splitInfoViaEvents.
TEZ-2829. Tez UI: minor fixes to in-progress update of UI from AM
TEZ-2663. SessionNotRunning exceptions are wrapped in a ServiceException from a dying AM.
TEZ-2825. Report progress in terms of completed tasks to reduce load on AM for Tez UI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,10 @@ public MRInput(InputContext inputContext, int numPhysicalInputs) {
public List<Event> initialize() throws IOException {
super.initialize();
getContext().inputIsReady();
this.splitInfoViaEvents = jobConf.getBoolean(MRJobConfig.MR_TEZ_SPLITS_VIA_EVENTS,
MRJobConfig.MR_TEZ_SPLITS_VIA_EVENTS_DEFAULT);
LOG.info("Using New mapreduce API: " + useNewApi
+ ", split information via event: " + splitInfoViaEvents);
initializeInternal();
return null;
}
Expand All @@ -448,10 +452,6 @@ public void start() {

@Private
void initializeInternal() throws IOException {
this.splitInfoViaEvents = jobConf.getBoolean(MRJobConfig.MR_TEZ_SPLITS_VIA_EVENTS,
MRJobConfig.MR_TEZ_SPLITS_VIA_EVENTS_DEFAULT);
LOG.info("Using New mapreduce API: " + useNewApi
+ ", split information via event: " + splitInfoViaEvents);
// Primarily for visibility
rrLock.lock();
try {
Expand Down

0 comments on commit 7ed7025

Please sign in to comment.