Hi Anirban, Applications that should be considered for deployment via Slider, should be intrinsically long running applications. Technically these applications should continue to run forever, unless the stop command is called.
Hence in your simple hello-world application you have to add an infinite wait statement after "hello world" is written to hdfs (something like "tail -f /dev/null" should work). Subsequently you can call the stop command to bring down all the N-instances. Transient applications are not a good fit for Slider. The memcached app-package is a very simple package and you can use it as a sample for your hello-world app - https://github.com/apache/incubator-slider/tree/develop/app-packages/memcached Also, we are constantly trying to improve site documentation, so if possible, would appreciate if you can file a doc bug with your inputs/feedback. -Gour From: Anirban Banerjee <[email protected]<mailto:[email protected]>> Date: Monday, June 8, 2015 at 1:28 PM To: Gour Saha <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Cc: Nitin Aggarwal <[email protected]<mailto:[email protected]>>, Vinod Kumar Vavilapalli <[email protected]<mailto:[email protected]>>, Rakesh Saha <[email protected]<mailto:[email protected]>> Subject: Re: Discussions on Slider Adding the DL as per request. ~Anirban On Mon, Jun 8, 2015 at 1:26 PM, Anirban Banerjee <[email protected]<mailto:[email protected]>> wrote: Hi Gour, Thanks for offering to help. I am trying to build a hello-world application (N instances, each echo hello world to hdfs file, and ends) like I described on the white board last Thursday. The instructions at http://slider.incubator.apache.org/docs/getting_started.html were easy to follow upto a point. However, I got stuck at the sample application section because document suddenly switched from How-To mode to Reference-Lookup mode. Do you have a simple tutorial/codelab that helps me to build hello-world (described above) from here. If not, I will dig into the code... Thanks, Anirban On Fri, Jun 5, 2015 at 5:55 PM, Gour Saha <[email protected]<mailto:[email protected]>> wrote: Anirban, Feel free to reach out directly to me or the DL [email protected]<mailto:[email protected]>. The DL is preferable as there will be a larger team behind your questions. -Gour
