You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Keith Turner (JIRA)" <ji...@apache.org> on 2013/03/11 20:57:13 UTC

[jira] [Created] (ACCUMULO-1171) Passing relative directories to bulk import fails w/ unhelpful error message

Keith Turner created ACCUMULO-1171:
--------------------------------------

             Summary: 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


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