Login  Register

questions about multi thriftserver query same table

classic Classic list List threaded Threaded
3 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

questions about multi thriftserver query same table

喜之郎
16 posts
Hi community,
I want to ask 2 questions:
1. Can I use 2 thriftserver query the same carbon table? Is there some problems or risks  when we query same carbon table using 2 thriftserver? PS: this table is batch insert and have billions of records.


2. Can we use direct java api    to insert records to carbondata without spark?  If we can, how is performance?
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: questions about multi thriftserver query same table

xuchuanyin
118 posts
1. I think it's OK to query one table through two sessions.

2.You can refer to Carbon-SDK. The performance is undocumented now. You can
try it and give feed back. If it is below expectation, we may try to
optimize it later.



--
Sent from: http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: questions about multi thriftserver query same table

喜之郎
16 posts
In reply to this post by 喜之郎
Thanks for your reply, chuanyin


------------------ Original ------------------
From:  "xuchuanyin"<[hidden email]>;
Date:  Tue, Aug 7, 2018 03:46 PM
To:  "dev"<[hidden email]>;

Subject:  Re: questions about multi thriftserver query same table



1. I think it's OK to query one table through two sessions.

2.You can refer to Carbon-SDK. The performance is undocumented now. You can
try it and give feed back. If it is below expectation, we may try to
optimize it later.



--
Sent from: http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/