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

Extend TextIO to new protocols (and maybe rename to FileIO)

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Duplicate
    • None
    • Not applicable
    • io-java-text
    • None

    Description

      The current TextIO supports:

      • local file when using directly path like /path/to...
      • Google Service file using path like gs:...

      On the other hand, we have a contribution (from Tom) to support HDFS.

      For an user perspective, it would be easier to use an unique IO supporting different protocol:

      • file:
      • gs:
      • hdfs:
      • mvn:
      • ...

      It would also be convenient to be able to combine protocols and eventually use a different coder (for instance xml:hdfs.
      In that case, maybe I would make sense to rename TextIO as generic FileIO.

      Thoughts ?

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              jbonofre Jean-Baptiste Onofré
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: