Giter Site home page Giter Site logo

Comments (7)

fs111 avatar fs111 commented on August 25, 2024

For the branch 3.0, you have to use gradle 2.x. The error seems unrelated to redshift, so you can ignore that.

You can also skip the tests and simply create a jar by running

gradle cascading-jdbc-redshift:jar -Ddev=1 to build the jar file for the redshift sub-project

from cascading-jdbc.

jr1977 avatar jr1977 commented on August 25, 2024

I have having the same issues as mentioned by jasonmk.
Only two pass, and six other tests fail with exactly the same nomethodError mentioned by jasonmk.
I am using gradle-2.3, and cascading-jdbc-3.0

from cascading-jdbc.

fs111 avatar fs111 commented on August 25, 2024

@jr1977 I tried it again, and it builds just fine. If you build it against an newly launched cluster you have to replace the "redshift" part in the JDBC protocol with "postgresql" since cascading-jdbc is based on the postgresql driver, not the newer proprietary driver from amazon.

I used gradle-2.10 on JDK 7.

from cascading-jdbc.

jr1977 avatar jr1977 commented on August 25, 2024

Hi fs111
Can you please email me a detailed tutorial. I have tried but fail every time, this is my environment:-

JDK: java version "1.7.0_75"
gradle: Gradle 2.10

Downloaded cascading-jdbc-3.0.zip size 135162 bytes, unzipped it and ran this command
in the cascading-jdbc-3.0 directory:
gradle build -Dcascading.jdbc.url.postgresql='jdbc:postgresql://localhost/cascadingdb?user=username&password=userpassword' -i

ERROR: nomethoerror is gone, but I get errors like this:
file or directory '/Users/marcanthony/Desktop/ajrajkumar/PacktPub/cascading-jdbc-3.0/src/main/java', not found
file or directory '/Users/marcanthony/Desktop/ajrajkumar/PacktPub/cascading-jdbc-3.0/src/test/java', not found
file or directory '/Users/marcanthony/Desktop/ajrajkumar/PacktPub/cascading-jdbc-3.0/build/classes/test', not found

:cascading-jdbc-derby:shadowJar FAILED
:cascading-jdbc-derby:shadowJar (Thread[main,5,main]) completed. Took 4.224 secs.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':cascading-jdbc-derby:shadowJar'.

    org.gradle.mvn3.org.codehaus.plexus.util.IOUtil

BUILD FAILED

Thanks for any help.

from cascading-jdbc.

fs111 avatar fs111 commented on August 25, 2024

Can you explain to me, what your goal is here? If you want to use cascading-jdbc for a given database, you can just download it from http://conjars.org (except for Oracle and Teradata). What are you trying to achieve?

from cascading-jdbc.

jr1977 avatar jr1977 commented on August 25, 2024

I have some data in a postgresql database and want to use that as the jdbc source as a Tap source

Thanks

from cascading-jdbc.

fs111 avatar fs111 commented on August 25, 2024

If you are on Cascading 3.x, just use this: http://conjars.org/cascading/cascading-jdbc-postgresql/versions/3.0.0

If you are on Cascading 2.x, use this: http://conjars.org/cascading/cascading-jdbc-postgresql/versions/2.7.0

from cascading-jdbc.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.