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

Hyukjin Kwon commented on SPARK-21596:
--------------------------------------

User 'zsxwing' has created a pull request for this issue:
https://github.com/apache/spark/pull/18799

> Audit the places calling HDFSMetadataLog.get
> --------------------------------------------
>
>                 Key: SPARK-21596
>                 URL: https://issues.apache.org/jira/browse/SPARK-21596
>             Project: Spark
>          Issue Type: Bug
>          Components: Structured Streaming
>    Affects Versions: 2.1.1
>            Reporter: Shixiong Zhu
>
> When I was investigating a flaky test, I realized that many places don't 
> check the return value of `HDFSMetadataLog.get(batchId: Long): Option[T]`. 
> When a batch is supposed to be there, the caller just ignores None rather 
> than throwing an error. If some bug causes a query doesn't generate a batch 
> metadata file, this behavior will hide it and allow the query continuing to 
> run.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to