accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1706) Admin Utilities Should Respect EPIPE
Date Sun, 27 Oct 2013 18:21:33 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13806411#comment-13806411
] 

ASF subversion and git services commented on ACCUMULO-1706:
-----------------------------------------------------------

Commit a1495e3829880c64fdf5eb1eb3bcc072b79701d1 in branch refs/heads/master from [~mdrob]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=a1495e3 ]

ACCUMULO-1706 check for error on sysout

Checking for error conditions inside of loops that use sysout in PrintInfo and FindOfflineTablets.


> 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