You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Kenneth Howe (JIRA)" <ji...@apache.org> on 2017/06/06 23:43:19 UTC

[jira] [Reopened] (GEODE-2420) Warn a user if they try to export too much data

     [ https://issues.apache.org/jira/browse/GEODE-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kenneth Howe reopened GEODE-2420:
---------------------------------

The file-size-limit is not honored when connected to the locator via http.

{code}
gfsh>connect --use-http
Successfully connected to: GemFire Manager HTTP service @ http://localhost:7070/gemfire/v1

gfsh>export logs --file-size-limit=10k --dir=exportedlogs
Logs exported to: exportedlogs/exportedLogs_1496683031221.zip

$ ls -l exportedlogs/exportedLogs_1496683031221.zip
-rw-r--r--  1 xxxxx  staff  49420 Jun  5 10:17 exportedlogs/exportedLogs_1496683031221.zip

> Warn a user if they try to export too much data
> -----------------------------------------------
>
>                 Key: GEODE-2420
>                 URL: https://issues.apache.org/jira/browse/GEODE-2420
>             Project: Geode
>          Issue Type: Sub-task
>          Components: configuration, docs, gfsh
>            Reporter: Jared Stewart
>            Assignee: Kenneth Howe
>             Fix For: 1.2.0
>
>
> We should warn a user and prompt for confirmation before trying to perform an `export logs` operation that would result in a file over some threshold.  (Logs and stats have the potential to be very large.)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)