veblush commented on pull request #14817:
URL: https://github.com/apache/beam/pull/14817#issuecomment-841592265


   This is tested with the bleeding edge version of GCSIO with the following 
instruction. It's verified that Beam job uses Directpath for the GCS operations 
with the lastest version of GCSIO.
   
   #### Build GCSIO (2.2.1-SNAPSHOT)
   ```
   $ ./mvnw -P hadoop2 clean install -DskipTests
   ```
   
   #### Build Beam (After modifying the version of gcsio to 2.2.1-SNAPSHOT)
   ```
   $ ./gradlew -Ppublishing 
-PjavaLinkageArtifactIds=beam-sdks-java-io-google-cloud-platform --continue 
:checkJavaLinkage
   ```
   
   #### Build word-count example (After modifying the version of beam to 
2.29.0-SNAPSHOT)
   ```
   $ mvn compile exec:java -Dexec.mainClass=org.apache.beam.examples.WordCount \
     -Dexec.args="--runner=DataflowRunner --project=$PROJECT \
     --region=$REGION \
     --gcpTempLocation=gs://$BUCKET/tmp \
     --inputFile=gs://$BUCKET/shakespeare/* \
     --output=gs://$BUCKET/counts \
     --subnetwork=$SUBNET_PATH \
     --experiments=use_grpc_for_gcs \
     " -Pdataflow-runner
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to