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

beam-sdks-java-io-amazon-web-services may be global pollution.

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Information Provided
    • 2.3.0
    • 2.3.0
    • None

    Description

      Note:
      I am sorry if it is difficult to read this report because I am not good at English.

      Thank you for implementing S3FileSystem.

      I tried implementing a program which performs FileIO with AWS S3 on Dataflow, and, It works.
      But other Dataflow Pipeline which moved correctly until adding the SDK to dependencies has not working.

      Specifically, the next log will flow after program that has not working execution starts.

      Info: The AWS S3 Beam extension was included in this build, but the awsRegion flag was not specified. If you do not plan to use S3, then ignore this message. [Date]

      In practice, jobs that do not end on Dataflow are created. It keeps running without spilling out errors or logs.
      And, If you pass 'awsRegion' as an argument, this will works successfully. But it is a strange workaround.
      This means that aws sdk is requesting the connection information to a program not accessing S3. Is not it contaminated?

      As far as I've investigated, this Log seems to be spitting out in this part
      https://github.com/apache/beam/blob/7fa6292a21564744011fe94a7e50f7e074564b71/sdks/java/io/amazon-web-services/src/main/java/org/apache/beam/sdk/io/aws/s3/S3FileSystem.java#L108-L112

      It must pass the region as an argument?

      I want you to tell me if I'm wrong. And If it is contaminated, I hope this problem will be fixed.

      The version of sdks that I tried.

      google-cloud-dataflow-java-sdk-all: 2.3.0
      beam-sdks-java-io-amazon-web-services: 2.3.0 and 2.4.0

      Thank you for reading.

       

      Attachments

        Activity

          People

            iemejia Ismaël Mejía
            Hideyuki Okada Hideyuki Okada
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: