Working of HiveServer2

2016-09-13 Thread Srinivasan Hariharan02
Hi, I am I process of analyzing hiveserver2 code to identify how the hiveserver 2 executes the query and returns back the result. There are two classes CliService.java nad SQLOperation.Java which has executeStatement, executeStatementSync and runQuery respectively. From one of these methods hi

Hive CBO

2016-03-22 Thread Srinivasan Hariharan02
Hi, Does Hive supports extended CBO options like cpu,io only for tez execution. When I See the HIveDefaultCostModel class (https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/cost/HiveDefaultCostModel.java) all cost has been made to zero Cost. Whe

Leveraging Hive calcite module

2016-03-19 Thread Srinivasan Hariharan02
Hi, We want to leverage Hive calcite module to find the query cost without executing the complete query. I have gone through the code of the calcite module https://github.com/apache/hive/tree/branch-2.0/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite Can anyone help how we can get the