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

HadoopFileSystem can be only used with fs.defaultFS

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 2.13.0
    • 2.16.0
    • None

    Description

      HadoopFileSystem creates underlying FileSystem (one from org.apache.hadoop) instance during it's construction. Single FileSystem instance is tied to a particular cluster (scheme + authority pair). In case we want to talk to another cluster, this fail due to FileSystem#checkPath.

       

      This can be fixed by using FileSystem#get(java.net.URI, org.apache.hadoop.conf.Configuration) instead of FileSystem#newInstance(org.apache.hadoop.conf.Configuration){{}}

      Attachments

        Issue Links

          Activity

            People

              dmvk David Morávek
              dmvk David Morávek
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 2.5h
                  2.5h