Last active
June 17, 2017 05:33
-
-
Save TomonoriSoejima/fb9be79d56300eb71b762d1307611953 to your computer and use it in GitHub Desktop.
hadoop plugin memo
This file contains hidden or 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
# hdfs getconf -confKey fs.default.name | |
# when you run into error in connecting to hadoop, run above. | |
# Then the output is what you need to specify at uri in settngs. | |
PUT _snapshot/tomo_repository | |
{ | |
"type": "hdfs", | |
"settings": { | |
"uri": "hdfs://localhost:9000/", | |
"path": "/user/surfer" | |
} | |
} | |
PUT /_snapshot/tomo_repository/snapshot_2?wait_for_completion=true | |
{ | |
"indices": "hotel", | |
"include_global_state": true | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment