Skip to content

Conversation

@jasonosullivan34
Copy link

What changes were proposed in this pull request?

HDDS-14303. Updating Spark Integration Documentation

Please describe your PR in detail:

  • Updated the documentation for integrating Spark with Ozone

What is the link to the Apache Jira?

https://issues.apache.org/jira/browse/HDDS-14303

How was this patch tested?

Check off which of the following tests were done on this change. If additional testing was done, please elaborate here as well.

  • The CI checks on my fork are passing
  • I verified the rendered content using a local preview
  • I manually verified the steps provided in this change work as described


```properties
# For YARN deployments
spark.yarn.access.hadoopFileSystems=ofs://ozone1/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only works for Spark2. For Spark3 and above, use spark.kerberos.access.hadoopFileSystems

## Prerequisites

1. **Ozone Cluster:** A running Ozone cluster.
2. **Ozone Client JARs:** The `hadoop-ozone-filesystem-hadoop3.jar` must be available on the Spark driver and executor classpath.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

## Prerequisites

1. **Ozone Cluster:** A running Ozone cluster.
2. **Ozone Client JARs:** The `hadoop-ozone-filesystem-hadoop3.jar` must be available on the Spark driver and executor classpath.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed.
It's ozone-filesystem-hadoop3.jar now. https://mvnrepository.com/artifact/org.apache.ozone/ozone-filesystem-hadoop3.

Please update other references to hadoop-ozone-filesystem jar below.

spark.stop()
```

## Spark on Kubernetes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i haven't tried the steps below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants