Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ object RecoverableNetworkWordCount {
() => {
createContext(ip, port, outputPath)
})
ssc.checkpoint(checkpointDirectory)
Copy link
Contributor

Choose a reason for hiding this comment

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

The right place to add this is in the createContext function, as all the setting up (including the setting up of checkpoint directory) should be in that function. Could you update this PR based on that?

ssc.start()
ssc.awaitTermination()
}
Expand Down