iconara / rubydoop

Write Hadoop jobs in JRuby
220 stars 33 forks source link

Avoid ScriptingContainer.get()/put() #39

Closed jowl closed 8 years ago

jowl commented 8 years ago

They are a bit unpredictable in general according to @grddev, and caused runtime.get("ARGV") to return nil in (at least) JRuby 1.7.23 in particular. This have been tested on EMR using JRuby 1.7.23.

jowl commented 8 years ago

I think I've found the reason why this isn't working on Travis, and it seems to be because of a new Bundler version (even though I have trouble getting Travis to use an older version to confirm this).

jowl commented 8 years ago

It appears as if I solved the Bundler issue in a0cbbae, but now I'm facing

*** buffer overflow detected ***: /usr/lib/jvm/java-7-openjdk-amd64/bin/java terminated

instead. What have I done to deserve this?

jowl commented 8 years ago

Apparently Travis' hostnames are too long for OpenJDK (in accordance with the RFC, which limits them to 255 chars), and changing to Oracle "solves" that as it seems to disregard the RFC instead.