[ 
https://issues.apache.org/jira/browse/FLINK-8949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16978280#comment-16978280
 ] 

Chesnay Schepler commented on FLINK-8949:
-----------------------------------------

Yes, increasing the header length is just a band-aid, and I kinda doubt that 
many users will even find it.

[~vthinkxie] Would it be that difficult to change the UI to only request 
metrics in batches?

> Rest API failure with long URL
> ------------------------------
>
>                 Key: FLINK-8949
>                 URL: https://issues.apache.org/jira/browse/FLINK-8949
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / REST, Runtime / Web Frontend
>    Affects Versions: 1.4.2, 1.5.0, 1.6.4, 1.7.2, 1.8.2
>            Reporter: Truong Duc Kien
>            Assignee: Maximilian Michels
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)

Reply via email to