hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r1673984 - in /hama/trunk: graph/src/main/java/org/apache/hama/graph/GraphJobRunner.java pom.xml
Date Thu, 16 Apr 2015 01:07:21 GMT
Author: edwardyoon
Date: Thu Apr 16 01:07:20 2015
New Revision: 1673984

URL: http://svn.apache.org/r1673984
Log:
HAMA-950: Fail the build on hadoop1 profile 

Modified:
    hama/trunk/graph/src/main/java/org/apache/hama/graph/GraphJobRunner.java
    hama/trunk/pom.xml

Modified: hama/trunk/graph/src/main/java/org/apache/hama/graph/GraphJobRunner.java
URL: http://svn.apache.org/viewvc/hama/trunk/graph/src/main/java/org/apache/hama/graph/GraphJobRunner.java?rev=1673984&r1=1673983&r2=1673984&view=diff
==============================================================================
--- hama/trunk/graph/src/main/java/org/apache/hama/graph/GraphJobRunner.java (original)
+++ hama/trunk/graph/src/main/java/org/apache/hama/graph/GraphJobRunner.java Thu Apr 16 01:07:20
2015
@@ -308,8 +308,11 @@ public final class GraphJobRunner<V exte
     public void run() {
       try {
         // call once at initial superstep
-        vertex.setup(conf);
+        if(iteration == 0)
+          vertex.setup(conf);
 
+        System.out.println(msgs + ", " + vertex);
+        
         vertex.compute(msgs);
         vertices.finishVertexComputation(vertex);
       } catch (IOException e) {

Modified: hama/trunk/pom.xml
URL: http://svn.apache.org/viewvc/hama/trunk/pom.xml?rev=1673984&r1=1673983&r2=1673984&view=diff
==============================================================================
--- hama/trunk/pom.xml (original)
+++ hama/trunk/pom.xml Thu Apr 16 01:07:20 2015
@@ -208,11 +208,6 @@
           <version>${protobuf.version}</version>
         </dependency>
         <dependency>
-          <groupId>commons-io</groupId>
-          <artifactId>commons-io</artifactId>
-          <version>${commons-io.version}</version>
-        </dependency>
-        <dependency>
           <groupId>org.apache.hadoop</groupId>
           <artifactId>hadoop-yarn-client</artifactId>
           <version>${hadoop.version}</version>
@@ -234,6 +229,11 @@
          <version>${kryo.version}</version>
       </dependency>
       <dependency>
+        <groupId>commons-io</groupId>
+        <artifactId>commons-io</artifactId>
+        <version>${commons-io.version}</version>
+      </dependency>
+      <dependency>
         <groupId>com.google.guava</groupId>
         <artifactId>guava</artifactId>
         <version>13.0.1</version>



Mime
View raw message