【发布时间】:2019-04-03 21:51:22
【问题描述】:
我在 VPС 中使用 Apache Spark 和 Redshift,并且还使用 AWS S3 作为 Redshift COPY 的源数据和临时数据。
现在我怀疑从/向 AWS S3 读取/写入的性能不够好,根据以下讨论中的建议 https://github.com/databricks/spark-redshift/issues/318 我已经在 VPC 中创建了 S3 端点。现在,当我从 S3 加载数据时,我在创建 S3 端点之前和之后看不到任何性能差异。
在 Apache Spark 中,我通过以下方式读取数据:
spark.read.csv("s3://example-dev-data/dictionary/file.csv")
我是否需要在 AWS EMR Apache Spark 上添加/配置一些额外的逻辑/配置才能正确使用 AWS S3 端点?
【问题讨论】:
标签: amazon-web-services apache-spark amazon-s3 amazon-emr