Comments (13)
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.
Should you be looking for inspiration, this would be a really useful feature for us!
from aws-serverless-java-container.
@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.
@dmcg @mkjois I've looked through the changes, they are minor but still breaking. I have two options:
- Upgrade to spark 2.6.0 for all
- Add a new module specifically for spark2.6.0
What would your preference be?
from aws-serverless-java-container.
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.
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.
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.
Merged upgraded changes into master. Closing this issue.
from aws-serverless-java-container.
@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.
Could you provide an example?
from aws-serverless-java-container.
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.
hey @helloalleo, what problem were you running into? Was there a specific exception?
from aws-serverless-java-container.
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)
- `IAM` authorizer is discarded HOT 2
- Not getting reponse back directly from filter HOT 1
- Reinitialization of Spring context when using SnapStart HOT 3
- Spring Cloud Gateway throwing "hostname can't be null" based on my request only having headers and not multi-value headers HOT 4
- ServletContext: Servlet.getServletConfig() is null HOT 1
- Cannot invoke "org.springframework.web.servlet.DispatcherServlet.getServletContext()" because "servlet" is null HOT 4
- org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: No content to map due to end-of-input HOT 1
- org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: No content to map due to end-of-input HOT 8
- Cannot deserialize value of type `java.lang.String` from Object value HOT 3
- SpringDelegatingLambdaContainerHandler unable to respond with rendered templates HOT 10
- SpringDelegatingLambdaContainerHandler does not handle Headers correctly for FunctionUrls HOT 7
- Cookies not able to be deleted by setting max-age to 0 HOT 1
- com.amazonaws.serverless.exceptions.InvalidRequestEventException: The incoming event is not a valid request from Amazon API Gateway or an Application Load Balancer HOT 1
- 2.x release HOT 1
- AwsProxyResponse class is generating response JSON which is rejected by API gateway with Malformed error HOT 3
- Moved AwsProxyRequestBuilder into test package HOT 4
- How to handle spring security with springboot serverless HOT 2
- Null Pointer While Setting Filter Post Startup Lambda Handler HOT 2
- Spring boot 3 context initialization issue when using with a servlet application having webflux dependency for web client HOT 3
- Error with version 2.0.2 when multi-value header is active in alb HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-serverless-java-container.