What steps will reproduce the problem?
1. Execute
./bin/voldemort-admin-tool.sh --restore --url [url] --node [node-id]
What is the expected output? What do you see instead?
Expected output:
Starting restore
What I see:
Exception in thread "main" java.lang.NullPointerException
at voldemort.VoldemortAdminTool.main(VoldemortAdminTool.java:218)
What version of the product are you using? On what operating system?
0.90.1
Please provide any additional information below.
The wiki https://github.com/voldemort/voldemort/wiki/Voldemort-Admin-tool
states that the command should be valid.
Checking the code, seems that the value is mandatory
./bin/voldemort-admin-tool.sh --restore 5 --url [url] --node [node-id]
Works perfectly.
I think that either the documentation should be fixed, either the CmdUtils
class should properly support optional values.
Original issue reported on code.google.com by ctasada on 18 Apr 2012 at 3:41
Original issue reported on code.google.com by
ctasada
on 18 Apr 2012 at 3:41