I just follow the document
Start the Application
Once the steps above are completed, the application can be started through
the *Slider Command Line Interface (CLI)*.
Change directory to the "bin" directory under the slider installation
cd ${slider-install-dir}/slider-0.40.0/bin
Execute the following command:
./slider create cl1 --image
hdfs://yourNameNodeHost:8020/user/yarn/agent/slider-agent.tar.gz
--template appConfig.json --resources resources.json
I use the default file (slider-agent.tar.gz) and I don't find these two
file included in the tar.gz file.
2014-09-10 22:12 GMT+08:00 Sumit Mohanty <[email protected]>:
> The json files are application specific and if you create the application
> package using the instructions in the repo then the .zip file will contain
> a default version of the files. You can extract from the .zip file and use
> them.
>
> This part of the doc provides some other ways to create the files...
>
> Configuring a Slider application consists of two parts: the Resource
> Specification
> <http://slider.incubator.apache.org/docs/getting_started.html#resspec>,
> and
> the *Application Configuration
> <http://slider.incubator.apache.org/docs/getting_started.html#appconfig>.
>
> *Note*: There are sample Resource Specifications (*resources.json*) and
> Application Configuration (*appConfig.json*) files in the application
> packages zip files (e.g. /*resources.json* and /*appConfig.json*).
>
>
>
> On Wed, Sep 10, 2014 at 7:02 AM, Shivaji <[email protected]> wrote:
>
> > Please try and give the complete path to your files. It should work.
> >
> > Sent from my iPhone
> >
> > > On Sep 10, 2014, at 6:23 AM, 牛兆捷 <[email protected]> wrote:
> > >
> > > In "http://slider.incubator.apache.org/docs/getting_started.html",
> > >
> > > cd ${slider-install-dir}/slider-0.40.0/bin
> > >
> > > ./slider create cl1 --image
> > > hdfs://yourNameNodeHost:8020/user/yarn/agent/slider-agent.tar.gz
> > > --template appConfig.json --resources resources.json
> > >
> > > The appConfig.json and resources.json are not found in the bin path.
> > When I
> > > execute it, it does show that the file cannot be found.
> > >
> > >
> > >
> > > --
> > > *Regards,*
> > > *Zhaojie*
> >
> > --
> > CONFIDENTIALITY NOTICE
> > NOTICE: This message is intended for the use of the individual or entity
> to
> > which it is addressed and may contain information that is confidential,
> > privileged and exempt from disclosure under applicable law. If the reader
> > of this message is not the intended recipient, you are hereby notified
> that
> > any printing, copying, dissemination, distribution, disclosure or
> > forwarding of this communication is strictly prohibited. If you have
> > received this communication in error, please contact the sender
> immediately
> > and delete it from your system. Thank You.
> >
>
>
>
> --
> thanks
> Sumit
>
--
*Regards,*
*Zhaojie*