apex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chiranjeevi vasupilli <chiru....@gmail.com>
Subject Re: webservice call to get application status for santry enabled DT
Date Tue, 07 Feb 2017 08:59:27 GMT
Hi Ram,

we are getting response for call "GET /ws/v2/about".
But for the call on running job id  ws/v2/applications/{app-id}, we are
getting as empty.
Pls chk the below image for your reference.


[image: Inline image 2]

On Tue, Feb 7, 2017 at 12:21 AM, Venkatesh Kottapalli <
venkatesh@datatorrent.com> wrote:

> I think it is a typo of Sentry.
>
> https://sentry.apache.org
>
> If the user is able to monitor the Yarn/hadoop jobs in the cluster based
> on your role from the server, it means the user has already authenticated
> to the cluster. You don’t have to authenticate to Sentry again for
> submitting the Rest call if you are able to monitor.
>
> Please look at the suggestions from Ram for the “about” call and if
> authentication is enabled on the gateway, please look at
>
> http://docs.datatorrent.com/dtgateway_security/
>
> -Venky.
>
>
> On Feb 6, 2017, at 9:21 AM, Munagala Ramanath <ram@datatorrent.com> wrote:
>
> Please answer my question regarding the "/about" call: The very first call
> documented
> at http://docs.datatorrent.com/dtgateway_api/ is the call "GET
> /ws/v2/about"; does it work
> and return some values ?
>
> Please provide more information on "santry": Is it an open source or
> proprietary package ?
> Is there any public documentation on it ? What does it do ?
>
> If you are using password authentication, you may have to use cookies with
> curl; see
> http://docs.datatorrent.com/dtgateway_security/
>
> Ram
>
> On Mon, Feb 6, 2017 at 9:02 AM, chiranjeevi vasupilli <chiru.vcj@gmail.com
> > wrote:
>
>> hI Ram,
>>
>> we running Data Torrent applicatoin using apex 3.2.1 build.
>> Santry i.e authentication required to access DT console.
>>
>>
>>
>> On Mon, Feb 6, 2017 at 10:16 PM, Munagala Ramanath <ram@datatorrent.com>
>> wrote:
>>
>>> Could you provide more details on what you're running, i.e. which
>>> version of Apex, etc. ?
>>> Also, what is santry ?
>>> Do any of the other REST API calls work, like "/about" for instance ?
>>>
>>> Ram
>>>
>>> On Mon, Feb 6, 2017 at 8:35 AM, chiranjeevi vasupilli <
>>> chiru.vcj@gmail.com> wrote:
>>>
>>>> bringing on top..
>>>>
>>>> On Sun, Feb 5, 2017 at 2:40 PM, chiranjeevi vasupilli <
>>>> chiru.vcj@gmail.com> wrote:
>>>>
>>>>> Hi Team,
>>>>>
>>>>> We are below using curl command to get application status for the
>>>>> running job . But we are not getting response from web service.
>>>>>
>>>>> *command used:* curl https://*hostname*:port/ws/v2/applications/app-id
>>>>>
>>>>> *output:* { }
>>>>>
>>>>> we have  santry enabled Data Torrent environment, do we need to
>>>>> authenticate first then call web service or how we can get the applicatioin
>>>>> status using the webserive.
>>>>>
>>>>> pls suggest.
>>>>>
>>>>> --
>>>>> ur's
>>>>> chiru
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> ur's
>>>> chiru
>>>>
>>>
>>>
>>
>>
>> --
>> ur's
>> chiru
>>
>
>
>


-- 
ur's
chiru

Mime
View raw message