Hi, I run my project on local. How can find ip address of my cassandra host ? >From cassandra.yaml or ??
yasemin 2015-06-08 11:27 GMT+03:00 Gerard Maas <gerard.m...@gmail.com>: > ????? = <ip address of your cassandra host> > > On Mon, Jun 8, 2015 at 10:12 AM, Yasemin Kaya <godo...@gmail.com> wrote: > >> Hi , >> >> How can I find spark.cassandra.connection.host? And what should I change >> ? Should I change cassandra.yaml ? >> >> Error says me *"Exception in thread "main" java.io.IOException: Failed >> to open native connection to Cassandra at {127.0.1.1}:9042"* >> >> What should I add *SparkConf sparkConf = new >> SparkConf().setAppName("JavaApiDemo").set(**"spark.driver.allowMultipleContexts", >> "true").set("spark.cassandra.connection.host", ?????);* >> >> Best >> yasemin >> >> 2015-06-06 3:04 GMT+03:00 Mohammed Guller <moham...@glassbeam.com>: >> >>> Check your spark.cassandra.connection.host setting. It should be >>> pointing to one of your Cassandra nodes. >>> >>> >>> >>> Mohammed >>> >>> >>> >>> *From:* Yasemin Kaya [mailto:godo...@gmail.com] >>> *Sent:* Friday, June 5, 2015 7:31 AM >>> *To:* user@spark.apache.org >>> *Subject:* Cassandra Submit >>> >>> >>> >>> Hi, >>> >>> >>> >>> I am using cassandraDB in my project. I had that error *Exception in >>> thread "main" java.io.IOException: Failed to open native connection to >>> Cassandra at {127.0.1.1}:9042* >>> >>> >>> >>> I think I have to modify the submit line. What should I add or remove >>> when I submit my project? >>> >>> >>> >>> Best, >>> >>> yasemin >>> >>> >>> >>> >>> >>> -- >>> >>> hiç ender hiç >>> >> >> >> >> -- >> hiç ender hiç >> > > -- hiç ender hiç