Think of the slider-agent as a bridge between AppMaster and the application
workload (HBase Master, HBase RegionServer). *The need to explicitly pass
its path is being removed in the upcoming release as its required by
default.*

The json files are application configurations - appConfig.json is the
configuration required for the application (as well as some details needed
by Slider itself) and the resources.json file is the application
requirement from YARN - e.g. how much memory.

So in your case, you will need to use the files for HBase. However, you
need to use the ones from the created application package (not from the
repo). There are some tokens that get replaced when you invoke the mvn
command to create the package.

On Thu, Sep 11, 2014 at 2:14 AM, 牛兆捷 <[email protected]> wrote:

> @Shivaji
> Please try and give the complete path to your files. It should work.
>
> Do you mean specify the complete path of the two files in
> app-packages\hbase path? But I think those files are specific for Hbase not
> for slider-agent.tar.gz.
>
> What is the relationship between Hbase and the agent?
>
> 2014-09-10 22:02 GMT+08:00 Shivaji <[email protected]>:
>
> > 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.
> >
>
>
>
> --
> *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.

Reply via email to