Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 46445fc

Browse files
Update README.md
1 parent 1a61019 commit 46445fc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎README.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ Following picture illustrates how ApacheSpark can be used as SQL-on-Hadoop frame
2222
- **src/test/java/TestThriftClient.java:** Java class to demo how to connect to thrift server as JDBC source and query the registered data
2323

2424
## 4. How to run this project?
25-
This project does 2 things:
26-
4.1. Demo how to register data with SparkSql
27-
4.2. Demo how to query registered data via Spark ThriftServer - using **Beeline** and **JDBC**
25+
This project does demo 2 things:
26+
-4.1. How to register data with SparkSql
27+
-4.2. How to query registered data via Spark ThriftServer - using **Beeline** and **JDBC**
2828

29-
### 4.1 Demo how to register data with SparkSql
29+
### 4.1 How to register data with SparkSql
3030
- Download this project.
3131
- Build it: `mvn clean install` and
3232
- Run MainApp: `spark-submit MainApp cloud-based-sql-engine-using-spark.jar`. Tht's it!
3333
- It'll register some sample data in `records` table with SparkSQL.
3434

35-
### 4.2 Demo how to query registered data via Spark Thrift Server using Beeline and JDBC?
35+
### 4.2 How to query registered data via Spark Thrift Server using Beeline and JDBC?
3636
For this, first connect to Spark ThriftServer. Once the connection is established, just like HiveServer2, access Hive or Spark temp tables to run the sql queries on ApacheSpark framework. I'll show 2 ways to do this:
3737

3838
1. **Beeline:** Perhaps, the simplest is to use beeline command-line tool provided in Spark's bin folder.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /