Comments (3)
Hi @shahriar52 ,
you can specify the username/password combination like done in this example.
You may have a problem if you're using a release of Reaper that uses the dropwizard-cassandra module v4.0.0 and dropwizard 0.7.x.
The latest master contains the upgrade to Dropwizard 1.1.0 which should allow to specify all of dropwizard-cassandra configuration properties.
Let me know how it goes.
from cassandra-reaper.
Hi Alex, @adejanovski
Thanks a lot! That works with Cassandra storage.
But I have got a minor error,
WARN [2017-04-27 07:50:46,394] [main] c.d.d.c.NettyUtil - Found Netty's native epoll transport in the classpath, but epoll is not available. Using NIO instead.
java.lang.UnsatisfiedLinkError: /tmp/libnetty-transport-native-epoll3242711215409834879.so: /tmp/libnetty-transport-native-epoll3242711215409834879.so: failed to map segment from shared object: Operation not permitted
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1821)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:214)
at io.netty.channel.epoll.Native.(Native.java:46)
at io.netty.channel.epoll.Epoll.(Epoll.java:30)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.datastax.driver.core.NettyUtil.(NettyUtil.java:68)
at com.datastax.driver.core.NettyOptions.eventLoopGroup(NettyOptions.java:96)
at com.datastax.driver.core.Connection$Factory.(Connection.java:713)
at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1381)
at com.datastax.driver.core.Cluster.init(Cluster.java:163)
at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:334)
at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:309)
at com.datastax.driver.core.Cluster.connect(Cluster.java:251)
at systems.composable.dropwizard.cassandra.CassandraHealthCheck.(CassandraHealthCheck.java:42)
at systems.composable.dropwizard.cassandra.CassandraFactory.build(CassandraFactory.java:484)
at systems.composable.dropwizard.cassandra.CassandraFactory.build(CassandraFactory.java:428)
at com.spotify.reaper.storage.CassandraStorage.(CassandraStorage.java:89)
at com.spotify.reaper.ReaperApplication.initializeStorage(ReaperApplication.java:191)
at com.spotify.reaper.ReaperApplication.run(ReaperApplication.java:122)
at com.spotify.reaper.ReaperApplication.run(ReaperApplication.java:62)
at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:43)
at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:85)
at io.dropwizard.cli.Cli.run(Cli.java:74)
at io.dropwizard.Application.run(Application.java:89)
at com.spotify.reaper.ReaperApplication.main(ReaperApplication.java:82)
This is because I have noexec mount option set for /tmp due to security reason. If you could tell me where to change the /tmp directory option, that would be great.
from cassandra-reaper.
I actually have no clue :) sorry.
Maybe you can check that with the Datastax java driver team of Stuart who maintains dropwizard-cassandra.
from cassandra-reaper.
Related Issues (20)
- [Feature Request] Enable different repair types within the same schedule.
- Make TLS connection available to management-api
- webui login not working in docker HOT 3
- Cassandra Reaper strips dashes and underscore from metrics tags HOT 3
- Incorrect values for millisSinceLastRepairForSchedule in prometheusMetrics HOT 4
- Investigate why CI breaks with python 3.12
- Autoscheduler and incremental repairs
- upgrade dropwizard.version 2.1.0 or higher to fix CVEs
- NPE when listing repairs HOT 4
- Spring vulnerability HOT 1
- Disallow a full/incremental to start if another one is running HOT 3
- Builds are broken due to a missing ruby dependency
- Typo/spelling issues
- web UI can not login when Authentication is activate HOT 3
- API REST repair_run segmentCountPerNode HOT 2
- (Re-)Deployment fails with "com.datastax.driver.core.exceptions.AlreadyExistsException: Table reaper_db.running_repairs already exists" exception HOT 5
- Fix testSSLHotReload so it can be run locally
- Change Request: Build RPM Packages with SHA256 digests enabled.
- Failed creating a merkle tree for [repair #c0c157f0-e14a-11ee-b320-bdc4e5fd08de on reaper_current/running_repairs, [(-8896895687978311387,-8888847627918162438], (-881535601694419919,-867088063190097011], (1356177826732174702,1357186491253880239], (6263469266031338450,6279809997892748801]]], /<IP>:7000 HOT 3
- Add an option to persist the memory storage data using a local store
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 cassandra-reaper.