-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5d83053
commit 174339a
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from hdfscontents.hdfscheckpoints import HDFSCheckpoints | ||
|
||
# Tell IPython to use HDFSCheckpoints for checkpoint storage. | ||
c.ContentsManager.checkpoints_class = HDFSCheckpoints | ||
|
||
c.HDFSCheckpoints.hdfs_namenode_host='<namenode_host_ip>' | ||
c.HDFSCheckpoints.hdfs_namenode_port=8020 | ||
c.HDFSCheckpoints.root_dir='/user/amangarg' | ||
c.HDFSCheckpoints.hdfs_user='hdfs' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from hdfscontents.hdfsmanager import HDFSContentsManager | ||
|
||
# Tell IPython to use HDFSContentsManager as ContentsManager . | ||
c.NotebookApp.contents_manager_class = HDFSContentsManager | ||
|
||
c.HDFSCheckpoints.hdfs_namenode_host='<namenode_host_ip>' | ||
c.HDFSCheckpoints.hdfs_namenode_port=8020 | ||
c.HDFSCheckpoints.root_dir='/user/amangarg' | ||
c.HDFSCheckpoints.hdfs_user='hdfs' |