Flink monitor rest API question

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Flink monitor rest API question

Will Du
Hi folks,
I am using a java rest client - unirest lib to GET from flink rest API to get a Job status. I got exception-unsupported content encoding -UTF8.

Do you guys known how to resolve it? I use postman client working fine.
Thanks,
Will

Reply | Threaded
Open this post in threaded view
|

Re: Flink monitor rest API question

Chesnay Schepler
Hello,

Looks like you stumbled upon a bug in our REST API and  use a client
that is stricter than others.

I will create a JIRA for this.

Regards,
Chesnay

On 19.07.2017 13:31, Will Du wrote:
> Hi folks,
> I am using a java rest client - unirest lib to GET from flink rest API to get a Job status. I got exception-unsupported content encoding -UTF8.
>
> Do you guys known how to resolve it? I use postman client working fine.
> Thanks,
> Will
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Flink monitor rest API question

Will Du
Thanks. Seems this has been fixed before in FLINK-5109

Sent from my iPhone

> On Jul 19, 2017, at 07:47, Chesnay Schepler <[hidden email]> wrote:
>
> Hello,
>
> Looks like you stumbled upon a bug in our REST API and  use a client that is stricter than others.
>
> I will create a JIRA for this.
>
> Regards,
> Chesnay
>
>> On 19.07.2017 13:31, Will Du wrote:
>> Hi folks,
>> I am using a java rest client - unirest lib to GET from flink rest API to get a Job status. I got exception-unsupported content encoding -UTF8.
>>
>> Do you guys known how to resolve it? I use postman client working fine.
>> Thanks,
>> Will
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Flink monitor rest API question

Chesnay Schepler
Yes, it was fixed in FLINK-5109, but re-introduced again in FLINK-5705.

I will fix this again in FLINK-7226 and add tests to prevent it from
appearing again.

On 19.07.2017 20:18, Will Du wrote:

> Thanks. Seems this has been fixed before in FLINK-5109
>
> Sent from my iPhone
>
>> On Jul 19, 2017, at 07:47, Chesnay Schepler <[hidden email]> wrote:
>>
>> Hello,
>>
>> Looks like you stumbled upon a bug in our REST API and  use a client that is stricter than others.
>>
>> I will create a JIRA for this.
>>
>> Regards,
>> Chesnay
>>
>>> On 19.07.2017 13:31, Will Du wrote:
>>> Hi folks,
>>> I am using a java rest client - unirest lib to GET from flink rest API to get a Job status. I got exception-unsupported content encoding -UTF8.
>>>
>>> Do you guys known how to resolve it? I use postman client working fine.
>>> Thanks,
>>> Will
>>>
>>>