From aede02eb34c5c8078a3d3bdbab38b4dac65f2411 Mon Sep 17 00:00:00 2001 From: Ethan Li Date: Fri, 18 Aug 2017 09:21:45 -0500 Subject: [PATCH] [STORM-2695] Fix in docs: BlobStore uncompress argument should be Boolean --- docs/distcache-blobstore.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/distcache-blobstore.md b/docs/distcache-blobstore.md index 350b5deb206..977a6ed22fc 100644 --- a/docs/distcache-blobstore.md +++ b/docs/distcache-blobstore.md @@ -68,7 +68,7 @@ key “key1” having a local file name mapping named “blob_file” and it is ``` storm jar /home/y/lib/storm-starter/current/storm-starter-jar-with-dependencies.jar -org.apache.storm.starter.clj.word_count test_topo -c topology.blobstore.map='{"key1":{"localname":"blob_file", "uncompress":"false"},"key2":{}}' +org.apache.storm.starter.clj.word_count test_topo -c topology.blobstore.map='{"key1":{"localname":"blob_file", "uncompress":false},"key2":{}}' ``` ### Blob Creation Process @@ -99,7 +99,7 @@ end, the supervisor and localizer talks to HdfsBlobStore through “HdfsClientBl ## Additional Features and Documentation ``` storm jar /home/y/lib/storm-starter/current/storm-starter-jar-with-dependencies.jar org.apache.storm.starter.clj.word_count test_topo --c topology.blobstore.map='{"key1":{"localname":"blob_file", "uncompress":"false"},"key2":{}}' +-c topology.blobstore.map='{"key1":{"localname":"blob_file", "uncompress":false},"key2":{}}' ``` ### Compression @@ -381,7 +381,7 @@ following format. A shortcut is to add the configuration item on the command line when starting a topology by using the **-c** command: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --c topology.blobstore.map='{"[KEY]":{"localname":"[VALUE]", "uncompress":"[true|false]"}}' +-c topology.blobstore.map='{"[KEY]":{"localname":"[VALUE]", "uncompress":[true|false]}}' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Note: Please take care of the quotes. @@ -397,7 +397,7 @@ file-name-like format and extension, so it can be uncompressed correctly. ###### Example: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -storm jar /home/y/lib/storm-starter/current/storm-starter-jar-with-dependencies.jar org.apache.storm.starter.clj.word_count test_topo -c topology.blobstore.map='{"key1":{"localname":"blob_file", "uncompress":"false"},"key2":{}}' +storm jar /home/y/lib/storm-starter/current/storm-starter-jar-with-dependencies.jar org.apache.storm.starter.clj.word_count test_topo -c topology.blobstore.map='{"key1":{"localname":"blob_file", "uncompress":false},"key2":{}}' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Note: Please take care of the quotes.