Giter Site home page Giter Site logo

AWS Glue Jobs with: {"error":"TypeError: 'JavaPackage' object is not callable","errorType":"EXECUTION_FAILURE"} about sparkling-water HOT 2 CLOSED

maxreis86 avatar maxreis86 commented on June 15, 2024
AWS Glue Jobs with: {"error":"TypeError: 'JavaPackage' object is not callable","errorType":"EXECUTION_FAILURE"}

from sparkling-water.

Comments (2)

maxreis86 avatar maxreis86 commented on June 15, 2024 1

Hi dear @krasinski,

I could run successfully following your step!

  1. Downloaded sparkling water distribution zip: http://h2o-release.s3.amazonaws.com/sparkling-water/spark-3.1/3.36.1.1-1-3.1/index.html
  2. Dependent JARs path: s3://bucket_name/sparkling-water-assembly-scoring_2.12-3.36.1.1-1-3.1-all.jar
  3. --additional-python-modules, h2o-pysparkling-3.1==3.36.1.1-1-3.1

Thank you so much for your help!!

from sparkling-water.

krasinski avatar krasinski commented on June 15, 2024

Hello @maxreis86,

Thank you for reporting that. I was able to reproduce and analyse your issue. The reason behind it is a bit complicated classpath problem which will need more time to resolve.

In the meantime I would suggest a workaround:

  1. Download the sparkling water distribution zip, exactly the same version you're installing using pip.
  2. In the jars folder you will find a jar named (depending on the version) like this: sparkling-water-assembly-scoring_2.12-3.36.0.4-1-3.1-all.jar
  3. Upload it to your S3 bucket
  4. Add S3 URL to that jar to your Glue job - in the UI it will be Dependent JARs path option
  5. Leave the additional-python-modules parameter as is

from sparkling-water.

Related Issues (20)

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.