So, do you have data in SchemaRDD? You can register JSON RDD in the bush context using
hc.registerRDDasTable (RDD, "myjsontable")
"myjsontable" now exists only in the context of the hive, data has not yet been saved. then you can do something like
hc.sql ("CREATE TABLE myhivejsontable AS SELECT * FROM myjsontable")
which will actually create your table in the hive. What format do you need to save it? I would recommend Parquet, as column storage would be more efficient for queries. If you want to save it as JSON, you can use Hive SerDe (I wrote here https://github.com/rcongiu/Hive-JSON-Serde )
Spark Hive, , json, : http://www.congiu.com/creating-nested-data-parquet-in-spark-sql/