livy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barrett Strausser <barr...@bossanova.com>
Subject Re: Access Queue and App Name
Date Mon, 28 Aug 2017 22:39:07 GMT
Thanks for the fast response.

My more direct question is: If I submit a batch via Livy, my only option is
to store the returned batch id, so that I can delete that batch in the
future?

-b

On Mon, Aug 28, 2017 at 6:21 PM, Alex Bozarth <ajbozart@us.ibm.com> wrote:

> As far as I know you can't get that info from the Livy API currently, but
> you can get the YARN Application URL from the appInfo returned in a GET
> /batches/{batchId} call and could find that info there.
>
>
> *Alex Bozarth*
> Software Engineer
> Spark Technology Center
> ------------------------------
> *E-mail:* *ajbozart@us.ibm.com* <ajbozart@us.ibm.com>
> *GitHub: **github.com/ajbozarth* <https://github.com/ajbozarth>
>
>
> 505 Howard Street
> San Francisco, CA 94105
> United States
>
>
>
> [image: Inactive hide details for Barrett Strausser ---08/28/2017 03:05:48
> PM---As documented in https://urldefense.proofpoint.com/v2/u]Barrett
> Strausser ---08/28/2017 03:05:48 PM---As documented in
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.
> com_cloudera_livy-23pos
>
> From: Barrett Strausser <barrett@bossanova.com>
> To: user@livy.incubator.apache.org
> Date: 08/28/2017 03:05 PM
> Subject: Access Queue and App Name
> ------------------------------
>
>
>
> As documented in *https://github.com/cloudera/livy#post-batches*
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_cloudera_livy-23post-2Dbatches&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=S1_S7Dymu4ZL6g7L21O78VQZ53vEnAyZ-cx37DPYDyo&m=k_VY8cqk7fUyyxfbYYGa_rF_YSp3_kzz93AwnCcK4sA&s=yRPCpu5ZWQW7aO8KDBmKQWjgzQaTQRwxC7G510Z6Isg&e=>
>
> How do I access the queue and app names once submitted in a batch job?
>
> e.g. If I wanted to find an app with a certain name or submitted to a
> certain queue how would I do that?
>
>
>

Mime
View raw message