You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hama.apache.org by ed...@apache.org on 2013/09/27 09:40:12 UTC

svn commit: r1526815 - /hama/trunk/core/src/main/java/org/apache/hama/pipes/PipesApplication.java

Author: edwardyoon
Date: Fri Sep 27 07:40:11 2013
New Revision: 1526815

URL: http://svn.apache.org/r1526815
Log:
Add trace code for debug.

Modified:
    hama/trunk/core/src/main/java/org/apache/hama/pipes/PipesApplication.java

Modified: hama/trunk/core/src/main/java/org/apache/hama/pipes/PipesApplication.java
URL: http://svn.apache.org/viewvc/hama/trunk/core/src/main/java/org/apache/hama/pipes/PipesApplication.java?rev=1526815&r1=1526814&r2=1526815&view=diff
==============================================================================
--- hama/trunk/core/src/main/java/org/apache/hama/pipes/PipesApplication.java (original)
+++ hama/trunk/core/src/main/java/org/apache/hama/pipes/PipesApplication.java Fri Sep 27 07:40:11 2013
@@ -119,6 +119,9 @@ public class PipesApplication<K1 extends
         executable = DistributedCache.getLocalCacheFiles(conf)[0].toString();
 
         LOG.debug("DEBUG: executable: " + executable);
+      } else {
+        LOG.debug("DEBUG: DistributedCache.getLocalCacheFiles(conf) returns null.");
+        throw new IOException("Executable is missing!");
       }
     } catch (Exception e) {
       LOG.error("Executable: " + executable + " fs.default.name: "