I converted an RDD[myClass] to dataframe and then register it as an SQL table
my_rdd.toDF().registerTempTable(\"my_rdd\")
I faced with a similar problem. I was loading a table which was not present in the warehouse folder whereas Hive console was showing me the table name. You can check the detailed description of the table you are loading using describe formatted table_name. You don't need to copy any file to spark/conf folder. It is already integrated.