NFLabs/zeppelin — pull request #256 by worwornf (2014-12-23 09:02:50+00:00)
Title: Elastic sparksql

I want to select from elasticsearch.
SparkConfig is singleton and can't add elasticsearch config, I create another SparkConfig, SparkContext, SQLContext.

Below is an example.
```
case class Log(userId: String, file:String, responseTime: String)

val rdd = com.nflabs.zeppelin.spark.EsSparkAdapter.esRDD("localhost:9200", "spark-test/access-log")
val result = rdd.map(s => {
Log(s(0).toString, s(1).toString, s(2).toString)
})
sqlc.registerRDDAsTable(result, "log")
```