Hi Henry,

I think when running Flink on Yarn, then you must not go through the Yarn
proxy. Instead you should directly send the post request to the node on
which the application master runs. When starting a Flink Yarn session via
yarn-session.sh, then the web interface URL is printed to stdout, for
example.

Cheers,
Till

On Tue, Sep 25, 2018 at 9:43 AM 徐涛 <happydexu...@gmail.com> wrote:

> Hi All,
> I am trying to POST a RESTful url and want to generate a savepoint, the
> Flink version is 1.6.0.
> When I executed the POST in local, everything is OK, but when I POST the
> url on a Flink on YARN application. The following error is returned:
> “405 HTTP method POST is not supported by this URL”, I guess it is caused
> by YARN limitation. (
> http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/REST-API-quot-broken-quot-on-YARN-because-POST-is-not-allowed-via-YARN-proxy-td19329.html
> )
> But does it have a workaround now?
>
> Best
> Henry
>

Reply via email to