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 "Viraj Bhat (JIRA)" <ji...@apache.org> on 2008/06/05 01:37:45 UTC

[jira] Created: (HADOOP-3490) inconsistent output using hadoop fs -dus when using globbing

inconsistent output using hadoop fs -dus when using globbing
------------------------------------------------------------

                 Key: HADOOP-3490
                 URL: https://issues.apache.org/jira/browse/HADOOP-3490
             Project: Hadoop Core
          Issue Type: Bug
          Components: dfs
    Affects Versions: 0.17.0, 0.17.1, 0.18.0
            Reporter: Viraj Bhat
             Fix For: 0.17.1, 0.18.0


prompt> hadoop fs -dus  "/foo/bar/sc*"  /foo/bar/sc0  "/foo/bar/sc1"

hdfs://hadoopmc:8020/foo/bar/sc0   76748722272
hdfs://hadoopmc:8020/foo/bar/sc1  2353927217668
/foo/bar/sc0        76748722272
/foo/bar/sc1  2353927217668 

Some entries in the output are perpended with "hdfs://" while others are not. Globbing with dus results in inconsistent output. This behavior might break some scripts that are assuming consistency


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


[jira] Commented: (HADOOP-3490) inconsistent output using hadoop fs -dus when using globbing

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

Tom White commented on HADOOP-3490:
-----------------------------------

Is this still a problem post HADOOP-3095? It ensures that all filesystems returned fully-qualified paths in FileStatus objects.

> inconsistent output using hadoop fs -dus when using globbing
> ------------------------------------------------------------
>
>                 Key: HADOOP-3490
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3490
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.17.0, 0.17.1, 0.18.0
>            Reporter: Viraj Bhat
>             Fix For: 0.17.1, 0.18.0
>
>
> prompt> hadoop fs -dus  "/foo/bar/sc*"  /foo/bar/sc0  "/foo/bar/sc1"
> hdfs://hadoopmc:8020/foo/bar/sc0   76748722272
> hdfs://hadoopmc:8020/foo/bar/sc1  2353927217668
> /foo/bar/sc0        76748722272
> /foo/bar/sc1  2353927217668 
> Some entries in the output are perpended with "hdfs://" while others are not. Globbing with dus results in inconsistent output. This behavior might break some scripts that are assuming consistency

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


[jira] Resolved: (HADOOP-3490) inconsistent output using hadoop fs -dus when using globbing

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

Viraj Bhat resolved HADOOP-3490.
--------------------------------

       Resolution: Invalid
    Fix Version/s:     (was: 0.17.1)

Tested on the latest Hadoop trunk and inconsistent output when using "hadoop fs -dus" during globbing seems to have been solved


> inconsistent output using hadoop fs -dus when using globbing
> ------------------------------------------------------------
>
>                 Key: HADOOP-3490
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3490
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.17.0, 0.17.1, 0.18.0
>            Reporter: Viraj Bhat
>             Fix For: 0.18.0
>
>
> prompt> hadoop fs -dus  "/foo/bar/sc*"  /foo/bar/sc0  "/foo/bar/sc1"
> hdfs://hadoopmc:8020/foo/bar/sc0   76748722272
> hdfs://hadoopmc:8020/foo/bar/sc1  2353927217668
> /foo/bar/sc0        76748722272
> /foo/bar/sc1  2353927217668 
> Some entries in the output are perpended with "hdfs://" while others are not. Globbing with dus results in inconsistent output. This behavior might break some scripts that are assuming consistency

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