You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Lars Francke (JIRA)" <ji...@apache.org> on 2017/08/07 14:17:07 UTC

[jira] [Updated] (HADOOP-14740) KMSJsonReader fails when no payload is provided

     [ 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org