You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Ashrith Barthur (Created) (JIRA)" <ji...@apache.org> on 2011/11/17 01:31:51 UTC

[jira] [Created] (HDFS-2557) Naming convention for files being moved into HDFS

Naming convention for files being moved into HDFS
-------------------------------------------------

                 Key: HDFS-2557
                 URL: https://issues.apache.org/jira/browse/HDFS-2557
             Project: Hadoop HDFS
          Issue Type: Bug
         Environment: Fedora
            Reporter: Ashrith Barthur
            Priority: Minor


Hadoop throws an error saying that 
-bash-3.2$ hadoop fs -put 20100822_03\:47\:08.txt /testing
put: java.net.URISyntaxException: Relative path in absolute URI: 20100822_03:47:08.txt
Usage: java FsShell [-put <localsrc> ... <dst>]

This happens whenever there is a colon in the name of the file. Here the colon is flanking by a backslash making it a literal but hadoop still throws the error. If the colons are removed then the error does not crop up. So it must be some issue with handling the URI. 

DO let me know if there is any other information that you need. I would be glad to provide it. Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HDFS-2557) Naming convention for files being moved into HDFS

Posted by "Harsh J (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harsh J resolved HDFS-2557.
---------------------------

    Resolution: Duplicate
    
> Naming convention for files being moved into HDFS
> -------------------------------------------------
>
>                 Key: HDFS-2557
>                 URL: https://issues.apache.org/jira/browse/HDFS-2557
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.2
>         Environment: Fedora
>            Reporter: Ashrith Barthur
>            Priority: Minor
>
> Hadoop throws an error saying that 
> -bash-3.2$ hadoop fs -put 20100822_03\:47\:08.txt /testing
> put: java.net.URISyntaxException: Relative path in absolute URI: 20100822_03:47:08.txt
> Usage: java FsShell [-put <localsrc> ... <dst>]
> This happens whenever there is a colon in the name of the file. Here the colon is flanking by a backslash making it a literal but hadoop still throws the error. If the colons are removed then the error does not crop up. So it must be some issue with handling the URI. 
> DO let me know if there is any other information that you need. I would be glad to provide it. Thank you.
> The hadoop version is Hadoop 0.20.2+320

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira