You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vihang Karajgaonkar (JIRA)" <ji...@apache.org> on 2017/10/02 17:54:00 UTC

[jira] [Commented] (HIVE-17659) get_token thrift call fails for DBTokenStore in remote HMS mode

    [ https://issues.apache.org/jira/browse/HIVE-17659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16188506#comment-16188506 ] 

Vihang Karajgaonkar commented on HIVE-17659:
--------------------------------------------

org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[vectorized_ptf] (batchId=125)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[explaindenpendencydiffengs] (batchId=115)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_if_expr] (batchId=144)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[comments] (batchId=35)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[explaindenpendencydiffengs] (batchId=38)
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[llap_smb] (batchId=142)
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[orc_ppd_basic] (batchId=139)
org.apache.hive.hcatalog.api.TestHCatClient.testTransportFailure (batchId=176)


are known test failures already reported in HIVE-17436. Looking into 

org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[join_acid_non_acid] (batchId=158)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[union_fast_stats] (batchId=153)
org.apache.hadoop.hive.ql.TestTxnCommands2.testETLCompactedNoStripes (batchId=266)

although I don't think they are related.

> get_token thrift call fails for DBTokenStore in remote HMS mode
> ---------------------------------------------------------------
>
>                 Key: HIVE-17659
>                 URL: https://issues.apache.org/jira/browse/HIVE-17659
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 2.1.0, 2.1.1, 2.2.0
>            Reporter: Vihang Karajgaonkar
>            Assignee: Vihang Karajgaonkar
>         Attachments: HIVE-17659.01-branch-2.patch
>
>
> The {{get_token(String tokenIdentifier)}} HMS thrift API fails when HMS is deployed in remote mode and when there is no token found with that tokenIndentifier. This could happen when an application calls a renewDelegationToken on an expired/cancelled delegation token. The issue is that get_token tries to return a null result values which cannot be done in Thrift. The API call errors out with {{org.apache.thrift.TApplicationException unknown result}} exception which is uncaught and HS2 thrift server closes the client transport. So no further calls from that connection can be accepted unless client reconnects to HS2 again.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)