[ZEPPELIN-1787] Add an example of Flink Notebook#1758
Conversation
|
Link for the note on ZeppelinHub For convenience :) @AlexanderShoshin Is this link right? |
|
Yes, but ZeppelinHub does not show all the paragraphs. I will try to find out the reason. |
|
@AlexanderShoshin Thanks for your contribution!
|
|
How about refer this note in flink.md ? |
|
@AhyoungRyu, thank you for your notes!
|
|
@tae-jun, I found that ZeppelinHub can't display new notebooks correctly. It is because the note.json structure was changed after ZEPPELIN-212 was merged (two weeks ago). Now notebook has a |
|
@zjffdu, should we do this in current PR or make a new issue for the documentation improving? |
|
Thank you for the such precise explanation. Tested again and it works well! It would be better to show the other description paragraph's result by default like first paragraph does :) |
|
Oh, it should not looks like this. It might be another problem of new notebook json structure. I will correct this. |
|
I've converted notebook to 0.6.2 format. So it should be displayed correctly now. |
|
Thanks for your quick update! |
|
@AlexanderShoshin Actually it was my bad. I checked again and this commit is perfectly working. Please ignore my last comment and sorry for the confusion. |
|
Is there any other feedback, or was everything addressed and we shall merge it now? Saw @zjffdu 's
@AlexanderShoshin do you think it's worth to update the interpreter documentation as well under Other than that, looks great to me! |
|
I am confused a bit :) |
|
@AlexanderShoshin Right that would be better. So sorry about that 😭 |
|
@bzz, I am not sure. We already have a Word Count example there to describe |
|
@AlexanderShoshin I think what @zjffdu and @bzz meant was that you could possibly talk about this notebook in some where like |
|
@AlexanderShoshin Seems the below two things need to be done before merge
You can simply do it in your local by
Please feel free to ping me if you need any help! |
|
Sorry, I was not able to work on this issue during last weeks. |
|
I've added a new commit to convert the notebook to 0.7.0 format because I found that 9013620 commit has several conflicts in json-file. |
|
|
||
| ## How to test it's working | ||
| In example, by using the [Zeppelin notebook](https://www.zeppelinhub.com/viewer/notebooks/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL05GTGFicy96ZXBwZWxpbi1ub3RlYm9va3MvbWFzdGVyL25vdGVib29rcy8yQVFFREs1UEMvbm90ZS5qc29u) is from Till Rohrmann's presentation [Interactive data analysis with Apache Flink](http://www.slideshare.net/tillrohrmann/data-analysis-49806564) for Apache Flink Meetup. | ||
| You can try the [Flink usage example](http://localhost:8080/#/notebook/2C35YU814) from the tutorial folder or a word count example, by using the [Zeppelin notebook](https://www.zeppelinhub.com/viewer/notebooks/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL05GTGFicy96ZXBwZWxpbi1ub3RlYm9va3MvbWFzdGVyL25vdGVib29rcy8yQVFFREs1UEMvbm90ZS5qc29u) from Till Rohrmann's presentation [Interactive data analysis with Apache Flink](http://www.slideshare.net/tillrohrmann/data-analysis-49806564) for Apache Flink Meetup. |
There was a problem hiding this comment.
Not sure adding link localhost:8080 is good idea, since there might be some ppl using another host & port. "You can try Flink usage example located under Zeppelin Tutorial folder." will be enough I guess :)
|
@AlexanderShoshin Checked again and it looks nice. Except the minor suggestion, LGTM. Thanks for your effort and the awesome tutorial note! |
|
@AhyoungRyu, thanks for the note. I've removed an url to the notebook. |
|
@AlexanderShoshin Thanks! Will Merge into both master and branch-0.7 if there are no more comments on this. |
### What is this PR for? This PR will add an example of batch processing with Flink to Zeppelin tutorial notebooks. There are no any Flink notebooks in the tutorial at the moment. ### What type of PR is it? Improvement ### What is the Jira issue? [ZEPPELIN-1787](https://issues.apache.org/jira/browse/ZEPPELIN-1787) ### How should this be tested? You should open `Using Flink for batch processing` notebook from the `Zeppelin Tutorial` folder and run all paragraphs one by one ### Questions: * Does the licenses files need update? - **no** * Is there breaking changes for older versions? - **no** * Does this needs documentation? - **no** Author: Alexander Shoshin <Alexander_Shoshin@epam.com> Closes #1758 from AlexanderShoshin/ZEPPELIN-1787 and squashes the following commits: 83cbffb [Alexander Shoshin] remove localhost url 5255e17 [Alexander Shoshin] Merge branch 'master' into ZEPPELIN-1787 0b9df56 [Alexander Shoshin] add a link for this notebook to Zeppelin documentation 593c47d [Alexander Shoshin] convert notebook to 0.7.0 format 9013620 [Alexander Shoshin] convert notebook to 0.6.2 format fe2a39e [Alexander Shoshin] add download instruction, change "wget" to "curl" f64b60a [Alexander Shoshin] [ZEPPELIN-1787] Add an example of Flink Notebook (cherry picked from commit 0da08d1) Signed-off-by: ahyoungryu <ahyoungryu@apache.org>

What is this PR for?
This PR will add an example of batch processing with Flink to Zeppelin tutorial notebooks. There are no any Flink notebooks in the tutorial at the moment.
What type of PR is it?
Improvement
What is the Jira issue?
ZEPPELIN-1787
How should this be tested?
You should open
Using Flink for batch processingnotebook from theZeppelin Tutorialfolder and run all paragraphs one by oneQuestions: