mogadm host modify...
Saunders, Newton
nsaunders at corp.untd.com
Mon Nov 13 21:45:27 UTC 2006
Hi,
I just updated to the latest version of MogileFS in subversion and am
having some trouble with the mogadm utility. I am unable to change a
host's status or http_port. The following call does not cause an error,
however, it also does not modify the host:
mogadm --trackers=<tracker_host>:<tracker_port> host modify
<storage_node_host> --status=alive --port=22675
The issue lies with the GetOpt::Long configuration. This change fixes
the problem:
[newton] ~/mogilefs > svn diff utils/mogadm
Index: utils/mogadm
===================================================================
--- utils/mogadm (revision 458)
+++ utils/mogadm (working copy)
@@ -135,7 +135,7 @@
"help" => \$opts{help},
"verbose" => \$opts{verbose},
) or abortWithUsage();
-Getopt::Long::Configure("require_order");
+Getopt::Long::Configure("no_require_order");
# bail for help
abortWithUsage() if $opts{help};
[newton] ~/mogilefs >
Thanks,
Newton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/mogilefs/attachments/20061113/ff6ae292/attachment.htm
More information about the mogilefs
mailing list