[ 
https://issues.apache.org/jira/browse/HDFS-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashrith Barthur updated HDFS-2557:
----------------------------------

          Description: 
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

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

    Affects Version/s: 0.20.2
    
> 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

        

Reply via email to