Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-8399

Python HDFS implementation should support filenames of the format "hdfs://namenodehost/parent/child"

Details

    • Improvement
    • Status: Triage Needed
    • P2
    • Resolution: Fixed
    • None
    • 2.20.0
    • sdk-py-core
    • None

    Description

      "hdfs://namenodehost/parent/child" and "/parent/child" seems to be the correct filename formats for HDFS based on [1] but we currently support format "hdfs://parent/child".

      To not break existing users, we have to either (1) somehow support both versions by default (based on [2] seems like HDFS does not allow colons in file path so this might be possible) (2) make  "hdfs://namenodehost/parent/child" optional for now and change it to default after few versions.

      We should also make sure that Beam Java and Python HDFS file-system implementations are consistent in this regard.

       

      [1]https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/FileSystemShell.html

      [2] https://issues.apache.org/jira/browse/HDFS-13

       

      cc: udim

      Attachments

        Issue Links

          Activity

            People

              udim Udi Meiri
              chamikara Chamikara Madhusanka Jayalath
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3.5h
                  3.5h