-
Notifications
You must be signed in to change notification settings - Fork 34
Conversation
@ArtRand some light docs. |
docs/hdfs.md
Outdated
@@ -21,6 +21,10 @@ For more information, see [Inheriting Hadoop Cluster Configuration][8]. | |||
|
|||
For DC/OS HDFS, these configuration files are served at `http://<hdfs.framework-name>.marathon.mesos:<port>/v1/connection`, where `<hdfs.framework-name>` is a configuration variable set in the HDFS package, and `<port>` is the port of its marathon app. | |||
|
|||
### Spark Checkpointing | |||
|
|||
In order to use spark with cehckpointing make sure you follow the instructions [here](https://spark.apache.org/docs/latest/streaming-programming-guide.html#checkpointing) and use an hdfs directory as the checkpoint directory. In the future we plan to support checkpointing at the driver level with local persistent volumes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@skonto This is great. Could you add an example? Also, please remove In the future we plan to support checkpointing at the driver level with local persistent volumes.
although I like the optimism, let's put this in when we have driver level checkpointing.
18a7133
to
5ac26ab
Compare
@ArtRand pls review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@skonto See comments:
docs/hdfs.md
Outdated
|
||
In order to use spark with checkpointing make sure you follow the instructions [here](https://spark.apache.org/docs/latest/streaming-programming-guide.html#checkpointing) and use an hdfs directory as the checkpointing directory. For example: | ||
``` | ||
val checkpointDirectory = hdfs://hdfs/checkpoint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add quotes around the string: "hdfs://hdfs/checkpoint"
docs/hdfs.md
Outdated
@@ -87,7 +97,7 @@ Submit the job with the ticket: | |||
```$bash | |||
dcos spark run --submit-args="\ | |||
--kerberos-principal hdfs/name-0-node.hdfs.autoip.dcos.thisdcos.directory@LOCAL \ | |||
--tgt-secret-path /__dcos_base64__tgt | |||
--tgt-secret-path /__dcos_base64__tgt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a back-slash ("\") at end of this line
5ac26ab
to
cea68b8
Compare
@susanxhuynh pls review, I think its clear for merge. |
Some basic stuff