Thanks Sumit,

The only concern about script language is you don't know the compile error
until runtime. And in fact it's not arbitrary script it depends on the
library in slider for example
/python/resource_management/core/resources/system.py

Best,
Siyuan

On Thu, Oct 30, 2014 at 2:24 PM, Sumit Mohanty <sumit.moha...@gmail.com>
wrote:

> Actually, you can debug it after deploying it once. This will require
> setting some YARN variables to ensure containers are not released even if
> the application fails. The agent logs report back the commands being
> invoked and the parameters used to invoke them. Let me try to write that up
> on the wiki. *I will need a day or so.*
>
> The choice of python was mostly a reflection of going for scripting
> language that works on Windows and linux. As such it is possible to use any
> scripting language as long as the agent code is modified to handle various
> script types. Of course, today the only supported/tested one is python.
>
> On Thu, Oct 30, 2014 at 1:55 PM, hsy...@gmail.com <hsy...@gmail.com>
> wrote:
>
> > May I ask why do you choose python to write the command script. And is
> > there  any other language? I find difficult to debug because each time
> if I
> > find an issue I have to change file package upload to hdfs, rerun and I'm
> > not very familiar with python
> >
> >
> > Best
> > Siyuan
> >
>
>
>
> --
> thanks
> Sumit
>

Reply via email to