You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Truong Duc Kien (JIRA)" <ji...@apache.org> on 2018/03/15 09:47:00 UTC

[jira] [Created] (FLINK-8949) Rest API failure with long URL

Truong Duc Kien created FLINK-8949:
--------------------------------------

             Summary: Rest API failure with long URL
                 Key: FLINK-8949
                 URL: https://issues.apache.org/jira/browse/FLINK-8949
             Project: Flink
          Issue Type: Bug
          Components: REST, Webfrontend
    Affects Versions: 1.4.2
            Reporter: Truong Duc Kien


When you have jobs with high parallelism, the URL for a REST request can get very long. When the URL is longer than 4096 bytes, the  REST API will return error

{{Failure: 404 Not Found}}

 This can easily be seen in the Web UI, when Flink queries for the watermark using the REST API:

{{GET /jobs/:jobId/vertices/:vertexId/metrics?get=0.currentLowWatermark,1.currentLowWatermark,2.currentLo...}}

The request will fail with more than 170 subtasks and the watermark will not be displayed in the Web UI.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)