Skip to content

Commit 5cad7b8

Browse files
authored
Fixing Spark shc readme
1 parent e9ad63f commit 5cad7b8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

scala/bigtable-shc/README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,18 @@ While you will need a real Bigtable cluster, you can test the Spark job locally,
8888
if you have Spark insatlled. For testing, consider a Bigtable development
8989
cluster.
9090

91-
spark-submit --class com.example.bigtable.spark.shc.BigtableSource --master local[8] target/cloud-bigtable-dataproc-spark-shc-0.1-jar-with-dependencies.jar $BIGTABLE_TABLE
91+
spark-submit --class com.example.bigtable.spark.shc.BigtableSource --master local[8] \
92+
target/cloud-bigtable-dataproc-spark-shc-0.1-jar-with-dependencies.jar $BIGTABLE_TABLE
9293

9394

9495
### Submit the job to Cloud Dataproc
9596

9697
Now submit your job to Cloud Dataproc:
9798

98-
gcloud dataproc jobs submit spark --cluster $SPARK_CLUSTER --class com.example.bigtable.spark.shc.BigtableSource --jars target/cloud-bigtable-dataproc-spark-shc-0.1-jar-with-dependencies.jar -- $BIGTABLE_TABLE
99+
gcloud dataproc jobs submit spark --cluster $SPARK_CLUSTER \
100+
--class com.example.bigtable.spark.shc.BigtableSource \
101+
--jars target/cloud-bigtable-dataproc-spark-shc-0.1-jar-with-dependencies.jar \
102+
-- $BIGTABLE_TABLE
99103

100104
### Additional examples
101105

0 commit comments

Comments
 (0)