hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Smith (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3714) Bash tab completion support
Date Mon, 14 Jul 2008 14:46:32 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613334#action_12613334

Chris Smith commented on HADOOP-3714:

I don't think it's hugely practical (it requires bash and a working Hadoop install, and its
inputs and outputs are env vars) or necessary (it's relatively simple, and flexible enough
to work against 0.16.x and 0.19.x, so I don't think that [m]any changes in the future will
affect it) to unit test this, so would propose that it's included as-is

> Bash tab completion support
> ---------------------------
>                 Key: HADOOP-3714
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3714
>             Project: Hadoop Core
>          Issue Type: New Feature
>            Reporter: Chris Smith
>            Assignee: Chris Smith
>            Priority: Trivial
>         Attachments: hadoop-bash-tab-completion, hadoop-bash-tab-completion
> 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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message