You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Chris Smith (JIRA)" <ji...@apache.org> on 2008/07/08 17:18:31 UTC

[jira] Created: (HADOOP-3714) Bash tab completion support

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
            Priority: Trivial
         Attachments: hadoop.sh

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.


[jira] Updated: (HADOOP-3714) Bash tab completion support

Posted by "Chris Smith (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Smith updated HADOOP-3714:
--------------------------------

    Attachment: hadoop-bash-tab-completion

Added ASF license to the script

> 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.


[jira] Updated: (HADOOP-3714) Bash tab completion support

Posted by "Chris Smith (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Smith updated HADOOP-3714:
--------------------------------

    Status: Patch Available  (was: Open)

> 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
>            Priority: Trivial
>         Attachments: hadoop-bash-tab-completion, hadoop.sh
>
>
> 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.


[jira] Commented: (HADOOP-3714) Bash tab completion support

Posted by "Chris Smith (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (HADOOP-3714) Bash tab completion support

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613117#action_12613117 ] 

Hadoop QA commented on HADOOP-3714:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12385764/hadoop-bash-tab-completion
  against trunk revision 676069.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no tests are needed for this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    -1 release audit.  The applied patch generated 210 release audit warnings (more than the trunk's current 209 warnings).

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2845/testReport/
Release audit warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2845/artifact/trunk/current/releaseAuditDiffWarnings.txt
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2845/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2845/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2845/console

This message is automatically generated.

> 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
>
>
> 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.


[jira] Updated: (HADOOP-3714) Bash tab completion support

Posted by "Chris Smith (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Smith updated HADOOP-3714:
--------------------------------

    Attachment:     (was: hadoop.sh)

> 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
>            Priority: Trivial
>         Attachments: 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.


[jira] Commented: (HADOOP-3714) Bash tab completion support

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624785#action_12624785 ] 

Hudson commented on HADOOP-3714:
--------------------------------

Integrated in Hadoop-trunk #581 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/581/])

> 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
>             Fix For: 0.19.0
>
>         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.


[jira] Updated: (HADOOP-3714) Bash tab completion support

Posted by "Chris Smith (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Smith updated HADOOP-3714:
--------------------------------

    Attachment: hadoop-bash-tab-completion

Attached patch that puts the script in src/contrib/bash-tab-completion, and includes a README file.

Also fixed the off-by-one error which caused 'or' to be suggested as a top-level command.

> 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
>            Priority: Trivial
>         Attachments: hadoop-bash-tab-completion, hadoop.sh
>
>
> 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.


[jira] Commented: (HADOOP-3714) Bash tab completion support

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613319#action_12613319 ] 

Hadoop QA commented on HADOOP-3714:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12385967/hadoop-bash-tab-completion
  against trunk revision 676069.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no tests are needed for this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2857/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2857/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2857/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2857/console

This message is automatically generated.

> 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.


[jira] Updated: (HADOOP-3714) Bash tab completion support

Posted by "Robert Chansler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Chansler updated HADOOP-3714:
------------------------------------

    Component/s: scripts

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


[jira] Updated: (HADOOP-3714) Bash tab completion support

Posted by "Chris Smith (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Smith updated HADOOP-3714:
--------------------------------

    Status: In Progress  (was: Patch Available)

> 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.


[jira] Assigned: (HADOOP-3714) Bash tab completion support

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Douglas reassigned HADOOP-3714:
-------------------------------------

    Assignee: Chris Smith

> 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
>
>
> 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.


[jira] Updated: (HADOOP-3714) Bash tab completion support

Posted by "Chris Smith (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Smith updated HADOOP-3714:
--------------------------------

    Attachment: hadoop.sh

> 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
>            Priority: Trivial
>         Attachments: hadoop.sh
>
>
> 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.


[jira] Updated: (HADOOP-3714) Bash tab completion support

Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Enis Soztutar updated HADOOP-3714:
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.19.0
     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]
           Status: Resolved  (was: Patch Available)

I've committed this. Thanks Chris !

> 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
>             Fix For: 0.19.0
>
>         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.


[jira] Commented: (HADOOP-3714) Bash tab completion support

Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612475#action_12612475 ] 

Enis Soztutar commented on HADOOP-3714:
---------------------------------------

Very useful patch. 
We can include this in a new contrib bash-tab-completion. Could you please provide a patch for it, and supply a README file. 
More minor thing I noticed is that it displays "or" as a first command (I guess originating from the hadoop script). 


> 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
>            Priority: Trivial
>         Attachments: hadoop.sh
>
>
> 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.


[jira] Updated: (HADOOP-3714) Bash tab completion support

Posted by "Chris Smith (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Smith updated HADOOP-3714:
--------------------------------

    Status: Patch Available  (was: In Progress)

> 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.