Nope. This is what I do typically. * Get an application package zip file * Extract the appConfig-default.json and resources-default.json from the package * Rename the files to appConfig.json and resources.json respectively and edit as needed * Use install-package to upload the application package zip file * Call create with .... --template appConfig.json --resources resources.json ...
-Sumit On Fri, Nov 14, 2014 at 2:08 PM, hsy...@gmail.com <hsy...@gmail.com> wrote: > So actually you don't need appConfig.json and resources.json in the ZIP > package? > > On Fri, Nov 14, 2014 at 12:05 PM, Jon Maron <jma...@hortonworks.com> > wrote: > > > Perhaps I’m misunderstanding your question, but in general, if making > > modifications to those files, you can simply create a new application > > instance referencing the new versions of the file from the command line: > > > > ./slider create <app name> —template <appConfig path> —resources > > <resources file path> > > > > the app config references the application package in HDFS, which can be > > pre-seeded using “slider install-package” > > > > — Jon > > > > On Nov 14, 2014, at 2:54 PM, hsy...@gmail.com wrote: > > > > > Everytime I change appConfig.json and resources.json. Do I have to > > > repackage the zip file and redeploy the file to hdfs? > > > > > > Thanks! > > > > > > -- > > 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. > > > -- 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.