blob: 971cf14c3ec39893575b9dedaa3cebd29e95fa02 [file] [log] [blame]
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.
How to create a Slider app package for Storm?
To create the app package you will need the Storm tarball copied to a specific location.
Various configurations provided in this sample are customized for apache-storm-
So if you use a different version you may need to edit a few config values.
Replace the placeholder tarball for Storm.
cp ~/Downloads/apache-storm- package/files/
rm package/files/apache-storm-
Create a zip package at the root of the package (<slider enlistment>/app-packages/storm-v0_91/)
zip -r .
Verify the content using
unzip -l "$@"
While appConfig.json and resources.json are not required for the package they work
well as the default configuration for Slider apps. So its advisable that when you
create an application package for Slider, include sample/default resources.json and
appConfig.json for a minimal Yarn cluster.