geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aba...@apache.org
Subject [27/58] [abbrv] geode git commit: GEODE-2420: Warn a user if they try to export too much data, update gfsh command ref to match latest code changes
Date Mon, 17 Jul 2017 18:06:36 GMT
GEODE-2420: Warn a user if they try to export too much data, update gfsh command ref to match
latest code changes


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/74328d26
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/74328d26
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/74328d26

Branch: refs/heads/master
Commit: 74328d2682b77f6ded1077af992944e8a6d99430
Parents: 287bdd0
Author: Dave Barnes <dbarnes@pivotal.io>
Authored: Fri Jun 9 15:38:28 2017 -0700
Committer: Dave Barnes <dbarnes@pivotal.io>
Committed: Fri Jun 9 15:38:50 2017 -0700

----------------------------------------------------------------------
 .../gfsh/command-pages/export.html.md.erb         | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/74328d26/geode-docs/tools_modules/gfsh/command-pages/export.html.md.erb
----------------------------------------------------------------------
diff --git a/geode-docs/tools_modules/gfsh/command-pages/export.html.md.erb b/geode-docs/tools_modules/gfsh/command-pages/export.html.md.erb
index f0c6d54..e9c79d3 100644
--- a/geode-docs/tools_modules/gfsh/command-pages/export.html.md.erb
+++ b/geode-docs/tools_modules/gfsh/command-pages/export.html.md.erb
@@ -186,23 +186,27 @@ export logs [--dir=value] [--group=value(,value)*] [--member=value(,value)*]
 | <span class="keyword parmname">\\-\\-end-time</span>       | Log entries that
occurred before this time will be exported. Format: yyyy/MM/dd/HH/mm/ss/SSS/z OR yyyy/MM/dd
              | no limit      |
 | <span class="keyword parmname">\\-\\-logs-only</span>       | Whether to export
only logs (not statistics)               | If parameter not specified: false. If parameter
specified without a value: true      |
 | <span class="keyword parmname">\\-\\-stats-only</span>       | Whether to export
only statistics (not logs)               | If parameter not specified: false. If parameter
specified without a value: true      |
-| <span class="keyword parmname">\\-\\-file-size-limit</span>       | Limits
size of the file that can be exported. Specify 0 (zero) for no limit. Value is in megabytes
by default or [k,m,g,t] may be specified.              | If parameter not specified: 100m.
If parameter specified without a value: 0      |
+| <span class="keyword parmname">\\-\\-file-size-limit</span>       | Limits
total unzipped size of the exported files. Specify 0 (zero) for no limit. Value is in megabytes
by default or [k,m,g,t] may be specified.              | If parameter not specified: 100m.
If parameter specified without a value: 0      |
 
 <span class="tablecap">Table 4. Export Logs Parameters</span>
 
-**Example Commands:**
+**Example commands, showing output:**
 
 ``` pre
-export logs --dir=data/logs
+gfsh>export logs --dir=data/logs
+Logs exported to the connected member's file system: /my-locator/data/logs/exportedLogs_1489513007261.zip
 ```
 
-**Sample Output:**
-
 ``` pre
-gfsh>export logs
-Logs exported to the connected member's file system: /data/my-locator/exportedLogs_1489513007261.zip
+gfsh>export logs --dir=data/logs --file-size-limit=1k
+Estimated exported logs expanded file size = 95599, file-size-limit = 1024.
+To disable exported logs file size check use option "--file-size-limit=0".
+
+gfsh>export logs --dir=data/logs --file-size-limit=99k
+Logs exported to the connected member's file system: /my-locator/data/logs/exportedLogs_1489513007261.zip
 ```
 
+
 ## <a id="topic_sjg_bvt_gq" class="no-quick-link"></a>export offline-disk-store
 
 Export region data from an offline disk store into gemfire snapshot files.


Mime
View raw message