shekhargulati / cassandra-openshift-quickstart-java Goto Github PK
View Code? Open in Web Editor NEWCassandra running on OpenShift with simple Java demo
Cassandra running on OpenShift with simple Java demo
Hi shekhargulati.
Based in your tutorial . I run success "Part 1 : Installing Cassandra on a DIY application" . But i install "Part 2 : Using Cassandra as an Embedded Cartridge from with in a Java application" I recieve error "can't read log4j-server.properties: No such file or directory" when run file deloy.This is my log.
...
remote: + cd cassandra-data
remote: + mkdir data
remote: + mkdir saved_caches
remote: + mkdir commitlog
remote: + touch system.log
remote: + cd ../cassandra/conf/
remote: + sed -ig 's,/var/lib/cassandra,$HOME/app-root/data/cassandra-data,' cassandra.yaml
remote: + sed -ig s/127.0.0.1//g cassandra.yaml
remote: + sed -ig s/localhost//g cassandra.yaml
remote: + sed -ig s,7000,17000, cassandra.yaml
remote: + sed -ig s,7001,17001, cassandra.yaml
remote: + sed -ig s,9160,19160, cassandra.yaml
remote: + sed -ig s/localhost//g cassandra.yaml
remote: + sed -ig 's,/var/log/cassandra,$HOME/app-root/data/cassandra-data,' log4j-server.properties
remote: sed: can't read log4j-server.properties: No such file or directory
remote: + sed -ig 's,${max_sensible_yg_in_mb}M,256M,' cassandra-env.sh
remote: + sed -ig 's,${desired_yg_in_mb}M,256M,' cassandra-env.sh
remote: + sed -ig '/jmxremote/s/^/#/' cassandra-env.sh
remote: ++ cd /var/lib/openshift/5457307be0b8cd53500001f9/app-root/data//cassandra
remote: ++ bin/cassandra
remote: ++ export CQLSH_HOST=
remote: ++ CQLSH_HOST=
remote: ++ export CQLSH_PORT=19160
remote: ++ CQLSH_PORT=19160
remote: ++ sleep 30
remote: Error occurred during initialization of VM
remote: Could not reserve enough space for object heap
remote: Error: Could not create the Java Virtual Machine.
remote: Error: A fatal exception has occurred. Program will exit.
remote: ++ bin/cassandra-cli -h -p 19160 -f /var/lib/openshift/5457307be0b8cd53500001f9/app-root/runtime/repo//cassandra-tutorial.txt
remote: Missing argument for option:h
...
remote: Git Post-Receive Result: failure
remote: Activation status: failure
remote: Activation failed for the following gears:
remote: 5457307be0b8cd53500001f9 (Error activating gear: CLIENT_ERROR: Failed to execute: 'control start' for /var/lib/openshift/5457307be0b8cd53500001f9/jbossews)
remote: Deployment completed with status: failure
remote: postreceive failed
Can you help me?
Thank.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.