Hive JDBC Architecture

Part 1: What is the actual contract that Hive provides us with? Hive’s contract to users is defined in the HiveInterface class That is – thrift is a communication channel that hive uses to expose its main service : which is the translation of SQL commands into hadoop / mapreduce commands.  The ultimate class invoked…

How JDBC URLs get mapped to connections at runtime

Who cares? I recently found the need to mock out a JDBC url to experiment with a new way of testing sqoop without a hard dependency on a particular database installation.  In order to do this, you first need to understand how it is that, at runtime, JDBC drivers connection call URLs get routed to implementation…