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 "dhruba borthakur (JIRA)" <ji...@apache.org> on 2006/11/01 06:02:16 UTC

[jira] Created: (HADOOP-665) hadoop -rmr does NOT process multiple arguments and does not complain

 hadoop -rmr  does NOT process multiple arguments and does not complain
-----------------------------------------------------------------------

                 Key: HADOOP-665
                 URL: http://issues.apache.org/jira/browse/HADOOP-665
             Project: Hadoop
          Issue Type: Bug
            Reporter: dhruba borthakur


hadoop dfs -rmr /user/arkady/fuchun /user/arkady/fuchun_h /user/arkady/log /user/arkady/t /user/arkady/t1
06/10/31 20:15:31 INFO conf.Configuration: parsing jar:file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/
tools/hadoop/kryptonite/hadoop-0.7.1.jar!/hadoop-default.xml
06/10/31 20:15:31 INFO conf.Configuration: parsing file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/tools/
hadoop/kryptonite/conf/kryptonite2/hadoop-site.xml
06/10/31 20:15:31 INFO ipc.Client: org.apache.hadoop.io.ObjectWritable
ConnectionCuller maxidletime=1000ms: starting Deleted /user/arkady/fuchun


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HADOOP-665) hadoop -rmr does NOT process multiple arguments and does not complain

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-665?page=all ]

dhruba borthakur updated HADOOP-665:
------------------------------------

    Status: Patch Available  (was: Open)

The dfsshell utility now process all command line arguments. Earlier most commands (ls,  lsr, mkdir, cat, rm, rmr and du) were processing only the first argument.

>  hadoop -rmr  does NOT process multiple arguments and does not complain
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-665
>                 URL: http://issues.apache.org/jira/browse/HADOOP-665
>             Project: Hadoop
>          Issue Type: Bug
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>         Attachments: dfsshell_multipleargs.patch
>
>
> hadoop dfs -rmr /user/arkady/fuchun /user/arkady/fuchun_h /user/arkady/log /user/arkady/t /user/arkady/t1
> 06/10/31 20:15:31 INFO conf.Configuration: parsing jar:file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/
> tools/hadoop/kryptonite/hadoop-0.7.1.jar!/hadoop-default.xml
> 06/10/31 20:15:31 INFO conf.Configuration: parsing file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/tools/
> hadoop/kryptonite/conf/kryptonite2/hadoop-site.xml
> 06/10/31 20:15:31 INFO ipc.Client: org.apache.hadoop.io.ObjectWritable
> ConnectionCuller maxidletime=1000ms: starting Deleted /user/arkady/fuchun

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HADOOP-665) hadoop -rmr does NOT process multiple arguments and does not complain

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-665?page=comments#action_12446337 ] 
            
Doug Cutting commented on HADOOP-665:
-------------------------------------

We should also explore whether commons-cli might make it any easier to parse all of these DFS command line options.

>  hadoop -rmr  does NOT process multiple arguments and does not complain
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-665
>                 URL: http://issues.apache.org/jira/browse/HADOOP-665
>             Project: Hadoop
>          Issue Type: Bug
>            Reporter: dhruba borthakur
>
> hadoop dfs -rmr /user/arkady/fuchun /user/arkady/fuchun_h /user/arkady/log /user/arkady/t /user/arkady/t1
> 06/10/31 20:15:31 INFO conf.Configuration: parsing jar:file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/
> tools/hadoop/kryptonite/hadoop-0.7.1.jar!/hadoop-default.xml
> 06/10/31 20:15:31 INFO conf.Configuration: parsing file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/tools/
> hadoop/kryptonite/conf/kryptonite2/hadoop-site.xml
> 06/10/31 20:15:31 INFO ipc.Client: org.apache.hadoop.io.ObjectWritable
> ConnectionCuller maxidletime=1000ms: starting Deleted /user/arkady/fuchun

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HADOOP-665) hadoop -rmr does NOT process multiple arguments and does not complain

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-665?page=all ]

Doug Cutting updated HADOOP-665:
--------------------------------

           Status: Resolved  (was: Patch Available)
    Fix Version/s: 0.8.0
       Resolution: Fixed

I applied this last week.  Thanks, Dhruba!

>  hadoop -rmr  does NOT process multiple arguments and does not complain
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-665
>                 URL: http://issues.apache.org/jira/browse/HADOOP-665
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: dfsshell_multipleargs.patch
>
>
> hadoop dfs -rmr /user/arkady/fuchun /user/arkady/fuchun_h /user/arkady/log /user/arkady/t /user/arkady/t1
> 06/10/31 20:15:31 INFO conf.Configuration: parsing jar:file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/
> tools/hadoop/kryptonite/hadoop-0.7.1.jar!/hadoop-default.xml
> 06/10/31 20:15:31 INFO conf.Configuration: parsing file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/tools/
> hadoop/kryptonite/conf/kryptonite2/hadoop-site.xml
> 06/10/31 20:15:31 INFO ipc.Client: org.apache.hadoop.io.ObjectWritable
> ConnectionCuller maxidletime=1000ms: starting Deleted /user/arkady/fuchun

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HADOOP-665) hadoop -rmr does NOT process multiple arguments and does not complain

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-665?page=comments#action_12446335 ] 
            
dhruba borthakur commented on HADOOP-665:
-----------------------------------------

Similar issue exists with other dfs commands, especially: cat, ls, lsr, mkdir, rm, rmr and du. All these commands operate only on the first specified argument and ignores the rest. I propose that we fix all of them to operate on multiple input arguments.

>  hadoop -rmr  does NOT process multiple arguments and does not complain
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-665
>                 URL: http://issues.apache.org/jira/browse/HADOOP-665
>             Project: Hadoop
>          Issue Type: Bug
>            Reporter: dhruba borthakur
>
> hadoop dfs -rmr /user/arkady/fuchun /user/arkady/fuchun_h /user/arkady/log /user/arkady/t /user/arkady/t1
> 06/10/31 20:15:31 INFO conf.Configuration: parsing jar:file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/
> tools/hadoop/kryptonite/hadoop-0.7.1.jar!/hadoop-default.xml
> 06/10/31 20:15:31 INFO conf.Configuration: parsing file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/tools/
> hadoop/kryptonite/conf/kryptonite2/hadoop-site.xml
> 06/10/31 20:15:31 INFO ipc.Client: org.apache.hadoop.io.ObjectWritable
> ConnectionCuller maxidletime=1000ms: starting Deleted /user/arkady/fuchun

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (HADOOP-665) hadoop -rmr does NOT process multiple arguments and does not complain

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-665?page=all ]

dhruba borthakur reassigned HADOOP-665:
---------------------------------------

    Assignee: dhruba borthakur

>  hadoop -rmr  does NOT process multiple arguments and does not complain
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-665
>                 URL: http://issues.apache.org/jira/browse/HADOOP-665
>             Project: Hadoop
>          Issue Type: Bug
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>
> hadoop dfs -rmr /user/arkady/fuchun /user/arkady/fuchun_h /user/arkady/log /user/arkady/t /user/arkady/t1
> 06/10/31 20:15:31 INFO conf.Configuration: parsing jar:file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/
> tools/hadoop/kryptonite/hadoop-0.7.1.jar!/hadoop-default.xml
> 06/10/31 20:15:31 INFO conf.Configuration: parsing file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/tools/
> hadoop/kryptonite/conf/kryptonite2/hadoop-site.xml
> 06/10/31 20:15:31 INFO ipc.Client: org.apache.hadoop.io.ObjectWritable
> ConnectionCuller maxidletime=1000ms: starting Deleted /user/arkady/fuchun

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HADOOP-665) hadoop -rmr does NOT process multiple arguments and does not complain

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-665?page=all ]

dhruba borthakur updated HADOOP-665:
------------------------------------

    Component/s: dfs
       Priority: Minor  (was: Major)

>  hadoop -rmr  does NOT process multiple arguments and does not complain
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-665
>                 URL: http://issues.apache.org/jira/browse/HADOOP-665
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>            Priority: Minor
>         Attachments: dfsshell_multipleargs.patch
>
>
> hadoop dfs -rmr /user/arkady/fuchun /user/arkady/fuchun_h /user/arkady/log /user/arkady/t /user/arkady/t1
> 06/10/31 20:15:31 INFO conf.Configuration: parsing jar:file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/
> tools/hadoop/kryptonite/hadoop-0.7.1.jar!/hadoop-default.xml
> 06/10/31 20:15:31 INFO conf.Configuration: parsing file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/tools/
> hadoop/kryptonite/conf/kryptonite2/hadoop-site.xml
> 06/10/31 20:15:31 INFO ipc.Client: org.apache.hadoop.io.ObjectWritable
> ConnectionCuller maxidletime=1000ms: starting Deleted /user/arkady/fuchun

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HADOOP-665) hadoop -rmr does NOT process multiple arguments and does not complain

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-665?page=all ]

dhruba borthakur updated HADOOP-665:
------------------------------------

    Attachment: dfsshell_multipleargs.patch

The dfsshell utility now process all command line arguments. Earlier most commands (ls,  lsr, mkdir, cat, rm, rmr and du) were processing only the first argument.

>  hadoop -rmr  does NOT process multiple arguments and does not complain
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-665
>                 URL: http://issues.apache.org/jira/browse/HADOOP-665
>             Project: Hadoop
>          Issue Type: Bug
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>         Attachments: dfsshell_multipleargs.patch
>
>
> hadoop dfs -rmr /user/arkady/fuchun /user/arkady/fuchun_h /user/arkady/log /user/arkady/t /user/arkady/t1
> 06/10/31 20:15:31 INFO conf.Configuration: parsing jar:file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/
> tools/hadoop/kryptonite/hadoop-0.7.1.jar!/hadoop-default.xml
> 06/10/31 20:15:31 INFO conf.Configuration: parsing file:/nfs/ystools/vol/ystools/releng/build/Linux_2.6_rh4_i686/tools/
> hadoop/kryptonite/conf/kryptonite2/hadoop-site.xml
> 06/10/31 20:15:31 INFO ipc.Client: org.apache.hadoop.io.ObjectWritable
> ConnectionCuller maxidletime=1000ms: starting Deleted /user/arkady/fuchun

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira