Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume >> mail # dev >> Review Request 16283: Patch for FLUME-1710 - JSONEvent.getBody should not return null


Copy link to this message
-
Review Request 16283: Patch for FLUME-1710 - JSONEvent.getBody should not return null

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16283/
-----------------------------------------------------------

Review request for Flume.
Bugs: FLUME-1710
    https://issues.apache.org/jira/browse/FLUME-1710
Repository: flume-git
Description
-------

Added code to propagate UnsupportedEncodingException to caller, if charset is not supported
Diffs
-----

  flume-ng-sdk/src/main/java/org/apache/flume/event/JSONEvent.java 5c6c0d4
  flume-ng-sdk/src/test/java/org/apache/flume/event/TestEventBuilder.java 2102770

Diff: https://reviews.apache.org/r/16283/diff/
Testing
-------

Added test case to verify FlumeException is thrown if charset is not supported
Thanks,

Ashish Paliwal