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

Daryn Sharp commented on HADOOP-16119:
--------------------------------------

Update, KMS with RPC/TLS is able to comfortably perform a sustained 80-90k 
ops/sec.  A huge improvement over REST/TLS that struggles to handle over 10k 
ops/sec with erratic performance.  I'm still very disappointed since the NN can 
handle over double that many RPCs.

Adding back all the crazy token service compatibility will be a challenge.  
However new clients will "auto upgrade" to using RPC if the server supports it 
but still locate the token with a rest service based on the NN -> KMS creds 
secret.  Including finding the token even if the NN's key provider uri changes 
during job execution.

Servers are all deployed.  Client rollout is finally beginning.  Stay tuned.

> KMS on Hadoop RPC Engine
> ------------------------
>
>                 Key: HADOOP-16119
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16119
>             Project: Hadoop Common
>          Issue Type: New Feature
>            Reporter: Jonathan Eagles
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>         Attachments: Design doc_ KMS v2.pdf
>
>
> Per discussion on common-dev and text copied here for ease of reference.
> https://lists.apache.org/thread.html/0e2eeaf07b013f17fad6d362393f53d52041828feec53dcddff04808@%3Ccommon-dev.hadoop.apache.org%3E
> {noformat}
> Thanks all for the inputs,
> To offer additional information (while Daryn is working on his stuff),
> optimizing RPC encryption opens up another possibility: migrating KMS
> service to use Hadoop RPC.
> Today's KMS uses HTTPS + REST API, much like webhdfs. It has very
> undesirable performance (a few thousand ops per second) compared to
> NameNode. Unfortunately for each NameNode namespace operation you also need
> to access KMS too.
> Migrating KMS to Hadoop RPC greatly improves its performance (if
> implemented correctly), and RPC encryption would be a prerequisite. So
> please keep that in mind when discussing the Hadoop RPC encryption
> improvements. Cloudera is very interested to help with the Hadoop RPC
> encryption project because a lot of our customers are using at-rest
> encryption, and some of them are starting to hit KMS performance limit.
> This whole "migrating KMS to Hadoop RPC" was Daryn's idea. I heard this
> idea in the meetup and I am very thrilled to see this happening because it
> is a real issue bothering some of our customers, and I suspect it is the
> right solution to address this tech debt.
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to