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

        Hide
        Hudson added a comment -

        Integrated in Accumulo-Trunk #773 (See https://builds.apache.org/job/Accumulo-Trunk/773/)
        ACCUMULO-1171 converted bulk import paths to fully qualified (Revision 1455322)

        Result = SUCCESS
        kturner :
        Files :

        • /accumulo/trunk
        • /accumulo/trunk/assemble
        • /accumulo/trunk/core
        • /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperationsImpl.java
        • /accumulo/trunk/examples
        • /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/ZooStore.java
        • /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooSession.java
        • /accumulo/trunk/server
        • /accumulo/trunk/src
        Show
        Hudson added a comment - Integrated in Accumulo-Trunk #773 (See https://builds.apache.org/job/Accumulo-Trunk/773/ ) ACCUMULO-1171 converted bulk import paths to fully qualified (Revision 1455322) Result = SUCCESS kturner : Files : /accumulo/trunk /accumulo/trunk/assemble /accumulo/trunk/core /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperationsImpl.java /accumulo/trunk/examples /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/ZooStore.java /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooSession.java /accumulo/trunk/server /accumulo/trunk/src
        Hide
        Hudson added a comment -

        Integrated in Accumulo-Trunk-Hadoop-2.0 #132 (See https://builds.apache.org/job/Accumulo-Trunk-Hadoop-2.0/132/)
        ACCUMULO-1171 converted bulk import paths to fully qualified (Revision 1455322)

        Result = SUCCESS
        kturner :
        Files :

        • /accumulo/trunk
        • /accumulo/trunk/assemble
        • /accumulo/trunk/core
        • /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperationsImpl.java
        • /accumulo/trunk/examples
        • /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/ZooStore.java
        • /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooSession.java
        • /accumulo/trunk/server
        • /accumulo/trunk/src
        Show
        Hudson added a comment - Integrated in Accumulo-Trunk-Hadoop-2.0 #132 (See https://builds.apache.org/job/Accumulo-Trunk-Hadoop-2.0/132/ ) ACCUMULO-1171 converted bulk import paths to fully qualified (Revision 1455322) Result = SUCCESS kturner : Files : /accumulo/trunk /accumulo/trunk/assemble /accumulo/trunk/core /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperationsImpl.java /accumulo/trunk/examples /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/ZooStore.java /accumulo/trunk/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooSession.java /accumulo/trunk/server /accumulo/trunk/src
        Hide
        Hudson added a comment -

        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
        Show
        Hudson added a comment - 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
        Hide
        Hudson added a comment -

        Integrated in Accumulo-1.5-Hadoop-2.0 #26 (See https://builds.apache.org/job/Accumulo-1.5-Hadoop-2.0/26/)
        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
        Show
        Hudson added a comment - Integrated in Accumulo-1.5-Hadoop-2.0 #26 (See https://builds.apache.org/job/Accumulo-1.5-Hadoop-2.0/26/ ) 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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development