[GitHub] [carbondata] sraghunandan commented on a change in pull request #3294: [CARBONDATA-3462][DOC]Added documentation for index server

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] sraghunandan commented on a change in pull request #3294: [CARBONDATA-3462][DOC]Added documentation for index server

GitBox
sraghunandan commented on a change in pull request #3294: [CARBONDATA-3462][DOC]Added documentation for index server
URL: https://github.com/apache/carbondata/pull/3294#discussion_r303287690
 
 

 ##########
 File path: docs/index-server.md
 ##########
 @@ -0,0 +1,238 @@
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to you under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+# Distributed Index Server
+
+## Background
+
+Carbon currently caches all block/blocklet datamap index information into the driver. For bloom
+datamap, it can prune the splits in a distributed way. In the first case, there are limitations
+like driver memory scale up and cache sharing between multiple applications is not possible. In
+the second case, there are limitations like, there is
+no guarantee that the next query goes to the same executor to reuse the cache and hence cache
+would be duplicated in multiple executors.
+Distributed Index Cache Server aims to solve the above mentioned problems.
+
+## Distribution
+When enabled, any query on a carbon table will be routed to the index server application using
+the Hadoop RPC framework in form of a request. The request will consist of the table name, segments,
+filter expression and other information used for pruning.
+
+In IndexServer application a pruning RDD is fired which will take care of the pruning for that
+request. This RDD will be creating tasks based on the number of segments that are applicable for
+pruning. It can happen that the user has specified segments to access for that table, so only the
 
 Review comment:
   Mention about the set specified segments requirement and link it here

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services