nathanmarz / storm-deploy

One click deploy for Storm clusters on AWS
Other
516 stars 148 forks source link

Upgrading to java-crate 0.7 (and above) pallet to support Java 7 #77

Open shardnit opened 9 years ago

shardnit commented 9 years ago

I am using "install-0.9.1" branch and I tried to install Java 7 on EC2 instances by upgrading the java-crate to 0.7 (since I couldnt find any source for version 0.5). I also updated line 52 in node.clj file with a map argument - :vendor :oracle :version "7" :components #{:jdk} as prescribed here (https://github.com/pallet/java-crate/tree/support/0.7.x).

With this while I get no compilation error, during deployment it throws invalid number of arguments exception. This is odd since java-crate 0.7 documentation clearly says that java function accepts a settings maps.