Home > other > How to access data Hive RDD operator
How to access data Hive RDD operator
Time:09-25
RDD. The map (m=& gt; { HTX. SQL (" select * from test ") })
Don't like this, to visit Hive data, error That how to access data Hive in operator, kneel beg
CodePudding user response:
I'm sorry, ability is limited, I can't help you!
CodePudding user response:
In the operator to create HiveContext ah
CodePudding user response:
Are you direct download website compiled Spark? So can only use HiveQL access table and cannot be registered in HiveContext access Hive table, to access the Hive you must download the source code to specify Hive version compiled