Hive should verify that entries in hive.metastore.uris are Thrift URIs
----------------------------------------------------------------------

                 Key: HIVE-1880
                 URL: https://issues.apache.org/jira/browse/HIVE-1880
             Project: Hive
          Issue Type: Bug
          Components: Configuration, Metastore
            Reporter: Carl Steinbach
            Assignee: Carl Steinbach


The hive.metastore.uris configuration property contains a list of Thrift URLs 
for remote
Thrift metastores. These values are used if the user has specified a non-local 
metastore
configuration by setting hive.metastore.local=true.

HiveMetaStoreClient.openStore(URI) currently makes the assumption that the URI 
is
a Thrift Binary Protocol endpoint. We should first check to make sure that the 
scheme
of the URI is "thrift" before attempting to open a Thrift binary connection to 
the host
and port specified in the URI.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to