Accumulo
  1. Accumulo
  2. ACCUMULO-1171

Passing relative directories to bulk import fails w/ unhelpful error message

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      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

        Activity

        Keith Turner made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Keith Turner [ kturner ]
        Fix Version/s 1.5.0 [ 12318645 ]
        Resolution Fixed [ 1 ]
        Keith Turner created issue -

          People

          • Assignee:
            Keith Turner
            Reporter:
            Keith Turner
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development