You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 05:28:22 UTC
svn commit: r1131602 - /incubator/mesos/trunk/src/launcher.cpp
Author: benh
Date: Sun Jun 5 03:28:22 2011
New Revision: 1131602
URL: http://svn.apache.org/viewvc?rev=1131602&view=rev
Log:
If no HADOOP in environment, just use 'hadoop'.
Modified:
incubator/mesos/trunk/src/launcher.cpp
Modified: incubator/mesos/trunk/src/launcher.cpp
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/launcher.cpp?rev=1131602&r1=1131601&r2=1131602&view=diff
==============================================================================
--- incubator/mesos/trunk/src/launcher.cpp (original)
+++ incubator/mesos/trunk/src/launcher.cpp Sun Jun 5 03:28:22 2011
@@ -113,8 +113,9 @@ string ExecutorLauncher::fetchExecutor()
const char *hadoop = getenv("HADOOP");
if (!hadoop) {
- fatal("Cannot download executor from HDFS because the "
- "HADOOP environment variable is not set");
+ hadoop = "hadoop";
+// fatal("Cannot download executor from HDFS because the "
+// "HADOOP environment variable is not set");
}
string localFile = string("./") + basename((char *) executor.c_str());