Unable to access the hive table from spark


(cloudera)i have created a hive table from hive but unable to access it from the spark and created a table using sqlcontext in spark and unable to access from hive> vice versa . but i can view all tables under hive browser interface in cloudera . how to access the table created in hive from spark