[
https://issues.apache.org/jira/browse/BEAM-6601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ismaël Mejía resolved BEAM-6601.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.11.0
> Fix wrong command to run Hadoop InputFormat integration test in Javadoc
> -----------------------------------------------------------------------
>
> Key: BEAM-6601
> URL: https://issues.apache.org/jira/browse/BEAM-6601
> Project: Beam
> Issue Type: Bug
> Components: io-java-hadoop
> Reporter: Kengo Seki
> Assignee: Kengo Seki
> Priority: Trivial
> Fix For: 2.11.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> I tried to run an integration test for Hadoop InputFormat following its
> Javadoc, but got an error:
> {code}
> 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.
> {code}
> The path in the following comment should be
> sdks/java/io/hadoop-input-format/, not sdks/java/io/hadoop/input-format/.
> {code:title=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
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)