Purpose: now in use hive based on hadoop, main is to use PHP to connect hive thrift relies on package, so you can on the web page operation data in a hive.
Then as more and more data hive felt fast enough. See spark again can be a very good compatible hive. So want to use PHP to connect to the sparksql to manipulate the data in a hive, or the data on the HDFS.
Seeing joined ThriftServer spark1.1 version, but has the following problems:
1, whether can use PHP to connect sparksql?
2, if can be connected to how specific operation?
3, what need to rely on?
A great god please help answer ~
CodePudding user response:
Wait for Daniel to solve learningCodePudding user response:
Waiting for god to solve!CodePudding user response:
Can take to sparksql are encapsulated into a REST service, and then through the PHP calls,