简体   繁体   English

Datamechanics - spark docker 图像 - 如何使用图像内置连接器的示例

[英]Datamechanics - spark docker image - example of how to use the connector that comes inbuilt with the image

I came across the below docker image for spark.我遇到了以下 docker 火花图像。 The image also comes with some of the connectors to some of the popular cloud services.该映像还附带了一些连接器,可连接到一些流行的云服务。 An example of how to use the inbuilt connectors(say Azure storage gen2) in pyspark application will be of great help.如何在 pyspark 应用程序中使用内置连接器(例如 Azure 存储 gen2)的示例将有很大帮助。

link to dockerhub image: https://hub.docker.com/r/datamechanics/spark链接到 dockerhub 图片: https://hub.docker.com/r/datamechanics/spark

I looked into the below example that was provided but it didn't help much in understanding how to use the connector that comes with the default image https://github.com/datamechanics/examples/blob/main/pyspark-example/main.py我查看了下面提供的示例,但它对理解如何使用默认图像https 附带的连接器没有多大帮助://github.com/datamechanics/examples/blob/main/pyspark-example/main .py

There is some more documentation at https://docs.datamechanics.co/docs/docker-images but it is not very helpful to understand how to use the images indeed.. The point that there is no Dockerfile and also no response to reported issues makes it very difficult.https://docs.datamechanics.co/docs/docker-images上有更多文档,但确实对理解如何使用图像没有太大帮助。关键是没有Dockerfile ,也没有对报告的回应问题使它变得非常困难。

It looks like https://g1thubhub.github.io/docker.html is helpful, although the versions of the images that are used are older.看起来https://g1thubhub.github.io/docker.html很有帮助,尽管使用的图像版本较旧。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM