Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A0CF1065F for ; Fri, 25 Oct 2013 23:14:34 +0000 (UTC) Received: (qmail 91831 invoked by uid 500); 25 Oct 2013 23:14:33 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 91803 invoked by uid 500); 25 Oct 2013 23:14:33 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 91763 invoked by uid 99); 25 Oct 2013 23:14:32 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Oct 2013 23:14:32 +0000 Date: Fri, 25 Oct 2013 23:14:32 +0000 (UTC) From: "John Vines (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1706) Admin Utilities Should Respect EPIPE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13805807#comment-13805807 ] John Vines commented on ACCUMULO-1706: -------------------------------------- I don't know too much about this, but it seems fine. If people want to see better behavior for other utilities, they can put in tickets down the road. I say ship it. > 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)