Coder Social home page Coder Social logo

Comments (13)

mkjois avatar mkjois commented on August 12, 2024

For reference, their changelog is here: http://sparkjava.com/news#spark-26-released

And the full commit history between 2.5.5 and 2.6.0: perwendel/spark@2.5.5...2.6.0

from aws-serverless-java-container.

dmcg avatar dmcg commented on August 12, 2024

Should you be looking for inspiration, this would be a really useful feature for us!

from aws-serverless-java-container.

sapessi avatar sapessi commented on August 12, 2024

@dmcg I'll try to make this available in 0.6 at the end of the month. I'll start testing next week.

from aws-serverless-java-container.

sapessi avatar sapessi commented on August 12, 2024

@dmcg @mkjois I've looked through the changes, they are minor but still breaking. I have two options:

  1. Upgrade to spark 2.6.0 for all
  2. Add a new module specifically for spark2.6.0

What would your preference be?

from aws-serverless-java-container.

mkjois avatar mkjois commented on August 12, 2024

My preference would be to upgrade to spark 2.6.0 for all, either in version 0.6 or 0.7.

I can understand option 2 but if you do go with it I think this module should continue to mature with Spark, while you can introduce a new module for staying with 2.5.3

from aws-serverless-java-container.

sapessi avatar sapessi commented on August 12, 2024

Thanks @mkjois - I will publish 0.6 as is since I have a bug fix for the servlet specs that should be included in all releases. From 0.7-SNAPSHOT I will upgrade to spark 2.6.0 for all.

from aws-serverless-java-container.

sapessi avatar sapessi commented on August 12, 2024

Hey @mkjois, I just pushed a commit to the spark-upgrade branch that supports 2.6.0. If you get a chance, can you give it a try?

from aws-serverless-java-container.

sapessi avatar sapessi commented on August 12, 2024

Merged upgraded changes into master. Closing this issue.

from aws-serverless-java-container.

mkjois avatar mkjois commented on August 12, 2024

@sapessi Sorry didn't get to test, I'm pretty swamped at work this week.

Thanks for the upgrade though! Might want to update the readme with a note about these versions as well

from aws-serverless-java-container.

lynx-r avatar lynx-r commented on August 12, 2024

Could you provide an example?

from aws-serverless-java-container.

lynx-r avatar lynx-r commented on August 12, 2024

Nevermind. I got it working the problem which I got was in included compile 'com.sparkjava:spark-debug-tools:0.5'

from aws-serverless-java-container.

sapessi avatar sapessi commented on August 12, 2024

hey @helloalleo, what problem were you running into? Was there a specific exception?

from aws-serverless-java-container.

lynx-r avatar lynx-r commented on August 12, 2024

I got this error when included compile 'com.sparkjava:spark-debug-tools:0.5'

java.lang.ClassCastException: spark.SparkInstance cannot be cast to spark.Service
at com.amazonaws.serverless.proxy.spark.SparkLambdaContainerHandler.<init>(SparkLambdaContainerHandler.java:120)
at com.amazonaws.serverless.proxy.spark.SparkLambdaContainerHandler.getAwsProxyHandler(SparkLambdaContainerHandler.java:92)
at com.workingbit.article.LambdaHandler.handleRequest(LambdaHandler.java:19)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

from aws-serverless-java-container.

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.