1

目前试图让 Apache Spark 通过 Snapcraft 工作,我做错了什么?

这是.yaml:

name: spark
version: 1.0
architectures:
 - amd64
summary: The Spark Engine 
description: This is the Spark Engine produced by snapcraft with maven.
confinement: strict

apps:
 spark:
   command: bin/wrapper
   daemon: simple
   plugs: [network-bind]

parts:
    webapp:
        plugin: maven
        source: https://github.com/lool/snappy-mvn-demo.git
        source-type: git
    spark:
        plugin: tar-content
        source: http://www-eu.apache.org/dist/spark/spark-1.6.2/spark-1.6.2.tgz
        local-files:
        plugin: make
        source: .

这是制作文件:

all:

install:
    cp -a spark-conf/ $(DESTDIR)/

make 文件不包含一个包装器,因为我找不到一个。

有任何想法吗?

4

0 回答 0