hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <>
Subject [jira] [Work logged] (HIVE-24059) Llap external client - Initial changes for running in cloud environment
Date Mon, 31 Aug 2020 08:41:00 GMT


ASF GitHub Bot logged work on HIVE-24059:

                Author: ASF GitHub Bot
            Created on: 31/Aug/20 08:40
            Start Date: 31/Aug/20 08:40
    Worklog Time Spent: 10m 
      Work Description: ShubhamChaurasia commented on a change in pull request #1418:

File path: llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/
@@ -342,6 +352,33 @@ public SubmitWorkResponseProto submitWork(SubmitWorkRequestProto request)
+  // if request is coming from llap external client, verify the JWT
+  // as of now, JWT contains applicationId

Review comment:
       added a comment in code which explains this - 
   In GenericUDTFGetSplits
   // 6. Generate JWT for external clients if it's a cloud deployment
           // we inject extClientAppId in JWT which is same as what fragment contains.
           // extClientAppId in JWT and in fragment are compared on LLAP when a fragment is
           // see method ContainerRunnerImpl#verifyJwtForExternalClient
   In ContainerRunnerImpl#verifyJwtForExternalClient
   // extClientAppId is injected in JWT and fragment request by initial get_splits() call.
         // so both of these - extClientAppIdFromJwt and extClientAppIdFromSplit should be
equal eventually if the signed JWT is valid for this request.
         // In get_splits, this extClientAppId is obtained via LlapCoordinator#createExtClientAppId
which generates a
         // application Id to be used by external clients.

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 476435)
    Time Spent: 1h 10m  (was: 1h)

> Llap external client - Initial changes for running in cloud environment
> -----------------------------------------------------------------------
>                 Key: HIVE-24059
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>          Components: llap
>            Reporter: Shubham Chaurasia
>            Assignee: Shubham Chaurasia
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
> Please see problem description in
> Initial changes include - 
> 1. Moving LLAP discovery logic from client side to server (HS2 / get_splits) side.
> 2. Opening additional RPC port in LLAP Daemon.
> 3. JWT Based authentication on this port.
> cc [~prasanth_j] [~jdere] [~anishek] [~thejas]

This message was sent by Atlassian Jira

View raw message