You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2013/10/24 05:58:41 UTC
[jira] [Updated] (ACCUMULO-1706) Admin Utilities Should Respect
EPIPE
[ https://issues.apache.org/jira/browse/ACCUMULO-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Drob updated ACCUMULO-1706:
--------------------------------
Attachment: 0001-ACCUMULO-1706-check-for-error-on-sysout.patch
This patch illustrates places where a user may pipe the output to something like {{head}} or {{less}}. If other people have utilities that they use and would like better behaviour from, leave a comment. Otherwise, these are my main two, and I don't even know everything else that is out there.
> Admin Utilities Should Respect EPIPE
> ------------------------------------
>
> Key: ACCUMULO-1706
> URL: https://issues.apache.org/jira/browse/ACCUMULO-1706
> Project: Accumulo
> Issue Type: Improvement
> Reporter: Mike Drob
> Assignee: Mike Drob
> Priority: Minor
> Fix For: 1.6.0
>
> Attachments: 0001-ACCUMULO-1706-check-for-error-on-sysout.patch
>
>
> Many of the admin utilities can potentially print a lot of output, but don't play nice with standard unix utilities like {{head}}. These tools should periodically check if the stdout pipe has been closed, and terminate appropriately, instead of continuing to execute and printing output that nobody will ever see.
> This check can be done using {{System.out.checkError()}}.
--
This message was sent by Atlassian JIRA
(v6.1#6144)