You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by wa...@apache.org on 2016/08/09 22:33:55 UTC
[13/50] [abbrv] hadoop git commit: HADOOP-13457. Remove hardcoded
absolute path for shell executable. (Chen Liang)
HADOOP-13457. Remove hardcoded absolute path for shell executable. (Chen Liang)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/58e1523c
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/58e1523c
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/58e1523c
Branch: refs/heads/YARN-3368
Commit: 58e1523c8ea1363ea8ab115fb718227a90bfab87
Parents: 2ed58c4
Author: Arpit Agarwal <ar...@apache.org>
Authored: Mon Aug 8 12:29:24 2016 -0700
Committer: Arpit Agarwal <ar...@apache.org>
Committed: Mon Aug 8 12:36:27 2016 -0700
----------------------------------------------------------------------
.../hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/58e1523c/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java
index 7149268..78f77c2 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java
@@ -371,7 +371,7 @@ public abstract class Shell {
String absolutePath = script.getAbsolutePath();
return WINDOWS ?
new String[] {"cmd", "/c", absolutePath }
- : new String[] {"/bin/bash", bashQuote(absolutePath) };
+ : new String[] {"bash", bashQuote(absolutePath) };
}
/** a Unix command to set permission: {@value}. */
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org