Created 07-07-2016 10:17 AM
Hi All,
We are performing HIVE Mirroring from Cluster1 with HIVE 1.2 to Cluster2 with HIVE 0.14 version and facing below issue:
SQLException | SQLException: Could not establish connection to jdbc:hive2://<host>:10000/falcon;principal=hive/<host>@<realm>: Required field 'client_protocol' is unset! Struct:TOpenSessionReq(client_protocol:null, configuration:{use:database=falcon}) |
We understand this is caused due to difference of HIVE and HIVE JDBC version.
Is there are way to resolve this?
Created 07-07-2016 07:04 PM
Following is the prerequisites to use Hive Mirrroring
Falcon Hive Mirroring is not supported without those prerequisites.
Thanks!
Created 07-07-2016 07:04 PM
Following is the prerequisites to use Hive Mirrroring
Falcon Hive Mirroring is not supported without those prerequisites.
Thanks!
Created 07-07-2016 07:10 PM
@Sowmya Ramesh: Does this prerequisites apply to both the clusters?
Currently, we are running on the mirroring job on cluster that follow the prerequisite.
Created 07-07-2016 07:23 PM
Yup.
The "EXPORT ... FOR REPLICATION" command was added only in 1.2.0+ , and this is used in the source cluster.
IMPORT semantics changing to allow for "import-only-if-newer" which is used to apply updates to a table in the destination cluster, which is used by HiveDR was also added only in 1.2.0+.
Thus, you will need 1.2.0+ on both clusters.