@Override public String getLongUsage() { final TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("<path>", "The path to the root of the encryption zone. "); return getShortUsage() + "\n" + "Provision a trash directory for an encryption zone.\n\n" + listing.toString(); }
@Override public String getLongUsage() { final TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("<file>", "The path of the xml file which defines the EC policies to add"); return getShortUsage() + "\n" + "Add a list of user defined erasure coding policies.\n" + listing.toString(); }
@Override public String getLongUsage() { final TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("<path>", "The path of the file/directory for getting the storage policy"); return getShortUsage() + "\n" + "Get the storage policy of a file/directory.\n\n" + listing.toString(); }
@Override public String getLongUsage() { final TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("<command-name>", "The command for which to get " + "detailed help. If no command is specified, print detailed help for " + "all commands"); return getShortUsage() + "\n" + "Get detailed help about a command.\n\n" + listing.toString(); }
@Override public String getLongUsage() { final TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("<path>", "The path to the file to show encryption info."); return getShortUsage() + "\n" + "Get encryption info of a file.\n\n" + listing.toString(); }
@Override public String getLongUsage() { TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("<id>", "The id of the cache directive to remove. " + "You must have write permission on the pool of the " + "directive in order to remove it. To see a list " + "of cache directive IDs, use the -listDirectives command."); return getShortUsage() + "\n" + "Remove a cache directive.\n\n" + listing.toString(); }
@Override public String getLongUsage() { TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("<path>", "The path of the directory " + "from which the erasure coding policy will be unset."); return getShortUsage() + "\n" + "Unset the erasure coding policy for a directory.\n\n" + listing.toString(); }
@Override public String getLongUsage() { TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("<policy>", "The name of the erasure coding policy"); return getShortUsage() + "\n" + "Enable the erasure coding policy.\n\n" + listing.toString(); }
@Override public String getLongUsage() { TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("<policy>", "The name of the erasure coding policy"); return getShortUsage() + "\n" + "Disable the erasure coding policy.\n\n" + listing.toString(); }
@Override public String getLongUsage() { TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("<path>", "The path of the file/directory " + "from which the storage policy will be unset."); return getShortUsage() + "\n" + "Unset the storage policy set for a file/directory.\n\n" + listing.toString(); }
@Override public String getLongUsage() { TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("-path <path>", "The path of the cache directives to remove. " + "You must have write permission on the pool of the directive in order " + "to remove it. To see a list of cache directives, use the " + "-listDirectives command."); return getShortUsage() + "\n" + "Remove every cache directive with the specified path.\n\n" + listing.toString(); }
@Override public String getLongUsage() { final TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("<path>", "The path of the file/directory for getting the erasure coding " + "policy"); return getShortUsage() + "\n" + "Get the erasure coding policy of a file/directory.\n\n" + listing.toString(); }
@Override public String getLongUsage() { TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("<policy>", "The name of the erasure coding policy"); return getShortUsage() + "\n" + "Remove an user defined erasure coding policy.\n" + listing.toString(); }
@Override public String getLongUsage() { final TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("<path>", "The path of the encryption zone to create. " + "It must be an empty directory. A trash directory is provisioned " + "under this path."); listing.addRow("<keyName>", "Name of the key to use for the " + "encryption zone."); return getShortUsage() + "\n" + "Create a new encryption zone.\n\n" + listing.toString(); }
@Override public String getLongUsage() { final TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("<action>", "The re-encrypt action to perform. Must be -start or -cancel."); listing.addRow("<zone>", "The path to the zone to be re-encrypted."); return getShortUsage() + "\n" + "Issue a re-encryption command for" + " an encryption zone. Requires superuser permissions.\n\n" + listing.toString(); }
@Override public String getLongUsage() { TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("<path>", "The path of the file/directory to set storage" + " policy"); listing.addRow("<policy>", "The name of the block storage policy"); return getShortUsage() + "\n" + "Set the storage policy to a file/directory.\n\n" + listing.toString(); }
@Override public String getLongUsage() { TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("-stats", "Display additional cache pool statistics."); listing.addRow("<name>", "If specified, list only the named cache pool."); return getShortUsage() + "\n" + WordUtils.wrap("Display information about one or more cache pools, " + "e.g. name, owner, group, permissions, etc.", AdminHelper.MAX_LINE_WIDTH) + "\n\n" + listing.toString(); }
@Override public String getLongUsage() { TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("<path>", "The path of the file/directory to set " + "the erasure coding policy"); listing.addRow("<policy>", "The name of the erasure coding policy"); listing.addRow("-replicate", "force 3x replication scheme on the directory"); return getShortUsage() + "\n" + "Set the erasure coding policy for a file/directory.\n\n" + listing.toString() + "\n" + "-replicate and -policy are optional arguments. They cannot been " + "used at the same time"; }
@Override public String getLongUsage() { TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("-stats", "List path-based cache directive statistics."); listing.addRow("<path>", "List only " + "cache directives with this path. " + "Note that if there is a cache directive for <path> " + "in a cache pool that we don't have read access for, it " + "will not be listed."); listing.addRow("<pool>", "List only path cache directives in that pool."); listing.addRow("<id>", "List the cache directive with this id."); return getShortUsage() + "\n" + "List cache directives.\n\n" + listing.toString(); }
@Override public String getLongUsage() { TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("<name>", "Name of the pool to modify."); listing.addRow("<owner>", "Username of the owner of the pool"); listing.addRow("<group>", "Groupname of the group of the pool."); listing.addRow("<mode>", "Unix-style permissions of the pool in octal."); listing.addRow("<limit>", "Maximum number of bytes that can be cached " + "by this pool."); listing.addRow("<defaultReplication>", "Default replication num for " + "directives in this pool"); listing.addRow("<maxTtl>", "The maximum allowed time-to-live for " + "directives being added to the pool."); return getShortUsage() + "\n" + WordUtils.wrap("Modifies the metadata of an existing cache pool. " + "See usage of " + AddCachePoolCommand.NAME + " for more details.", AdminHelper.MAX_LINE_WIDTH) + "\n\n" + listing.toString(); }