Hello,
I am trying to set up Spark with Cassandra, I am able to run some one-liners 
scripts just fine,
Could you please point to the documentation to  get a clean spark-shell, what 
configuration file need to be tweaked ?
-bash-4.1$ ./bin/spark-shell jars 
/apps/user/spark/lib/spark-cassandra-connector-java-assembly-1.5.0-M1-SNAPSHOT.jar
 SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in 
[jar:file:/apps/user/spark/lib/spark-assembly-1.5.2-hadoop2.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J:
 Found binding in 
[jar:file:/apps/user/spark/lib/spark-examples-1.5.2-hadoop2.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J:
 See http://www.slf4j.org/codes.html#multiple_bindings for an 
explanation.SLF4J: Actual binding is of type 
[org.slf4j.impl.Log4jLoggerFactory]log4j:WARN No appenders could be found for 
logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).log4j:WARN Please 
initialize the log4j system properly.log4j:WARN See 
http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.Using 
Spark's repl log4j profile: org/apache/spark/log4j-defaults-repl.propertiesTo 
adjust logging level use sc.setLogLevel("INFO")Welcome to      ____             
 __     / __/__  ___ _____/ /__    _\ \/ _ \/ _ `/ __/  '_/   /___/ .__/\_,_/_/ 
/_/\_\   version 1.5.2      /_/
Using Scala version 2.10.4 (Java HotSpot(TM) 64-Bit Server VM, Java 
1.8.0_60)Type in expressions to have them evaluated.Type :help for more 
information.15/12/06 02:54:52 WARN SparkConf: SPARK_CLASSPATH was detected (set 
to '/apps/user/spark/lib/*').This is deprecated in Spark 1.0+.
Please instead use: - ./spark-submit with --driver-class-path to augment the 
driver classpath - spark.executor.extraClassPath to augment the executor 
classpath        15/12/06 02:54:52 WARN SparkConf: Setting 
'spark.executor.extraClassPath' to '/apps/user/spark/lib/*' as a 
work-around.15/12/06 02:54:52 WARN SparkConf: Setting 
'spark.driver.extraClassPath' to '/apps/user/spark/lib/*' as a 
work-around.15/12/06 02:54:53 WARN MetricsSystem: Using default name 
DAGScheduler for source because spark.app.id is not set.Spark context available 
as sc.15/12/06 02:55:02 WARN ObjectStore: Version information not found in 
metastore. hive.metastore.schema.verification is not enabled so recording the 
schema version 1.2.015/12/06 02:55:02 WARN ObjectStore: Failed to get database 
default, returning NoSuchObjectException15/12/06 02:55:04 WARN 
NativeCodeLoader: Unable to load native-hadoop library for your platform... 
using builtin-java classes where applicableSQL context available as sqlContext.
scala> import com.datastax.spark.connector._import 
com.datastax.spark.connector._

                                          

Reply via email to