Github user BenFradet commented on a diff in the pull request:

    https://github.com/apache/spark/pull/10385#discussion_r48078831
  
    --- Diff: docs/streaming-programming-guide.md ---
    @@ -1415,6 +1415,95 @@ Note that the connections in the pool should be 
lazily created on demand and tim
     
     ***
     
    +## Accumulator and Broadcast
    +
    +Accumulator and Broadcast cannot be recovered from checkpoint in 
Streaming. If you enable checkpoint and use Accumulator or Broadcast as well, 
you have to create lazily instantiated singleton instances for Accumulator and 
Broadcast so that they can be restarted on driver failures. This is shown in 
the following example.
    --- End diff --
    
    I'd say: "in **Spark** Streaming. If you enable checkpoint**ing** and use 
an Accumulator or Broadcast as well, you**'ll** have to create ..."


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to