You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by ro...@apache.org on 2016/10/31 20:00:04 UTC
oozie git commit: OOZIE-2536 Hadoop's cleanup of local directory in
uber mode causing failures (satishsaley via rohini)
Repository: oozie
Updated Branches:
refs/heads/master 7e7bdc5be -> 72ee25896
OOZIE-2536 Hadoop's cleanup of local directory in uber mode causing failures (satishsaley via rohini)
Project: http://git-wip-us.apache.org/repos/asf/oozie/repo
Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/72ee2589
Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/72ee2589
Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/72ee2589
Branch: refs/heads/master
Commit: 72ee25896a5dd8c12fdbbda0f7e3d6857685ed23
Parents: 7e7bdc5
Author: Rohini Palaniswamy <ro...@apache.org>
Authored: Mon Oct 31 12:59:57 2016 -0700
Committer: Rohini Palaniswamy <ro...@apache.org>
Committed: Mon Oct 31 12:59:57 2016 -0700
----------------------------------------------------------------------
release-log.txt | 1 +
.../action/hadoop/OozieLauncherOutputCommitter.java | 14 ++++++++++++++
2 files changed, 15 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/oozie/blob/72ee2589/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index 77cc5ad..8cb548e 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -1,5 +1,6 @@
-- Oozie 4.4.0 release (trunk - unreleased)
+OOZIE-2536 Hadoop's cleanup of local directory in uber mode causing failures (satishsaley via rohini)
OOZIE-1986 Add FindBugs report to pre-commit build (andras.piros via rkanter)
OOZIE-2634 Queue dump command message is confusing when the queue is empty (andras.piros via rkanter)
http://git-wip-us.apache.org/repos/asf/oozie/blob/72ee2589/sharelib/oozie/src/main/java/org/apache/oozie/action/hadoop/OozieLauncherOutputCommitter.java
----------------------------------------------------------------------
diff --git a/sharelib/oozie/src/main/java/org/apache/oozie/action/hadoop/OozieLauncherOutputCommitter.java b/sharelib/oozie/src/main/java/org/apache/oozie/action/hadoop/OozieLauncherOutputCommitter.java
index 153019b..84c09bb 100644
--- a/sharelib/oozie/src/main/java/org/apache/oozie/action/hadoop/OozieLauncherOutputCommitter.java
+++ b/sharelib/oozie/src/main/java/org/apache/oozie/action/hadoop/OozieLauncherOutputCommitter.java
@@ -19,6 +19,7 @@
package org.apache.oozie.action.hadoop;
+import java.io.File;
import java.io.IOException;
import org.apache.hadoop.mapred.JobContext;
@@ -27,6 +28,19 @@ import org.apache.hadoop.mapred.TaskAttemptContext;
public class OozieLauncherOutputCommitter extends OutputCommitter {
+ public OozieLauncherOutputCommitter() {
+ File propConf = new File(LauncherMapper.PROPAGATION_CONF_XML);
+ if (!propConf.exists()) {
+ try {
+ propConf.createNewFile();
+ }
+ catch (IOException e) {
+ System.out.println("Failed to create " + LauncherMapper.PROPAGATION_CONF_XML);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+
@Override
public void setupJob(JobContext jobContext) throws IOException {
}