[ 
https://issues.apache.org/jira/browse/SENTRY-904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Li Li updated SENTRY-904:
-------------------------
    Attachment: SENTRY-904-1.patch

> Set max message size for thrift messages
> ----------------------------------------
>
>                 Key: SENTRY-904
>                 URL: https://issues.apache.org/jira/browse/SENTRY-904
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Sravya Tirukkovalur
>            Assignee: Li Li
>            Priority: Minor
>         Attachments: SENTRY-904-0.patch, SENTRY-904-1.patch
>
>
> THRIFT-2572 can cause a service crash. Size of message can be out of range 
> for two reasons: 1. Security scans 2. Malformatted message. 
> We can fix this by using max message size configuration provided by 
> TBinaryProtocol like how Hive handled it 
> [here|https://issues.apache.org/jira/browse/HIVE-8680]
> And we should add a test to make sure scans are not bringing down the Sentry 
> service.
> Example test:
> curl http://$(hostname -f):8038



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to