08-15-2017 06:31 AM
I'm facing an issue while starting Flume using flume-ng script. There are some conflicts in classpath between hbase server classes and flume especially with respect to javax.servlet package.
Below is the error:
java.lang.SecurityException: class "javax.servlet.HttpConstraintElement"'s signer information does not match signer information of other classes in the same package
After some debugging, I found that flume-ng script is adding hbase server classes into classpath of flume.using statement add_HBASE_paths. Is there any way to avoid loading of hbase server classes or other ways of overcoming the issue.
Thank you in advance for the help.
09-06-2017 10:49 PM
After some analysis found that the conflicting jar is javax.servlet-3.0.0.v201112011016.jar. I need to add this ahead of classpath generated by flume-ng script. As I cannot change flume-ng script in our environment to avoid future updates to the script. Can you please let me know which is best possible way of achieving the same without changing flume-ng script.