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 A33C3D1FA for ; Mon, 11 Mar 2013 23:25:13 +0000 (UTC) Received: (qmail 75459 invoked by uid 500); 11 Mar 2013 23:25:13 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 75403 invoked by uid 500); 11 Mar 2013 23:25:13 -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 75394 invoked by uid 99); 11 Mar 2013 23:25:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Mar 2013 23:25:13 +0000 Date: Mon, 11 Mar 2013 23:25:13 +0000 (UTC) From: "Hudson (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1171) Passing relative directories to bulk import fails w/ unhelpful error message 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-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13599469#comment-13599469 ] Hudson commented on ACCUMULO-1171: ---------------------------------- Integrated in Accumulo-1.5 #28 (See [https://builds.apache.org/job/Accumulo-1.5/28/]) ACCUMULO-1171 revert accidental checkin (Revision 1455315) ACCUMULO-1171 converted bulk import paths to fully qualified (Revision 1455313) Result = SUCCESS kturner : Files : * /accumulo/branches/1.5/test/system/continuous/agitator.pl kturner : Files : * /accumulo/branches/1.5/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperationsImpl.java * /accumulo/branches/1.5/test/system/continuous/agitator.pl > Passing relative directories to bulk import fails w/ unhelpful error message > ---------------------------------------------------------------------------- > > Key: ACCUMULO-1171 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1171 > Project: Accumulo > Issue Type: Bug > Affects Versions: 1.4.0 > Reporter: Keith Turner > Assignee: Keith Turner > Fix For: 1.5.0 > > > Bulk import does some sanity checks on the client side so that it can fail fast. When a user passes relative directories to bulk import, these sanity checks may pass because cwd+reldir is ok. Then code then passes these relative dirs to the server side which has a different cwd. The relative paths fail in the server side and the user does not get a very useful error message. > There are at least two possible solutions : > * In client code convert relative paths to URIs before passing to server. > * Reject relative paths in client code -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira