Skip to content
Snippets Groups Projects
  • adesharatushar's avatar
    47ab4afe
    [SPARK-19003][DOCS] Add Java example in Spark Streaming Guide, section Design... · 47ab4afe
    adesharatushar authored
    [SPARK-19003][DOCS] Add Java example in Spark Streaming Guide, section Design Patterns for using foreachRDD
    
    ## What changes were proposed in this pull request?
    
    Added missing Java example under section "Design Patterns for using foreachRDD". Now this section has examples in all 3 languages, improving consistency of documentation.
    
    ## How was this patch tested?
    
    Manual.
    Generated docs using command "SKIP_API=1 jekyll build" and verified generated HTML page manually.
    
    The syntax of example has been tested for correctness using sample code on Java1.7 and Spark 2.2.0-SNAPSHOT.
    
    Author: adesharatushar <tushar_adeshara@persistent.com>
    
    Closes #16408 from adesharatushar/streaming-doc-fix.
    
    (cherry picked from commit dba81e1d)
    Signed-off-by: default avatarSean Owen <sowen@cloudera.com>
    [SPARK-19003][DOCS] Add Java example in Spark Streaming Guide, section Design...
    adesharatushar authored
    [SPARK-19003][DOCS] Add Java example in Spark Streaming Guide, section Design Patterns for using foreachRDD
    
    ## What changes were proposed in this pull request?
    
    Added missing Java example under section "Design Patterns for using foreachRDD". Now this section has examples in all 3 languages, improving consistency of documentation.
    
    ## How was this patch tested?
    
    Manual.
    Generated docs using command "SKIP_API=1 jekyll build" and verified generated HTML page manually.
    
    The syntax of example has been tested for correctness using sample code on Java1.7 and Spark 2.2.0-SNAPSHOT.
    
    Author: adesharatushar <tushar_adeshara@persistent.com>
    
    Closes #16408 from adesharatushar/streaming-doc-fix.
    
    (cherry picked from commit dba81e1d)
    Signed-off-by: default avatarSean Owen <sowen@cloudera.com>