4

sbt job-server-api/packages と sbt job-server-tests/packages を使用してビルドを行いました。jar -cxf コマンドを使用して jar を拡張/解凍できます

curl --data-binary /opt/hadoop/spark-jobserver/job-server-api/target/scala-2.10/job-server-api_2.10-0.6.1-SNAPSHOT.jar localhost:8090/jars/test
{
  "status": "ERROR",
  "result": "Jar is not of the right format"
}


 curl --data-binary /opt/hadoop/spark-jobserver/job-server-tests/target/scala-2.10/job-server-tests_2.10-0.6.1-SNAPSHOT.jar localhost:8090/jars/test
{
  "status": "ERROR",
  "result": "Jar is not of the right format"
}

sbt version
[info] Loading project definition from /opt/hadoop/spark-jobserver/project
Missing bintray credentials /root/.bintray/.credentials. Some bintray features depend on this.
Missing bintray credentials /root/.bintray/.credentials. Some bintray features depend on this.
Missing bintray credentials /root/.bintray/.credentials. Some bintray features depend on this.
Missing bintray credentials /root/.bintray/.credentials. Some bintray features depend on this.
[info] Set current project to root (in build file:/opt/hadoop/spark-jobserver/)
[info] job-server-tests/*:version
[info]  0.6.1-SNAPSHOT
[info] job-server-extras/*:version
[info]  0.6.1-SNAPSHOT
[info] job-server-api/*:version
[info]  0.6.1-SNAPSHOT
[info] akka-app/*:version
[info]  0.6.1-SNAPSHOT
[info] job-server/*:version
[info]  0.6.1-SNAPSHOT
[info] root/*:version
[info]  0.6.1-SNAPSHOT

SPARK バージョン 1.5 を使用しています。

マニフェストを表示できます。猫 MANIFEST.MF

Manifest-Version: 1.0
Implementation-Vendor: spark.jobserver
Implementation-Title: job-server-tests
Implementation-Version: 0.6.1-SNAPSHOT
Implementation-Vendor-Id: spark.jobserver
Specification-Vendor: spark.jobserver
Specification-Title: job-server-tests
Implementation-URL: https://github.com/spark-jobserver/spark-jobserver
Specification-Version: 0.6.1-SNAPSHOT

jar形式の問題を解決するためにここで私を助けてもらえますか?

4

1 に答える 1