In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
1. Make sure that spark-sql has used mysql as the metadata storage medium
2. Start the thrift gateway
$SPARK_HOME/sbin/start-thriftserver.sh-driver-class-path / usr/local/spark/spark-1.3.0-bin-hadoop2.3/lib/mysql-connector-java-5.1.6-bin.jar-master spark://hd1:7077-executor-memory 2g-total-executor-cores 10
3. Confirm whether it is correct
Beeline
>! connect jdbc:hive2://hd1:10000
User:hadoop
Password:*
Show databases
Show tables
If you can see the same result as the locally launched spark-sql, it is confirmed to be successful.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.