[英]How to add Hudi Package to local AWS Glue Interactive Notebook
I have setup Glue Interactive sessions locally by following https://docs.aws.amazon.com/glue/latest/dg/interactive-sessions.html However, I am not able to add any additional packages like HUDI to the interactive session我已经按照https://docs.aws.amazon.com/glue/latest/dg/interactive-sessions.html在本地设置了 Glue Interactive 会话但是,我无法向交互式 session 添加任何其他包,例如 HUDI
There are a few magic commands to use but not sure which one is apt and how to use有一些神奇的命令可以使用,但不确定哪个是合适的以及如何使用
%additional_python_modules
%extra_jars
%extra_py_files
I am not able to comment on the question, so adding link to a similar question that has received an answer.我无法对该问题发表评论,因此请添加指向已收到答案的类似问题的链接。
Regarding the magic commands, you will find the descriptions once you start the glue interactive notebook.关于魔术命令,您将在启动胶水交互式笔记本后找到说明。 I am also adding them here.
我也在这里添加它们。
In my case, I have a few Python helper functions in *.py and *.zip files (also contains some *.py files but just zipped).就我而言,我在 *.py 和 *.zip 文件中有一些 Python 辅助函数(也包含一些 *.py 文件,但只是压缩)。 This works:
这有效:
%extra_py_files 's3://bucket/a.py,s3://bucket/b.py,s3://bucket/c.zip'
%additional_python_modules
doesn't work for me so I assumed this magic is for whl
files only ¯\_(ツ)_/¯ %additional_python_modules
对我不起作用所以我认为这个魔法只适用于whl
文件¯\_(ツ)_/¯
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.