accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-1706) Admin Utilities Should Respect EPIPE
Date Thu, 24 Oct 2013 03:58:41 GMT

     [ 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)

Mime
View raw message