Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.19.0
    • Component/s: scripts
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Adds a new contrib, bash-tab-completion, which enables bash tab completion for the bin/hadoop script. See the README file in the contrib directory for the installation.

      Description

      The attached Bash script adds support for tab completion of most arguments to the main Hadoop script (bin/hadoop). Namely, it allows tab completion of all the command names, subcommands for the fs, dfsadmin, job, namenode and pipe commands, arguments of the jar command and most arguments to the fs subcommands (completing local and dfs paths as appropriate).

      The file can be dropped into /etc/bash_completion.d/ on Debian-like distros, and it should then start working the next time Bash is started.

      1. hadoop-bash-tab-completion
        5 kB
        Chris Smith
      2. hadoop-bash-tab-completion
        4 kB
        Chris Smith

        Activity

        Chris Smith created issue -
        Chris Smith made changes -
        Field Original Value New Value
        Attachment hadoop.sh [ 12385507 ]
        Chris Smith made changes -
        Attachment hadoop-bash-tab-completion [ 12385764 ]
        Chris Smith made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Chris Smith made changes -
        Attachment hadoop.sh [ 12385507 ]
        Chris Douglas made changes -
        Assignee Chris Smith [ md87 ]
        Chris Smith made changes -
        Status Patch Available [ 10002 ] In Progress [ 3 ]
        Chris Smith made changes -
        Attachment hadoop-bash-tab-completion [ 12385967 ]
        Chris Smith made changes -
        Status In Progress [ 3 ] Patch Available [ 10002 ]
        Enis Soztutar made changes -
        Fix Version/s 0.19.0 [ 12313211 ]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Release Note Adds a new contrib, bash-tab-completion, which enables bash tab completion for the bin/hadoop script. See the README file in the contrib directory for the installation.
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Robert Chansler made changes -
        Component/s scripts [ 12311393 ]
        Nigel Daley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Chris Smith
            Reporter:
            Chris Smith
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development