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

Fix wrong command to run Hadoop InputFormat integration test in Javadoc

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 2.11.0
    • io-java-hadoop-format
    • None

    Description

      I tried to run an integration test for Hadoop InputFormat following its Javadoc, but got an error:

      FAILURE: Build failed with an exception.
      
      * What went wrong:
      The specified project directory '/Users/seki/beam/sdks/java/io/hadoop/input-format' does not exist.
      

      The path in the following comment should be sdks/java/io/hadoop-input-format/, not sdks/java/io/hadoop/input-format/.

      sdks/java/io/hadoop-input-format/src/test/java/org/apache/beam/sdk/io/hadoop/inputformat/HadoopInputFormatIOIT.java
       62  *  ./gradlew integrationTest -p sdks/java/io/hadoop/input-format/
       63  *   -DintegrationTestPipelineOptions='[
       64  *     "--postgresServerName=1.2.3.4",
       65  *     "--postgresUsername=postgres",
       66  *     "--postgresDatabaseName=myfancydb",
       67  *     "--postgresPassword=mypass",
       68  *     "--postgresSsl=false",
       69  *     "--numberOfRecords=1000" ]'
       70  *  --tests org.apache.beam.sdk.io.hadoop.inputformat.HadoopInputFormatIOIT
       71  *  -DintegrationTestRunner=direct
      

      Attachments

        Issue Links

          Activity

            People

              sekikn Kengo Seki
              sekikn Kengo Seki
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 0.5h
                  0.5h