BMC - HDFS Connector - Grizzly with Jersey
Summary
BMC - HDFS Connector - Grizzly with JerseyContent
We are trying to integrate the HDFS connector with a Grizzly (Jersey) server. Since HDFS connector internally has all the related Jersey jars for its Rest call to actually save the file in BMC, it conflicts with the Grizzly Jersey jars and gives the below exception while calling the saveAsTextFile method.
java.lang.RuntimeException: java.lang.ClassNotFoundException: Provider shaded.oracle.org.glassfish.jersey.internal.RuntimeDelegateImpl could not be instantiated: java.lang.IllegalStateException: No generator was provided and there is no default generator registered
at shaded.oracle.javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:152)
1