Skip to content

Commit 5d04771

Browse files
Merge pull request #251423 from v-akarnase/patch-9
Update apache-spark-shell.md
2 parents d0d8708 + 27013b1 commit 5d04771

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/hdinsight/spark/apache-spark-shell.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: An interactive Spark Shell provides a read-execute-print process fo
44
ms.service: hdinsight
55
ms.topic: how-to
66
ms.custom: hdinsightactive
7-
ms.date: 08/30/2022
7+
ms.date: 09/13/2023
88
---
99

1010
# Run Apache Spark from the Spark Shell
@@ -101,10 +101,10 @@ The Spark Shell command (`spark-shell`, or `pyspark`) supports many command-line
101101
102102
| switch | description | example |
103103
| --- | --- | --- |
104-
| --master MASTER_URL | Specifies the master URL. In HDInsight, this value is always `yarn`. | `--master yarn`|
105-
| --jars JAR_LIST | Comma-separated list of local jars to include on the driver and executor classpaths. In HDInsight, this list is composed of paths to the default filesystem in Azure Storage or Data Lake Storage. | `--jars /path/to/examples.jar` |
106-
| --packages MAVEN_COORDS | Comma-separated list of maven coordinates of jars to include on the driver and executor classpaths. Searches the local maven repo, then maven central, then any additional remote repositories specified with `--repositories`. The format for the coordinates is *groupId*:*artifactId*:*version*. | `--packages "com.microsoft.azure:azure-eventhubs:0.14.0"`|
107-
| --py-files LIST | For Python only, a comma-separated list of .zip, .egg, or .py files to place on the PYTHONPATH. | `--pyfiles "samples.py"` |
104+
| `--master MASTER_URL` | Specifies the master URL. In HDInsight, this value is always `yarn`. | `--master yarn`|
105+
| `--jars JAR_LIST` | Comma-separated list of local jars to include on the driver and executor classpaths. In HDInsight, this list is composed of paths to the default filesystem in Azure Storage or Data Lake Storage. | `--jars /path/to/examples.jar` |
106+
| `--packages MAVEN_COORDS` | Comma-separated list of maven coordinates of jars to include on the driver and executor classpaths. Searches the local maven repo, then maven central, then any additional remote repositories specified with `--repositories`. The format for the coordinates is *groupId*:*artifactId*:*version*. | `--packages "com.microsoft.azure:azure-eventhubs:0.14.0"`|
107+
| `--py-files LIST` | For Python only, a comma-separated list of `.zip`, `.egg`, or `.py` files to place on the PYTHONPATH. | `--pyfiles "samples.py"` |
108108
109109
## Next steps
110110

0 commit comments

Comments
 (0)