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

Lars Francke updated HADOOP-14740:
----------------------------------
    Description: 
When using one of the {{POST}} operations (e.g. rollover a key) and not 
actually providing a JSON payload the {{KMSJsonReader}} fails with this error 
message:

{quote}No content to map due to end-of-input{quote}

For most operations this is fine as the payload is required but for others the 
payload is optional. I think the only method affected today might be the 
rollover operation but it's still a bug and might affect other new operations 
added later on.

  was:
When using one of the {{POST}} operations (e.g. rollover a key) and not 
actually providing a JSON payload the {{KMSJsonReader}} fails with this error 
message:

{quote}No content to map due to end-of-input{quote}

I think the only method affected today might be the rollover operation but it's 
still a bug and might affect other new operations added later on.


> KMSJsonReader fails when no payload is provided
> -----------------------------------------------
>
>                 Key: HADOOP-14740
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14740
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Lars Francke
>            Priority: Minor
>
> When using one of the {{POST}} operations (e.g. rollover a key) and not 
> actually providing a JSON payload the {{KMSJsonReader}} fails with this error 
> message:
> {quote}No content to map due to end-of-input{quote}
> For most operations this is fine as the payload is required but for others 
> the payload is optional. I think the only method affected today might be the 
> rollover operation but it's still a bug and might affect other new operations 
> added later on.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to