[ 
https://issues.apache.org/jira/browse/BEAM-3496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16331564#comment-16331564
 ] 

ASF GitHub Bot commented on BEAM-3496:
--------------------------------------

chamikaramj closed pull request #4441: [BEAM-3496] Add Gradle postgresql 
dependency to hadoop/input-format module.
URL: https://github.com/apache/beam/pull/4441
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/sdks/java/io/hadoop/input-format/build.gradle 
b/sdks/java/io/hadoop/input-format/build.gradle
index 6d8cb4756e9..22246bbc8a4 100644
--- a/sdks/java/io/hadoop/input-format/build.gradle
+++ b/sdks/java/io/hadoop/input-format/build.gradle
@@ -31,6 +31,7 @@ dependencies {
   shadow library.java.findbugs_jsr305
   provided library.java.hadoop_common
   provided library.java.hadoop_mapreduce_client_core
+  testCompile group: "org.postgresql", name: "postgresql", 
version:"9.4.1212.jre7"
   testCompile library.java.hamcrest_core
   testCompile project(path: ":sdks:java:core", configuration: "shadowTest")
   testCompile project(path: ":runners:direct-java", configuration: "shadow")


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Gradle build broken because of missing dependency in 
> sdks/java/io/hadoop/input-format
> -------------------------------------------------------------------------------------
>
>                 Key: BEAM-3496
>                 URL: https://issues.apache.org/jira/browse/BEAM-3496
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-extensions
>            Reporter: Luke Cwik
>            Assignee: Ɓukasz Gajowy
>            Priority: Critical
>             Fix For: 2.3.0
>
>
> /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_GradleBuild/src/sdks/java/io/hadoop/input-format/src/test/java/org/apache/beam/sdk/io/hadoop/inputformat/HadoopInputFormatIOIT.java:20:
>  error: package org.apache.beam.sdk.io.common does not exist
> import static 
> org.apache.beam.sdk.io.common.TestRow.DeterministicallyConstructTestRowFn;
>                                            ^
> /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_GradleBuild/src/sdks/java/io/hadoop/input-format/src/test/java/org/apache/beam/sdk/io/hadoop/inputformat/HadoopInputFormatIOIT.java:20:
>  error: static import only from classes and interfaces
> import static 
> org.apache.beam.sdk.io.common.TestRow.DeterministicallyConstructTestRowFn;
> ^



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to