Accumulo
  1. Accumulo
  2. ACCUMULO-2235

'du' shell command doesn't work when not in a table

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.1, 1.6.0
    • Component/s: shell
    • Labels:
      None

      Description

      Open the shell, type `du trace`, and receive an error.

      The help on the du command says that it can take one to many tables to print, but it forces you to always have a table selected, and always includes that table (even if not provided as an argument).

      A workaround is to select a table first.

        Activity

        Josh Elser created issue -
        Hide
        ASF subversion and git services added a comment -

        Commit 707e74e057bc449aced48147544153d0571801d0 in branch refs/heads/1.5.1-SNAPSHOT from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=707e74e ]

        ACCUMULO-2235 Make the du shell command successful when not in a table context.

        Show
        ASF subversion and git services added a comment - Commit 707e74e057bc449aced48147544153d0571801d0 in branch refs/heads/1.5.1-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=707e74e ] ACCUMULO-2235 Make the du shell command successful when not in a table context.
        Hide
        ASF subversion and git services added a comment -

        Commit 707e74e057bc449aced48147544153d0571801d0 in branch refs/heads/1.6.0-SNAPSHOT from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=707e74e ]

        ACCUMULO-2235 Make the du shell command successful when not in a table context.

        Show
        ASF subversion and git services added a comment - Commit 707e74e057bc449aced48147544153d0571801d0 in branch refs/heads/1.6.0-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=707e74e ] ACCUMULO-2235 Make the du shell command successful when not in a table context.
        Hide
        ASF subversion and git services added a comment -

        Commit 707e74e057bc449aced48147544153d0571801d0 in branch refs/heads/master from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=707e74e ]

        ACCUMULO-2235 Make the du shell command successful when not in a table context.

        Show
        ASF subversion and git services added a comment - Commit 707e74e057bc449aced48147544153d0571801d0 in branch refs/heads/master from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=707e74e ] ACCUMULO-2235 Make the du shell command successful when not in a table context.
        Josh Elser made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Hide
        ASF subversion and git services added a comment -

        Commit 00bd820ef9ff016305241504eb83e3c6e90dd873 in branch refs/heads/1.5.1-SNAPSHOT from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=00bd820 ]

        ACCUMULO-2235 Fix up formatter for madrob and make the du test a little less sensitive to other tests

        Show
        ASF subversion and git services added a comment - Commit 00bd820ef9ff016305241504eb83e3c6e90dd873 in branch refs/heads/1.5.1-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=00bd820 ] ACCUMULO-2235 Fix up formatter for madrob and make the du test a little less sensitive to other tests
        Hide
        ASF subversion and git services added a comment -

        Commit 00bd820ef9ff016305241504eb83e3c6e90dd873 in branch refs/heads/1.6.0-SNAPSHOT from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=00bd820 ]

        ACCUMULO-2235 Fix up formatter for madrob and make the du test a little less sensitive to other tests

        Show
        ASF subversion and git services added a comment - Commit 00bd820ef9ff016305241504eb83e3c6e90dd873 in branch refs/heads/1.6.0-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=00bd820 ] ACCUMULO-2235 Fix up formatter for madrob and make the du test a little less sensitive to other tests
        Hide
        ASF subversion and git services added a comment -

        Commit 00bd820ef9ff016305241504eb83e3c6e90dd873 in branch refs/heads/master from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=00bd820 ]

        ACCUMULO-2235 Fix up formatter for madrob and make the du test a little less sensitive to other tests

        Show
        ASF subversion and git services added a comment - Commit 00bd820ef9ff016305241504eb83e3c6e90dd873 in branch refs/heads/master from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=00bd820 ] ACCUMULO-2235 Fix up formatter for madrob and make the du test a little less sensitive to other tests
        Hide
        Mike Drob added a comment -

        // create and delete a table so we get out of a table context in the shell
        exec("createtable du_test_table", true);
        exec("deletetable -f du_test_table", true);

        IIRC, there's also a "notable" command to do just that.

        Show
        Mike Drob added a comment - // create and delete a table so we get out of a table context in the shell exec("createtable du_test_table", true); exec("deletetable -f du_test_table", true); IIRC, there's also a "notable" command to do just that.
        Hide
        ASF subversion and git services added a comment -

        Commit 6989d99f193ded70f7f5c7443d7fed2d08b2572b in branch refs/heads/1.5.1-SNAPSHOT from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=6989d99 ]

        ACCUMULO-2235 Replace the create/delete table calls with the notable "notable" command.

        Show
        ASF subversion and git services added a comment - Commit 6989d99f193ded70f7f5c7443d7fed2d08b2572b in branch refs/heads/1.5.1-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=6989d99 ] ACCUMULO-2235 Replace the create/delete table calls with the notable "notable" command.
        Hide
        ASF subversion and git services added a comment -

        Commit 6989d99f193ded70f7f5c7443d7fed2d08b2572b in branch refs/heads/1.6.0-SNAPSHOT from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=6989d99 ]

        ACCUMULO-2235 Replace the create/delete table calls with the notable "notable" command.

        Show
        ASF subversion and git services added a comment - Commit 6989d99f193ded70f7f5c7443d7fed2d08b2572b in branch refs/heads/1.6.0-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=6989d99 ] ACCUMULO-2235 Replace the create/delete table calls with the notable "notable" command.
        Hide
        ASF subversion and git services added a comment -

        Commit 6989d99f193ded70f7f5c7443d7fed2d08b2572b in branch refs/heads/master from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=6989d99 ]

        ACCUMULO-2235 Replace the create/delete table calls with the notable "notable" command.

        Show
        ASF subversion and git services added a comment - Commit 6989d99f193ded70f7f5c7443d7fed2d08b2572b in branch refs/heads/master from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=6989d99 ] ACCUMULO-2235 Replace the create/delete table calls with the notable "notable" command.
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1d 2h 53m 1 Josh Elser 23/Jan/14 04:34

          People

          • Assignee:
            Josh Elser
            Reporter:
            Josh Elser
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development