Re: [VOTE] Release Apache Cassandra 2.1.1 (Strike 2)

2014-10-23 Thread Vishanth Balasubramaniam
+1

On Wed, Oct 22, 2014 at 9:26 PM, Brandon Williams dri...@gmail.com wrote:

 +1

 On Tue, Oct 21, 2014 at 11:45 AM, Sylvain Lebresne sylv...@datastax.com
 wrote:

  I propose the following artifacts for release as 2.1.1.
 
  sha1: 3261d5e668f341464fc322b6bc424b33ce3adffd
  Git:
 
 
 http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/2.1.1-tentative
  Artifacts:
 
 
 https://repository.apache.org/content/repositories/orgapachecassandra-1038/org/apache/cassandra/apache-cassandra/2.1.1/
  Staging repository:
 
 https://repository.apache.org/content/repositories/orgapachecassandra-1038/
 
  The artifacts as well as the debian package are also available here:
  http://people.apache.org/~slebresne
 
  The vote will be open for 72 hours (longer if needed).
 
  [1]: http://goo.gl/PDtfSs (CHANGES.txt)
  [2]: http://goo.gl/hfS7Yr (NEWS.txt)
 




-- 
*Vishanth Balasubramaniam*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94771737718*
about me: *http://about.me/vishanth http://about.me/vishanth*


Re: Error when running Cassandra

2014-10-09 Thread Vishanth Balasubramaniam
Hi,

This is the Error I am getting when I am running inside the Instance

root@instance-0001:/opt/cassandra/bin# cassandra -f
xss =  -ea -javaagent:/opt/cassandra/lib/jamm-0.2.5.jar
-XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms1240M -Xmx1240M
-Xmn310M -XX:+HeapDumpOnOutOfMemoryError
Error opening zip file or JAR manifest missing :
/opt/cassandra/lib/jamm-0.2.5.jar
Error occurred during initialization of VM
agent library failed to init: instrument


JAVA_HOME and PATH is also set

root@instance-0001:/opt/cassandra/bin# echo $JAVA_HOME
/opt/jdk1.7.0_60

root@instance-0001:/opt/cassandra/bin# echo $PATH
/opt/cassandra/bin:/opt/jdk1.7.0_60/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

root@instance-0001:/opt/cassandra/bin# java -version
java version 1.7.0_60-ea
Java(TM) SE Runtime Environment (build 1.7.0_60-ea-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)


Still trying to figure out why this error is occurring.

Herewith I have attached the docker file that I built.


On Thu, Oct 2, 2014 at 2:47 PM, Sumod Pawgi spa...@gmail.com wrote:

 Check line 151 in your cassandra file. It probably mentions where to look
 for java as Johan mentions below.

 Sent from my iPhone

  On 02-Oct-2014, at 12:50 pm, Johan Edstrom seij...@gmail.com wrote:
 
  Looks like the Java binary can't be found, check your $PATH Johan
 Edstrom - via HopOn October 2, 2014 at 6:56 GMT, Sunil Singh 
 developersunilj...@gmail.com wrote:Can you past full stack trace and
 Cassandra Log in Log Directory , It isun-clear what went wrong at you
 end.On 2 October 2014 12:13, Vishanth Balasubramaniam 
 vishan...@wso2.comwrote:
 Hi, I am trying to run cassandra in my virtual machine and I am getting
 the following error. root@instance-0001:/opt/cassandra/bin#
 ./cassandra xss =  -ea -javaagent:./../lib/jamm-0.2.5.jar
 -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms1240M -Xmx1240M
 -Xmn310M




-- 
*Vishanth Balasubramaniam*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94771737718*
about me: *http://about.me/vishanth http://about.me/vishanth*


Error : NoClassDefFoundError: org/apache/cassandra/service/CassandraDaemon

2014-10-06 Thread Vishanth Balasubramaniam
Hi,

I am relatively new to Cassandra and getting this following error when I
run Cassandra.

root@instance-0001:/opt/cassandra/bin# cassandra
root@instance-0001:/opt/cassandra/bin# Exception in thread main
java.lang.NoClassDefFoundError: org/apache/cassandra/service/CassandraDaemon
Caused by: java.lang.ClassNotFoundException:
org.apache.cassandra.service.CassandraDaemon
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class:
org.apache.cassandra.service.CassandraDaemon.  Program will exit.

I tried cassandra, cassandra -f, cassandra -f start, which all prompted me
the same issue.

I believe this could be because of incorrect Classpath, I would like to
know how to set the Classpath correctly.

Thank you,
-- 
*Vishanth Balasubramaniam*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94771737718*
about me: *http://about.me/vishanth http://about.me/vishanth*


Error when running Cassandra

2014-10-02 Thread Vishanth Balasubramaniam
Hi,

I am trying to run cassandra in my virtual machine and I am getting the
following error.

root@instance-0001:/opt/cassandra/bin# ./cassandra
xss =  -ea -javaagent:./../lib/jamm-0.2.5.jar -XX:+UseThreadPriorities
-XX:ThreadPriorityPolicy=42 -Xms1240M -Xmx1240M -Xmn310M
-XX:+HeapDumpOnOutOfMemoryError
./cassandra: 151: exec: java: not found


Thank you,
-- 
*Vishanth Balasubramaniam*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94771737718*
about me: *http://about.me/vishanth http://about.me/vishanth*