HPE Ezmeral Software platform
1827318 Members
6673 Online
109961 Solutions
New Discussion

Getting java.lang.NoSuchMethodError error while using StreamSets to inject the data

 
Satish_Dhuli
HPE Pro

Getting java.lang.NoSuchMethodError error while using StreamSets to inject the data

Hi,

The customer is getting the below error while trying to inject their data using the Streamsets application. 

Note: the issue has been started after applying the "mapr-patch-6.1.0.20180926230239.GA-20240422053230.x86_64"

Error:
-------
java.lang.NoSuchMethodError: com.mapr.fs.MapRClientImpl.OpenClient2(Ljava/lang/String;[J[JLjava/lang/String;ZLcom/mapr/fs/jni/MapRClientInitParams;Ljava/lang/String;Ljava/lang/String;Z)J
  at com.mapr.fs.MapRClientImpl.<init>(MapRClientImpl.java:127)
  at com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:655)
  at com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:714)
  at com.mapr.fs.MapRFileSystem.openTable(MapRFileSystem.java:3615)
  at com.mapr.fs.MapRHTable.init(MapRHTable.java:102)
  at com.mapr.db.impl.MapRDBTableImpl.<init>(MapRDBTableImpl.java:86)
  at com.mapr.db.impl.MapRDBImpl.getTable(MapRDBImpl.java:126)
  at com.mapr.db.impl.MapRDBImpl.getTable(MapRDBImpl.java:112)
  at com.mapr.ojai.store.impl.OjaiDocumentStore.getTable(OjaiDocumentStore.java:142)
  at com.mapr.ojai.store.impl.OjaiDocumentStore.<init>(OjaiDocumentStore.java:129)
  at com.mapr.ojai.store.impl.OjaiConnection.getStore(OjaiConnection.java:167)
  at com.mapr.ojai.store.impl.OjaiConnection.getStore(OjaiConnection.java:158)
  at com.streamsets.pipeline.stage.destination.mapr.v6_0.loader.MapRJson6_0DocumentLoader.initTable(MapRJson6_0DocumentLoader.java:135)
  at com.streamsets.pipeline.stage.destination.mapr.v6_0.loader.MapRJson6_0DocumentLoader.commitReplaceInternal(MapRJson6_0DocumentLoader.java:81)
  at com.streamsets.pipeline.stage.destination.mapr.loader.MapRJsonDocumentLoader.commitReplace(MapRJsonDocumentLoader.java:142)
  at com.streamsets.pipeline.stage.destination.mapr.MapRJsonTarget.doInsert(MapRJsonTarget.java:368)
  at com.streamsets.pipeline.stage.destination.mapr.MapRJsonTarget.performInsertOperation(MapRJsonTarget.java:178)
  at com.streamsets.pipeline.stage.destination.mapr.MapRJsonTarget.write(MapRJsonTarget.java:151)
  at com.streamsets.pipeline.api.base.configurablestage.DTarget.write(DTarget.java:34)
  at com.streamsets.datacollector.runner.StageRuntime.lambda$execute$2(StageRuntime.java:303)
  at com.streamsets.datacollector.runner.StageRuntime.execute(StageRuntime.java:244)
  at com.streamsets.datacollector.runner.StageRuntime.execute(StageRuntime.java:311)
  at com.streamsets.datacollector.runner.StagePipe.process(StagePipe.java:221)
  at com.streamsets.datacollector.execution.runner.common.ProductionPipelineRunner.processPipe(ProductionPipelineRunner.java:864)
  at com.streamsets.datacollector.execution.runner.common.ProductionPipelineRunner.lambda$executeRunner$3(ProductionPipelineRunner.java:908)
  at com.streamsets.datacollector.runner.PipeRunner.acceptConsumer(PipeRunner.java:207)
  at com.streamsets.datacollector.runner.PipeRunner.forEachInternal(PipeRunner.java:152)
  at com.streamsets.datacollector.runner.PipeRunner.executeBatch(PipeRunner.java:132)
  at com.streamsets.datacollector.execution.runner.common.ProductionPipelineRunner.executeRunner(ProductionPipelineRunner.java:907)
  at com.streamsets.datacollector.execution.runner.common.ProductionPipelineRunner.runSourceLessBatch(ProductionPipelineRunner.java:885)
  at com.streamsets.datacollector.execution.runner.common.ProductionPipelineRunner.processBatch(ProductionPipelineRunner.java:515)
  at com.streamsets.datacollector.runner.StageRuntime$3.run(StageRuntime.java:383)
  at java.security.AccessController.doPrivileged(Native Method)
  at com.streamsets.datacollector.runner.StageRuntime.processBatch(StageRuntime.java:379)
  at com.streamsets.datacollector.runner.StageContext.processBatch(StageContext.java:293)
  at com.streamsets.pipeline.stage.origin.multikafka.MultiKafkaSource$MultiTopicCallable.commitSyncAndProcess(MultiKafkaSource.java:308)
  at com.streamsets.pipeline.stage.origin.multikafka.MultiKafkaSource$MultiTopicCallable.call(MultiKafkaSource.java:252)
  at com.streamsets.pipeline.stage.origin.multikafka.MultiKafkaSource$MultiTopicCallable.call(MultiKafkaSource.java:132)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)

I'm an HPE employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
1 REPLY 1
hiteshingole
HPE Pro

Re: Getting java.lang.NoSuchMethodError error while using StreamSets to inject the data

This error is Generic error which points issue with patch installation 

=> check if the patch was installed properly 

=>Run the "configure.sh -R " post patch insllation 

I'm an HPE employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo