title: Accessing Spark RDDs from a web browser via thrift server - java
body: <p>We have processed our data using <code>Spark 1.2.1</code> with Java and stored in Hive tables. We want to access this data as RDDs from an web browser.</p>
  
  <p>I read documentation and I understood the steps to do the task. </p>
  
  <p>I am unable to find the way to interact with <code>Spark SQL RDDs</code> via thrift server. Examples I found have belw line in the code and I am not find the class for this in Spark 1.2.1 java API docs.</p>
  
  <p><code>HiveThriftServer2.startWithContext</code></p>
  
  <p>In github i saw scala examples using 
  import org.apache.spark.sql.hive.thriftserver , but I dont see this in Java API docs. Not sure if I am missing something.</p>
  
  <p>Did anybody had luck with accessing Spark SQL RDDs from a browser via thrift? Can you post the code snippet. We are using Java. </p>