This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When I run above codes in spark-shell, I got the following errors: | |
scala> val job = new Job(sc.hadoopConfiguration) | |
warning: there were 1 deprecation warning(s); re-run with -deprecation for details | |
java.lang.IllegalStateException: Job in state DEFINE instead of RUNNING | |
at org.apache.hadoop.mapreduce.Job.ensureState(Job.java:283) | |
at org.apache.hadoop.mapreduce.Job.toString(Job.java:452) | |
at scala.runtime.ScalaRunTime$.scala$runtime$ScalaRunTime$$inner$1(ScalaRunTime.scala:324) | |
at scala.runtime.ScalaRunTime$.stringOf(ScalaRunTime.scala:329) | |
at scala.runtime.ScalaRunTime$.replStringOf(ScalaRunTime.scala:337) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Today I try to install Redmine server with Puppet on a vagrant managed virtual machine. I use a published module on puppet forge: | |
http://forge.puppetlabs.com/johanek/redmine | |
And the following is my operations: | |
1. Initialize VM: | |
chad@typcserver ~/docs/vagrant-prj $ vagrant --version | |
Vagrant 1.4.3 | |
chad@typcserver ~/docs/vagrant-prj $ vagrant init | |
chad@typcserver ~/docs/vagrant-prj $ cat Vagrantfile |
NewerOlder