You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by qq <98...@qq.com> on 2020/10/29 15:04:01 UTC

org.apache.thrift.transport.TTransportException:Invalid status -128

The following error occurred when starting Hive using:

Additional information: Hive MetaStore is remote MetaStore.
Does anyone know how to solve this problem?

Re: org.apache.thrift.transport.TTransportException:Invalid status -128

Posted by Narayanan Venkateswaran <vn...@gmail.com>.
Hello,

Your stack says that the client-facing principal is not set

However it goes on to say that the server side principal is set and then
reports a successful login

The following links give details instructions on how to configure the hive
server with kerberos and how to configure a JDBC client for the same. If
you are using beeline as the client to connect to the hive server, you can
use the JDBC URL specified in the links.

1. Windows -
https://querysurge.zendesk.com/hc/en-us/articles/115001218863-Setting-Up-a-Hive-Connection-with-Kerberos-using-Apache-JDBC-Drivers-Windows-
2. Linux -
https://querysurge.zendesk.com/hc/en-us/articles/115001306426-Setting-Up-a-Hive-Connection-with-Kerberos-using-Apache-JDBC-Drivers-Linux-
3.
http://bdlabs.edureka.co/static/help/topics/cdh_sg_hiveserver2_security.html

Thank you,
Narayanan

On Fri, Oct 30, 2020 at 7:57 AM qq <98...@qq.com> wrote:

> When Hive MetaStore enables Kerberos authentication, what configuration
> needs to be set in the Client?
>
>
> ------------------ 原始邮件 ------------------
> *发件人:* "dev" <da...@gmail.com>;
> *发送时间:* 2020年10月29日(星期四) 晚上11:45
> *收件人:* "user"<us...@hive.apache.org>;
> *抄送:* "dev"<de...@hive.apache.org>;
> *主题:* Re: org.apache.thrift.transport.TTransportException:Invalid status
> -128
>
> Simple means that a client that is connected to the HMS is misconfigured
> and is not doing the appropriate SASL handshake.
>
> Client must be kerberos and enabled.
>
>
> On Thu, Oct 29, 2020 at 11:04 AM qq <98...@qq.com> wrote:
>
>> The following error occurred when starting Hive using:
>>
>> Additional information: Hive MetaStore is remote MetaStore.
>> Does anyone know how to solve this problem?
>>
>

Re: org.apache.thrift.transport.TTransportException:Invalid status -128

Posted by Narayanan Venkateswaran <vn...@gmail.com>.
Hello,

Your stack says that the client-facing principal is not set

However it goes on to say that the server side principal is set and then
reports a successful login

The following links give details instructions on how to configure the hive
server with kerberos and how to configure a JDBC client for the same. If
you are using beeline as the client to connect to the hive server, you can
use the JDBC URL specified in the links.

1. Windows -
https://querysurge.zendesk.com/hc/en-us/articles/115001218863-Setting-Up-a-Hive-Connection-with-Kerberos-using-Apache-JDBC-Drivers-Windows-
2. Linux -
https://querysurge.zendesk.com/hc/en-us/articles/115001306426-Setting-Up-a-Hive-Connection-with-Kerberos-using-Apache-JDBC-Drivers-Linux-
3.
http://bdlabs.edureka.co/static/help/topics/cdh_sg_hiveserver2_security.html

Thank you,
Narayanan

On Fri, Oct 30, 2020 at 7:57 AM qq <98...@qq.com> wrote:

> When Hive MetaStore enables Kerberos authentication, what configuration
> needs to be set in the Client?
>
>
> ------------------ 原始邮件 ------------------
> *发件人:* "dev" <da...@gmail.com>;
> *发送时间:* 2020年10月29日(星期四) 晚上11:45
> *收件人:* "user"<us...@hive.apache.org>;
> *抄送:* "dev"<de...@hive.apache.org>;
> *主题:* Re: org.apache.thrift.transport.TTransportException:Invalid status
> -128
>
> Simple means that a client that is connected to the HMS is misconfigured
> and is not doing the appropriate SASL handshake.
>
> Client must be kerberos and enabled.
>
>
> On Thu, Oct 29, 2020 at 11:04 AM qq <98...@qq.com> wrote:
>
>> The following error occurred when starting Hive using:
>>
>> Additional information: Hive MetaStore is remote MetaStore.
>> Does anyone know how to solve this problem?
>>
>

回复: org.apache.thrift.transport.TTransportException:Invalid status -128

Posted by qq <98...@qq.com>.
When Hive MetaStore enables Kerberos authentication, what configuration needs to be set in the Client?




------------------&nbsp;原始邮件&nbsp;------------------
发件人:                                                                                                                        "dev"                                                                                    <dam6923@gmail.com&gt;;
发送时间:&nbsp;2020年10月29日(星期四) 晚上11:45
收件人:&nbsp;"user"<user@hive.apache.org&gt;;
抄送:&nbsp;"dev"<dev@hive.apache.org&gt;;
主题:&nbsp;Re: org.apache.thrift.transport.TTransportException:Invalid status -128



Simple means that a client that is connected to the HMS is misconfigured and is not doing the appropriate SASL handshake.

Client must be kerberos and enabled.




On Thu, Oct 29, 2020 at 11:04 AM qq <987626311@qq.com&gt; wrote:

The following error occurred when starting Hive using:

Additional information: Hive MetaStore is remote MetaStore.
Does anyone know how to solve this problem?

回复: org.apache.thrift.transport.TTransportException:Invalid status -128

Posted by qq <98...@qq.com>.
When Hive MetaStore enables Kerberos authentication, what configuration needs to be set in the Client?




------------------&nbsp;原始邮件&nbsp;------------------
发件人:                                                                                                                        "dev"                                                                                    <dam6923@gmail.com&gt;;
发送时间:&nbsp;2020年10月29日(星期四) 晚上11:45
收件人:&nbsp;"user"<user@hive.apache.org&gt;;
抄送:&nbsp;"dev"<dev@hive.apache.org&gt;;
主题:&nbsp;Re: org.apache.thrift.transport.TTransportException:Invalid status -128



Simple means that a client that is connected to the HMS is misconfigured and is not doing the appropriate SASL handshake.

Client must be kerberos and enabled.




On Thu, Oct 29, 2020 at 11:04 AM qq <987626311@qq.com&gt; wrote:

The following error occurred when starting Hive using:

Additional information: Hive MetaStore is remote MetaStore.
Does anyone know how to solve this problem?

Re: org.apache.thrift.transport.TTransportException:Invalid status -128

Posted by David <da...@gmail.com>.
Simple means that a client that is connected to the HMS is misconfigured
and is not doing the appropriate SASL handshake.

Client must be kerberos and enabled.


On Thu, Oct 29, 2020 at 11:04 AM qq <98...@qq.com> wrote:

> The following error occurred when starting Hive using:
>
> Additional information: Hive MetaStore is remote MetaStore.
> Does anyone know how to solve this problem?
>

Re: org.apache.thrift.transport.TTransportException:Invalid status -128

Posted by David <da...@gmail.com>.
Simple means that a client that is connected to the HMS is misconfigured
and is not doing the appropriate SASL handshake.

Client must be kerberos and enabled.


On Thu, Oct 29, 2020 at 11:04 AM qq <98...@qq.com> wrote:

> The following error occurred when starting Hive using:
>
> Additional information: Hive MetaStore is remote MetaStore.
> Does anyone know how to solve this problem?
>