Hi

I'm going to deploy jobserver on my CentOS (spark is installed with cdh5.7).

I'm using oracle jdk1.8, sbt-0.13.13, spark-1.6.0 and jobserver-0.6.2.

When I run sbt command (after running sbt publish-local) I encountered the
bellow message :

[cloudera@quickstart spark-jobserver]$ sbt
[info] Loading project definition from /home/cloudera/spark-
jobserver/project
Missing bintray credentials /home/cloudera/.bintray/.credentials. Some
bintray features depend on this.
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
Missing bintray credentials /home/cloudera/.bintray/.credentials. Some
bintray features depend on this.
Missing bintray credentials /home/cloudera/.bintray/.credentials. Some
bintray features depend on this.
Missing bintray credentials /home/cloudera/.bintray/.credentials. Some
bintray features depend on this.
[info] Set current project to root (in build file:/home/cloudera/spark-
jobserver/)
> re-start
[info] scalastyle using config /home/cloudera/spark-
jobserver/scalastyle-config.xml
[info] Processed 35 file(s)
[info] Found 0 errors
[info] Found 0 warnings
[info] Found 0 infos
[info] Finished in 7 ms
[success] created output: /home/cloudera/spark-jobserver/job-server/target
[info] scalastyle using config /home/cloudera/spark-
jobserver/scalastyle-config.xml
[info] Processed 5 file(s)
[info] Found 0 errors
[info] Found 0 warnings
[info] Found 0 infos
[info] Finished in 1 ms
[success] created output: /home/cloudera/spark-jobserver/job-server-api/
target
[info] scalastyle using config /home/cloudera/spark-
jobserver/scalastyle-config.xml
[info] Processed 11 file(s)
[info] Found 0 errors
[info] Found 0 warnings
[info] Found 0 infos
[info] Finished in 1 ms
[success] created output: /home/cloudera/spark-jobserver/akka-app/target
[info] scalastyle using config /home/cloudera/spark-
jobserver/scalastyle-config.xml
[info] Processed 5 file(s)
[info] Found 0 errors
[info] Found 0 warnings
[info] Found 0 infos
[info] Finished in 1 ms
[success] created output: /home/cloudera/spark-jobserver/job-server-tests/
target
[info] scalastyle using config /home/cloudera/spark-
jobserver/scalastyle-config.xml
[info] Processed 0 file(s)
[info] Found 0 errors
[info] Found 0 warnings
[info] Found 0 infos
[info] Finished in 0 ms
[success] created output: /home/cloudera/spark-jobserver/target
[info] scalastyle using config /home/cloudera/spark-
jobserver/scalastyle-config.xml
[info] Processed 13 file(s)
[info] Found 0 errors
[info] Found 0 warnings
[info] Found 0 infos
[info] Finished in 1 ms
[success] created output: /home/cloudera/spark-jobserver/job-server-extras/
target
[warn] Credentials file /home/cloudera/.bintray/.credentials does not exist
[warn] Credentials file /home/cloudera/.bintray/.credentials does not exist
[warn] Credentials file /home/cloudera/.bintray/.credentials does not exist
[warn] Credentials file /home/cloudera/.bintray/.credentials does not exist
[warn] Credentials file /home/cloudera/.bintray/.credentials does not exist
[warn] Credentials file /home/cloudera/.bintray/.credentials does not exist
[warn] Credentials file /home/cloudera/.bintray/.credentials does not exist
[warn] Credentials file /home/cloudera/.bintray/.credentials does not exist
[warn] Credentials file /home/cloudera/.bintray/.credentials does not exist
[info] Updating {file:/home/cloudera/spark-jobserver/}job-server-api...
[info] Updating {file:/home/cloudera/spark-jobserver/}job-server-api...
[info] Updating {file:/home/cloudera/spark-jobserver/}job-server-api...
[info] Updating {file:/home/cloudera/spark-jobserver/}akka-app...
[info] Updating {file:/home/cloudera/spark-jobserver/}akka-app...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[warn] Credentials file /home/cloudera/.bintray/.credentials does not exist
[warn] Credentials file /home/cloudera/.bintray/.credentials does not exist
[warn] Credentials file /home/cloudera/.bintray/.credentials does not exist
[info] Updating {file:/home/cloudera/spark-jobserver/}job-server-tests...
[info] Updating {file:/home/cloudera/spark-jobserver/}job-server...
[info] Updating {file:/home/cloudera/spark-jobserver/}job-server...
[info] Resolving org.scala-lang#scala-library;2.10.6 ...
[info] Updating {file:/home/cloudera/spark-jobserver/}job-server...
[info] Resolving org.uncommons.maths#uncommons-maths;1.2.2a ...
[warn] Credentials file /home/cloudera/.bintray/.credentials does not exist
[warn] Credentials file /home/cloudera/.bintray/.credentials does not exist
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] scalastyle using config /home/cloudera/spark-
jobserver/scalastyle-config.xml
[info] Updating {file:/home/cloudera/spark-jobserver/}job-server-extras...
[info] Resolving io.spray#spray-io_2.10;1.3.3 ...
[info] Processed 5 file(s)
[info] Found 0 errors
[info] Found 0 warnings
[info] Found 0 infos
[info] Finished in 0 ms
[success] created output: /home/cloudera/spark-jobserver/job-server-api/
target
[info] scalastyle using config /home/cloudera/spark-
jobserver/scalastyle-config.xml
[info] Resolving commons-beanutils#commons-beanutils;1.8.3 ...
[info] Processed 11 file(s)
[info] Found 0 errors
[info] Found 0 warnings
[info] Found 0 infos
[info] Finished in 1 ms
[success] created output: /home/cloudera/spark-jobserver/akka-app/target
[info] scalastyle using config /home/cloudera/spark-
jobserver/scalastyle-config.xml
[info] Processed 5 file(s)
[info] Found 0 errors
[info] Found 0 warnings
[info] Found 0 infos
[info] Finished in 0 ms
[success] created output: /home/cloudera/spark-jobserver/job-server-api/
target
[info] Updating {file:/home/cloudera/spark-jobserver/}job-server-extras...
[info] Resolving org.scoverage#scalac-scoverage-plugin_2.10;1.1.1 ...
[info] Application akka-app not yet started
[info] Resolving org.apache.spark#spark-core_2.10;1.6.1 ...
[info] Application job-server-api not yet started
[info] Resolving xmlenc#xmlenc;0.52 ...
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to
see the list

Multiple main classes detected, select one to run:

 [1] spark.jobserver.LongPiJob
 [2] spark.jobserver.NoOpJob
 [3] spark.jobserver.VeryShortDoubleJob
 [4] spark.jobserver.WordCountExample
[info] Resolving log4j#log4j;1.2.17 ...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.


And after pressing the "Enter" this messages was showed :


Invalid number: java.lang.NumberFormatException: For input string: ""
[info] Application job-server not yet started
[info] Starting application job-server in the background ...
job-server Starting spark.jobserver.JobServer.main()
[info] Updating {file:/home/cloudera/spark-jobserver/}root...
[info] Resolving io.netty#netty-all;4.0.29.Final ...
[info] scalastyle using config /home/cloudera/spark-
jobserver/scalastyle-config.xml
[info] Resolving com.google.inject#guice;3.0 ...
job-server[ERROR] log4j:WARN No appenders could be found for logger
(spark.jobserver.JobServer$).
job-server[ERROR] log4j:WARN Please initialize the log4j system properly.
[info] Resolving com.sun.jersey.contribs#jersey-guice;1.9 ...
[info] Processed 35 file(s)
[info] Found 0 errors
[info] Found 0 warnings
[info] Found 0 infos
[info] Finished in 1 ms
[success] created output: /home/cloudera/spark-jobserver/job-server/target
[info] scalastyle using config /home/cloudera/spark-
jobserver/scalastyle-config.xml
[info] Resolving com.fasterxml.jackson.core#jackson-core;2.4.4 ...
[info] Processed 11 file(s)
[info] Found 0 errors
[info] Found 0 warnings
[info] Found 0 infos
[info] Finished in 1 ms
[success] created output: /home/cloudera/spark-jobserver/akka-app/target
[info] scalastyle using config /home/cloudera/spark-
jobserver/scalastyle-config.xml
[info] Resolving org.slf4j#slf4j-api;1.7.10 ...
[info] Processed 5 file(s)
[info] Found 0 errors
[info] Found 0 warnings
[info] Found 0 infos
[info] Finished in 1 ms
[success] created output: /home/cloudera/spark-jobserver/job-server-api/
target
[info] Resolving commons-net#commons-net;2.2 ...
[info] Application job-server-tests not yet started
[info] Resolving net.razorvine#pyrolite;4.9 ...
[info] Application job-server-extras not yet started
[info] Starting application job-server-extras in the background ...
[info] Resolving net.sf.py4j#py4j;0.9 ...
job-server-extras Starting spark.jobserver.JobServer.main()
job-server-extras[ERROR] log4j:WARN No appenders could be found for logger
(spark.jobserver.JobServer$).
job-server-extras[ERROR] log4j:WARN Please initialize the log4j system
properly.
job-server-extras[ERROR] log4j:WARN See http://logging.apache.org/
log4j/1.2/faq.html#noconfig for more info.
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] scalastyle using config /home/cloudera/spark-
jobserver/scalastyle-config.xml
[info] Processed 13 file(s)
[info] Found 0 errors
[info] Found 0 warnings
[info] Found 0 infos
[info] Finished in 1 ms
[success] created output: /home/cloudera/spark-jobserver/job-server-extras/
target
[info] scalastyle using config /home/cloudera/spark-
jobserver/scalastyle-config.xml
[info] Processed 5 file(s)
[info] Found 0 errors
[info] Found 0 warnings
[info] Found 0 infos
[info] Finished in 0 ms
[success] created output: /home/cloudera/spark-jobserver/job-server-api/
target
[info] scalastyle using config /home/cloudera/spark-
jobserver/scalastyle-config.xml
[info] Processed 11 file(s)
[info] Found 0 errors
[info] Found 0 warnings
[info] Found 0 infos
[info] Finished in 1 ms
[success] created output: /home/cloudera/spark-jobserver/akka-app/target
[info] scalastyle using config /home/cloudera/spark-
jobserver/scalastyle-config.xml
job-server-extras ... finished with exit code 1
[info] Processed 35 file(s)
[info] Found 0 errors
[info] Found 0 warnings
[info] Found 0 infos
[info] Finished in 1 ms
[success] created output: /home/cloudera/spark-jobserver/job-server/target
[info] Application root not yet started
[trace] Stack trace suppressed: run last root/*:reStart for the full output.
[trace] Stack trace suppressed: run last job-server-api/*:reStart for the
full output.
[trace] Stack trace suppressed: run last job-server-tests/*:reStart for the
full output.
[trace] Stack trace suppressed: run last akka-app/*:reStart for the full
output.
[error] (root/*:reStart) No main class detected!
[error] (job-server-api/*:reStart) No main class detected!
[error] (job-server-tests/*:reStart) No main class detected!
[error] (akka-app/*:reStart) No main class detected!
[error] Total time: 647 s, completed Nov 16, 2016 4:33:28 PM
>

What is the solution?

Reply via email to