You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@samoa.apache.org by mgrzenda <gi...@git.apache.org> on 2018/01/19 08:21:13 UTC

[GitHub] incubator-samoa issue #74: SAMOA-76: changes JDK used for Travis builds

Github user mgrzenda commented on the issue:

    https://github.com/apache/incubator-samoa/pull/74
  
    Here is a brief summary of findings and solution:
    1) oraclejdk7 is no longer available in Travis. Hence, the old Travis configuration failed.
    2) openjdk7 was a suggested replacement
    3) However, Travis builds based on openjdk7 are started, but never finish (are killed because of inactivity)
    4) This kind of hanging build can be obtained also on standalone Linux/ mvn if _JAVA_OPTIONS are set as in Travis i.e. to "-Xmx2048m -Xms512m" and openjdk7 is used
    5) Increasing memory limits in standalone mvn run resolves the problem 4), but not in Travis builds. Travis builds are still hanging in HDFS-related tests, as before even with less restrictive memory settings and forced garbage collection (see the list of commits to this JIRA issue for different options)
    6) The ultimate working solution is to replace oraclejdk7 with oraclejdk8. This seems to be acceptable solution.


---