You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by pt...@apache.org on 2017/08/30 21:08:01 UTC
[38/50] [abbrv] storm git commit: [STORM-2695] Fix in docs: BlobStore
uncompress argument should be Boolean
[STORM-2695] Fix in docs: BlobStore uncompress argument should be Boolean
Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/af1de45b
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/af1de45b
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/af1de45b
Branch: refs/heads/metrics_v2
Commit: af1de45b0657f95ebc19f3b87cad87a4a8e7569c
Parents: ca4e65b
Author: Ethan Li <et...@gmail.com>
Authored: Fri Aug 18 09:21:45 2017 -0500
Committer: Jungtaek Lim <ka...@gmail.com>
Committed: Sun Aug 20 15:41:54 2017 +0900
----------------------------------------------------------------------
docs/distcache-blobstore.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/storm/blob/af1de45b/docs/distcache-blobstore.md
----------------------------------------------------------------------
diff --git a/docs/distcache-blobstore.md b/docs/distcache-blobstore.md
index 350b5de..977a6ed 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.