[ 
https://issues.apache.org/jira/browse/GIRAPH-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13773855#comment-13773855
 ] 

Armando Miraglia commented on GIRAPH-756:
-----------------------------------------

Hi guys.

At first I thought it was an issue related to java 7 (GIRAPH-762) but 
apparently is not. I was trying to test some changes I have made on the 
website, running:

mvn clean site -DskipTests -Phadoop_2.0.0 -Ddependency.locations.enabled=false

And I had this compilation error:

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.2:site (default-site) on project 
giraph-parent: failed to get report for 
org.apache.maven.plugins:maven-javadoc-plugin
: Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on 
project giraph-core: Compilation failure: Compilation failure:
[ERROR] 
/home/armax00/giraph/giraph-core/src/main/java/org/apache/giraph/job/HaltApplicationUtils.java:[78,49]
 unreported exception java.lang.InterruptedException; must be caught or 
declared to 
be thrown
[ERROR] 
/home/armax00/giraph/giraph-core/src/main/java/org/apache/giraph/job/HaltApplicationUtils.java:[81,50]
 unreported exception java.lang.InterruptedException; must be caught or 
declared to 
be thrown

My java version:
$ java -version
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.12.04.2)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

The patch I have provided at GIRAPH-762 solves the problem for me.
                
> Provide a way to halt running application
> -----------------------------------------
>
>                 Key: GIRAPH-756
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-756
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: Maja Kabiljo
>            Assignee: Maja Kabiljo
>         Attachments: GIRAPH-756.patch
>
>
> It would be good to have a way to tell a running application to halt after 
> current superstep is done instead of just killing it. For example, it would 
> be useful when we have a long running application, but we need resources for 
> another job, or we see that the result is good enough, we can just halt it 
> and still get the output.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to