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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: Not applicable
    • Component/s: io-java-text
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: