You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Lokesh Ceeba - Vendor <Lo...@walmart.com> on 2016/04/11 18:07:34 UTC

Unable to connect to CQLSH or Launch SparkContext

Hi Team,
              Help required

cassandra:/app/cassandra $ nodetool status

Cassandra 2.0 and later require Java 7u25 or later.
cassandra:/app/cassandra $ nodetool status

Cassandra 2.0 and later require Java 7u25 or later.
cassandra:/app/cassandra $ java -version
Error occurred during initialization of VM
java.lang.OutOfMemoryError: unable to create new native thread



--
Lokesh

This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. *** Walmart Confidential ***

RE: Unable to connect to CQLSH or Launch SparkContext

Posted by Lokesh Ceeba - Vendor <Lo...@walmart.com>.
@Bryan,
                 It is setup. But still Spark Jobs fail..

cassandra:/app/cassandra $ echo $JAVA_HOME
/usr/java/default


However SparkContext comes up as I have enabled the DSE-Cassandra for Spark.



--
Lokesh

From: Bryan Cheng [mailto:bryan@blockcypher.com]
Sent: Monday, April 11, 2016 5:44 PM
To: user@cassandra.apache.org
Subject: Re: Unable to connect to CQLSH or Launch SparkContext

Check your environment variables, looks like JAVA_HOME is not properly set

On Mon, Apr 11, 2016 at 9:07 AM, Lokesh Ceeba - Vendor <Lo...@walmart.com>> wrote:
Hi Team,
              Help required

cassandra:/app/cassandra $ nodetool status

Cassandra 2.0 and later require Java 7u25 or later.
cassandra:/app/cassandra $ nodetool status

Cassandra 2.0 and later require Java 7u25 or later.
cassandra:/app/cassandra $ java -version
Error occurred during initialization of VM
java.lang.OutOfMemoryError: unable to create new native thread



--
Lokesh
This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. *** Walmart Confidential ***


This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. *** Walmart Confidential ***

Re: Unable to connect to CQLSH or Launch SparkContext

Posted by Bryan Cheng <br...@blockcypher.com>.
Check your environment variables, looks like JAVA_HOME is not properly set

On Mon, Apr 11, 2016 at 9:07 AM, Lokesh Ceeba - Vendor <
Lokesh.Ceeba@walmart.com> wrote:

> Hi Team,
>
>               Help required
>
>
>
> cassandra:/app/cassandra $ nodetool status
>
>
>
> Cassandra 2.0 and later require Java 7u25 or later.
>
> cassandra:/app/cassandra $ nodetool status
>
>
>
> Cassandra 2.0 and later require Java 7u25 or later.
>
> cassandra:/app/cassandra $ java -version
>
> Error occurred during initialization of VM
>
> java.lang.OutOfMemoryError: unable to create new native thread
>
>
>
>
>
>
>
> --
>
> Lokesh
> This email and any files transmitted with it are confidential and intended
> solely for the individual or entity to whom they are addressed. If you have
> received this email in error destroy it immediately. *** Walmart
> Confidential ***
>