Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2557

Naming convention for files being moved into HDFS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 0.20.2
    • None
    • None
    • None
    • Fedora

    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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abarthur Ashrith Barthur
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: