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

Xiaoyu Yao commented on HDDS-929:
---------------------------------

I did some research and found that this OZONE_MAX_KEY_LEN_DEFAULT = 1024 * 1024 
is mostly for restrict the protobuf packet size  to be less than 1 MB for 
performance. Should we reuse some other existing keys if exist instead of 
removing the checking logic completely. 

> Remove ozone.max.key.len property 
> ----------------------------------
>
>                 Key: HDDS-929
>                 URL: https://issues.apache.org/jira/browse/HDDS-929
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Ajay Kumar
>            Assignee: Ajay Kumar
>            Priority: Major
>         Attachments: HDDS-929-HDDS-4.00.patch
>
>
> Generation of secret key in OzoneSecretManager is different from hadoop 
> SecretManager. Since key-pair generation is not the responsibility of 
> {{OzoneSecretManager}}/{{OzoneSecretKey}} we don't need maxKeyLen related 
> checks inside them. Jira proposes to remove ozone.max.key.len.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to