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 22:43:13 UTC

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

     [ https://issues.apache.org/jira/browse/ACCUMULO-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Turner resolved ACCUMULO-1171.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.0
         Assignee: Keith Turner
    
> 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