[
https://issues.apache.org/jira/browse/MESOS-5867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anand Mazumdar updated MESOS-5867:
----------------------------------
Description:
Contains two bugs:
1. If length provided by client is bigger than `size - offset`, the resulting
data contains blank characters. We should curtail data to be only till EOF in
this case like the previous implementation.
2. FD Leak: if `length = 0` or successfully read data from file, API will
return without closing file.
was:
Contains two bugs:
1. if length provided by client is bigger than `size - offset`, the result data
contains blank characters
2. if `length = 0` or successfully read data from file, API will return without
closing file
> Operator ReadFile API read file bugs.
> -------------------------------------
>
> Key: MESOS-5867
> URL: https://issues.apache.org/jira/browse/MESOS-5867
> Project: Mesos
> Issue Type: Bug
> Reporter: zhou xing
> Assignee: zhou xing
> Priority: Minor
> Fix For: 1.1.0
>
>
> Contains two bugs:
> 1. If length provided by client is bigger than `size - offset`, the resulting
> data contains blank characters. We should curtail data to be only till EOF in
> this case like the previous implementation.
> 2. FD Leak: if `length = 0` or successfully read data from file, API will
> return without closing file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)