LibraryToggle FramesPrintFeedback

Name

zk:set — set a znode's data

Synopsis

zk:set [--help] [-i|--import] {path} {data}

Description

The data stored in a znode should not be too large. ZooKeeper imposes an absolute limit of 1 MB, but in practice a data item should normally be much smaller than that.

[Important]Important

To avoid corruption of the Fabric Registry, you should not modify any znodes under the /fabric/ path using the zk:set command. These registry values should only be changed through the fabric console commands—see Fabric Console Commands.

Arguments

Table 193 describes the commands arguments.

Table 193. zk:set Arguments

ArgumentInterpretation
--helpDisplays the online help for this command
-i,--importImport data from a URL.
path(Required) Path of the znode to set.
data(Required) The new data or URL to import.

Comments powered by Disqus