Errors loading flume custom interceptor in Hortonworks


Hi All,

I created a flume interceptor to convert CSV stream to Gson. I didn't find any FLUME_HOME environment variable created by HDP. I just created plugins.d directory inside /etc/flume 

Under plugins.d directory I created directory with the name of the project /etc/flume/plugins.d/myproject with lib and libext directories

I put the project jar inside /etc/flume/plugins.d/myproject/lib

And the external librairies /etc/flume/plugins.d/myproject/libext

Now, when I have restarted the flume agent I got this error  org.apache.flume.FlumeException: Interceptor.Builder not found

How I have declared my interceptor


a1.sources.r1.interceptors = i2


Thanks in advance for your help