Re: Working of HiveServer2

2016-09-13 Thread Mich Talebzadeh
Hi, Hive server 2 requests Hive to execute the code and Hive uses whatever engine set (MR, Spark, etc) in hive-site.xml to execute the code and returns the result set. Hive Thrift server running on a given port is the gateway but the work done is performed by Hive optimizer and Hive execution eng

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