Apache Beam: using cross-language pipeline to execute Python code from Java SDK

Опубликовано: 21 Октябрь 2020
на канале: The ASF
920
4

Apache Beam: using cross-language pipeline to execute Python code from Java SDK
Alexey Romanenko

A presentation from ApacheCon @Home 2020
https://apachecon.com/acah2020/

There are many reasons why we would need to execute Python code in Java data processing pipelines (and vice versa) - e.g. Machine Learning libraries, IO connectors, user’s Python code - and several different ways to do that. With the End of Life of Python 2 started this year, it’s getting more challenging since not all old solutions still work well for Python 3. One of the potential options for this could be using a cross-language pipeline and Portable Runner in Apache Beam. In this talk I’m going to talk about what the cross-language pipeline in Beam is, how to create a mixed Java/Python pipeline, how to set up and run it, what kind of requirements and pitfalls we can expect in this case. Also, I’ll show a demo of a use case where we need to execute a custom user’s Python 3 code in the middle of Java SDK pipeline and run it with Portable Spark Runner.

Alexey Romanenko is Principal Software Engineer at Talend France, with more than 18 years of experience in software development. During his career, he has been working on very different projects, like high-load web services, web search engine and cloud storages. He is Apache Beam PMC member and committer, he contributed to different Beam IO components and Spark Runner.


На этой странице сайта вы можете посмотреть видео онлайн Apache Beam: using cross-language pipeline to execute Python code from Java SDK длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь The ASF 21 Октябрь 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 920 раз и оно понравилось 4 зрителям. Приятного просмотра!