Comments (2)
It seems that using jetty-7.6.2 only gets you so far. Trying to run a backup via jetty results in a stracktrace like so:
INFO: Binding com.netflix.priam.resources.CassandraConfig to GuiceInstantiatedComponentProvider
INFO 21:45:30,112 Starting snapshot 201206272145
INFO 21:45:31,283 Uploading to backup/us-east-1//102084710076281539039012382231339039035/201206272145/META/meta.json with chunk size 10485760
Jun 27, 2012 9:45:31 PM com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException
SEVERE: The exception contained within MappableContainerException could not be mapped to a response, re-throwing to the HTTP container
java.lang.UnsatisfiedLinkError: org.xerial.snappy.SnappyNative.maxCompressedLength(I)I
at org.xerial.snappy.SnappyNative.maxCompressedLength(Native Method)
at org.xerial.snappy.Snappy.maxCompressedLength(Snappy.java:220)
at org.xerial.snappy.SnappyOutputStream.<init>(SnappyOutputStream.java:72)
at org.xerial.snappy.SnappyOutputStream.<init>(SnappyOutputStream.java:65)
at com.netflix.priam.compress.ChunkedStream.<init>(ChunkedStream.java:27)
at com.netflix.priam.compress.SnappyCompression.compress(SnappyCompression.java:24)
at com.netflix.priam.aws.S3FileSystem.upload(S3FileSystem.java:132)
at com.netflix.priam.backup.MetaData$2.retriableCall(MetaData.java:107)
at com.netflix.priam.backup.MetaData$2.retriableCall(MetaData.java:103)
at com.netflix.priam.utils.RetryableCallable.call(RetryableCallable.java:42)
at com.netflix.priam.backup.MetaData.upload(MetaData.java:102)
at com.netflix.priam.backup.MetaData.set(MetaData.java:61)
at com.netflix.priam.backup.SnapshotBackup.execute(SnapshotBackup.java:66)
at com.netflix.priam.resources.BackupServlet.backup(BackupServlet.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
and more.
Simply put, jetty appears to not work for Priam. Running the same command with the same war on the same host using tomcat-6 results in no backtrace.
from priam.
Just wanted to mention that this is still a relevant issue, has to do with how Jetty's classloader works, and how Snappy is making use of a JNI interface.
Moving the snappy jar file from WEB-INF/lib to jetty's lib/ext folder works around the issue successfully.
from priam.
Related Issues (20)
- Build Failed
- IAM Credentials Wiki Instructions No Longer Accurate HOT 2
- Sample Issue: Checking slack integration.
- Priam should order stop and start HOT 2
- why to Install Cassandra and web container (such as tomcat) on EC2 instances for netflix-Priam setup? HOT 1
- Architecture diagram of Priam with Cassandra HOT 1
- Priam is not checking the C* process health.
- .travis.yml: The 'sudo' tag is now deprecated in Travis CI
- Double-Checked Locking HOT 1
- Unreleased Resource: Streams HOT 1
- Please open a security advisory
- IDEA Sync fail
- There is a vulnerability in Quartz Enterprise Job Scheduler 2.3.0 ,upgrade recommended
- There is a vulnerability in Apache Commons Configuration 2.4 ,upgrade recommended
- There is a vulnerability in Cassandra 2.1.17 ,upgrade recommended
- There is a vulnerability in SnakeYAML 1.23,upgrade recommended
- There is a vulnerability in Guava: Google Core Libraries for Java 21.0 ,upgrade recommended
- There is a vulnerability in Apache HttpComponents Client(aka Apache HttpClient) 4.5.6 ,upgrade recommended HOT 1
- Document to setup the same with Scylladb, as there are muliple param changes
- Multiple warnings while buliding Priam HOT 1
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 priam.