Is there a way to display hive data using php?

Source: Internet
Author: User
Is there a way to display hive data using php? QUESTION: (1) Where do I set the user name and password when php connects to hive2 through thrift & nbsp? I think the net is a tsocket object directly, and then the SQL statement is executed directly. I tried and couldn't connect to it! I don't think the user name and password won't be connected? & Nbsp; & use php to display data in hive. Is there a way to display it?
QUESTION: (1) Where are the username and password set when php connects to hive2 through thrift?
I think the net is a tsocket object directly, and then the SQL statement is executed directly. I tried and couldn't connect to it! I don't think the user name and password won't be connected?
(2) has someone connected hive2 through php?
(3) you can connect to hive using java jdbc, but you cannot connect to hive using java through thrift server.
(4) How does php connect to hive2?
------ Solution --------------------
Too advanced to understand
------ Solution --------------------
--Go to hadoop and ask
------ Solution --------------------
There is no distinction between multiple databases and no user name or password is required

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.