Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-1171

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: