Review Board 1.7.22

FLUME-1389: Flume gives opaque error if interceptor type not specified

Review Request #6086 - Created July 23, 2012 and submitted

Patrick Wendell
This checks for an unspecified interceptor type and returns a clear exception. Prior to this patch, an NPE is thrown if an interceptor is not specified.

I'm not sure if this is the right place to do this type of validation or if interceptors should be included in the existing validation framework somehow.
I re-built flume and tested with a bad config and ensure the error was thrown.
Review request changed
Updated (Aug. 6, 2012, 5:15 p.m.)
  • changed from pending to submitted