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 "Gautam Kowshik (JIRA)" <ji...@apache.org> on 2008/03/25 15:25:24 UTC

[jira] Created: (HADOOP-3088) hadoop dfs commands showing inconsistent behaviour..

hadoop dfs commands showing inconsistent behaviour..
----------------------------------------------------

                 Key: HADOOP-3088
                 URL: https://issues.apache.org/jira/browse/HADOOP-3088
             Project: Hadoop Core
          Issue Type: Bug
          Components: dfs
    Affects Versions: 0.15.3
            Reporter: Gautam Kowshik


We're seeing inconsistent behavior with hadoop commands

hadoop dfs -mkdir a/*
Will create a directory called '*' which cannot be deleted using rm (which successfully does expand the *).

Additionally, I am having a problem I didn't have before:
If I want to dfsput large number of files without having to spawn the dfs -put for every file.. I cannot just do a 
hadoop dfs -put local_folder/file_* dfs_folder/

I get :
"Usage: java FsShell [-put <localsrc> <dst>]"

The shell does the expansion but -put has a problem with more than one. This is a fairly rudimentary functionality to have that can improve data movement efficiency.

Also, can I have an alternative for this? I need to push all files that appear in a local folder to the same dest folder again and again.


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


[jira] Commented: (HADOOP-3088) hadoop dfs commands showing inconsistent behaviour..

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

Gautam Kowshik commented on HADOOP-3088:
----------------------------------------

this was fixed in  HADOOP-3091. Marking this as duplicate.

> hadoop dfs commands showing inconsistent behaviour..
> ----------------------------------------------------
>
>                 Key: HADOOP-3088
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3088
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.3
>            Reporter: Gautam Kowshik
>
> We're seeing inconsistent behavior with hadoop commands
> hadoop dfs -mkdir a/*
> Will create a directory called '*' which cannot be deleted using rm (which successfully does expand the *).
> Additionally, I am having a problem I didn't have before:
> If I want to dfsput large number of files without having to spawn the dfs -put for every file.. I cannot just do a 
> hadoop dfs -put local_folder/file_* dfs_folder/
> I get :
> "Usage: java FsShell [-put <localsrc> <dst>]"
> The shell does the expansion but -put has a problem with more than one. This is a fairly rudimentary functionality to have that can improve data movement efficiency.
> Also, can I have an alternative for this? I need to push all files that appear in a local folder to the same dest folder again and again.

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


[jira] Resolved: (HADOOP-3088) hadoop dfs commands showing inconsistent behaviour..

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

Gautam Kowshik resolved HADOOP-3088.
------------------------------------

    Resolution: Duplicate

> hadoop dfs commands showing inconsistent behaviour..
> ----------------------------------------------------
>
>                 Key: HADOOP-3088
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3088
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.3
>            Reporter: Gautam Kowshik
>
> We're seeing inconsistent behavior with hadoop commands
> hadoop dfs -mkdir a/*
> Will create a directory called '*' which cannot be deleted using rm (which successfully does expand the *).
> Additionally, I am having a problem I didn't have before:
> If I want to dfsput large number of files without having to spawn the dfs -put for every file.. I cannot just do a 
> hadoop dfs -put local_folder/file_* dfs_folder/
> I get :
> "Usage: java FsShell [-put <localsrc> <dst>]"
> The shell does the expansion but -put has a problem with more than one. This is a fairly rudimentary functionality to have that can improve data movement efficiency.
> Also, can I have an alternative for this? I need to push all files that appear in a local folder to the same dest folder again and again.

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