java.util.ServiceConfigurationError: org.pentaho.hbase.shim.spi.IDeserializedNumericComparator: Provider org.pentaho.hbase.shim.common.DeserializedNumericComparator could not be instantiated

tip

I downgraded to spark-notebook scala 2.10 with hadoop 2.6.0 then it worked. Finally switched to Apache Drill, works like a charm for diverse datasets.


rp

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • {noformat} 2017/02/07 15:36:16 - keyHBase Input.0 - ERROR (version 7.1-SNAPSHOT, build 1 from 2017-01-22 02.56.41 by buildguy) : Unexpected error 2017/02/07 15:36:16 - keyHBase Input.0 - ERROR (version 7.1-SNAPSHOT, build 1 from 2017-01-22 02.56.41 by buildguy) : java.util.ServiceConfigurationError: org.pentaho.hbase.shim.spi.IDeserializedNumericComparator: Provider org.pentaho.hbase.shim.common.DeserializedNumericComparator could not be instantiated 2017/02/07 15:36:16 - keyHBase Input.0 - at java.util.ServiceLoader.fail(ServiceLoader.java:232) 2017/02/07 15:36:16 - keyHBase Input.0 - at java.util.ServiceLoader.access$100(ServiceLoader.java:185) 2017/02/07 15:36:16 - keyHBase Input.0 - at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384) 2017/02/07 15:36:16 - keyHBase Input.0 - at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) 2017/02/07 15:36:16 - keyHBase Input.0 - at java.util.ServiceLoader$1.next(ServiceLoader.java:480) 2017/02/07 15:36:16 - keyHBase Input.0 - at org.pentaho.hbase.shim.common.HBaseConnectionImpl.getDeserializedNumericComparatorClass(HBaseConnectionImpl.java:57) 2017/02/07 15:36:16 - keyHBase Input.0 - at org.pentaho.hbase.shim.common.CommonHBaseConnection.getSignedComparisonComparator(CommonHBaseConnection.java:598) 2017/02/07 15:36:16 - keyHBase Input.0 - at org.pentaho.hbase.shim.common.CommonHBaseConnection.getNumericComparator(CommonHBaseConnection.java:545) 2017/02/07 15:36:16 - keyHBase Input.0 - at org.pentaho.hbase.shim.common.CommonHBaseConnection.addColumnFilterToScan(CommonHBaseConnection.java:472) 2017/02/07 15:36:16 - keyHBase Input.0 - at com.pentaho.big.data.bundles.impl.shim.hbase.HBaseConnectionWrapper.addColumnFilterToScan(HBaseConnectionWrapper.java:142) 2017/02/07 15:36:16 - keyHBase Input.0 - at com.pentaho.big.data.bundles.impl.shim.hbase.table.ResultScannerBuilderImpl$3.perform(ResultScannerBuilderImpl.java:107) 2017/02/07 15:36:16 - keyHBase Input.0 - at com.pentaho.big.data.bundles.impl.shim.hbase.BatchHBaseConnectionOperation.perform(BatchHBaseConnectionOperation.java:45) 2017/02/07 15:36:16 - keyHBase Input.0 - at com.pentaho.big.data.bundles.impl.shim.hbase.table.ResultScannerBuilderImpl.build(ResultScannerBuilderImpl.java:126) 2017/02/07 15:36:16 - keyHBase Input.0 - at org.pentaho.big.data.kettle.plugins.hbase.input.HBaseInput.processRow(HBaseInput.java:243) 2017/02/07 15:36:16 - keyHBase Input.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2017/02/07 15:36:16 - keyHBase Input.0 - at java.lang.Thread.run(Thread.java:745) 2017/02/07 15:36:16 - keyHBase Input.0 - Caused by: java.lang.InstantiationException: org.pentaho.hbase.shim.common.DeserializedNumericComparator 2017/02/07 15:36:16 - keyHBase Input.0 - at java.lang.Class.newInstance(Class.java:427) 2017/02/07 15:36:16 - keyHBase Input.0 - at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) 2017/02/07 15:36:16 - keyHBase Input.0 - ... 13 more 2017/02/07 15:36:16 - keyHBase Input.0 - Caused by: java.lang.NoSuchMethodException: org.pentaho.hbase.shim.common.DeserializedNumericComparator.<init>() 2017/02/07 15:36:16 - keyHBase Input.0 - at java.lang.Class.getConstructor0(Class.java:3082) 2017/02/07 15:36:16 - keyHBase Input.0 - at java.lang.Class.newInstance(Class.java:412) 2017/02/07 15:36:16 - keyHBase Input.0 - ... 14 more {noformat} https://github.com/stepanovdg/pentaho-hadoop-shims/blob/28b9c31ce43470a6599a91a2bde5d3e836741b55/common/src-hbase-shim-1.1/org/pentaho/hbase/shim/common/HBaseConnectionImpl.java#L53-L60 common/src-hbase-shim-1.1/org/pentaho/hbase/shim/common/HBaseConnectionImpl should not use providers.next() as our implementation doesn`t have default constructor the same for boolenComparator
    via by Dzmitry Stsiapanau,
  • Field mapping error
    via dozer by andremayer
    ,
  • JSF 1.2 to 2.0.3 migration issue
    via Stack Overflow by St.Antario
    ,
  • springMVC upload file exception
    via Stack Overflow by Marco Sun
    ,
    • java.util.ServiceConfigurationError: org.pentaho.hbase.shim.spi.IDeserializedNumericComparator: Provider org.pentaho.hbase.shim.common.DeserializedNumericComparator could not be instantiated at java.util.ServiceLoader.fail(ServiceLoader.java:232) at java.util.ServiceLoader.access$100(ServiceLoader.java:185) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) at java.util.ServiceLoader$1.next(ServiceLoader.java:480) at org.pentaho.hbase.shim.common.HBaseConnectionImpl.getDeserializedNumericComparatorClass(HBaseConnectionImpl.java:57) at org.pentaho.hbase.shim.common.CommonHBaseConnection.getSignedComparisonComparator(CommonHBaseConnection.java:598) at org.pentaho.hbase.shim.common.CommonHBaseConnection.getNumericComparator(CommonHBaseConnection.java:545) at org.pentaho.hbase.shim.common.CommonHBaseConnection.addColumnFilterToScan(CommonHBaseConnection.java:472) at com.pentaho.big.data.bundles.impl.shim.hbase.HBaseConnectionWrapper.addColumnFilterToScan(HBaseConnectionWrapper.java:142) at com.pentaho.big.data.bundles.impl.shim.hbase.table.ResultScannerBuilderImpl$3.perform(ResultScannerBuilderImpl.java:107) at com.pentaho.big.data.bundles.impl.shim.hbase.BatchHBaseConnectionOperation.perform(BatchHBaseConnectionOperation.java:45) at com.pentaho.big.data.bundles.impl.shim.hbase.table.ResultScannerBuilderImpl.build(ResultScannerBuilderImpl.java:126) at org.pentaho.big.data.kettle.plugins.hbase.input.HBaseInput.processRow(HBaseInput.java:243) at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.InstantiationException: org.pentaho.hbase.shim.common.DeserializedNumericComparator at java.lang.Class.newInstance(Class.java:427) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) ... 13 more Caused by: java.lang.NoSuchMethodException: org.pentaho.hbase.shim.common.DeserializedNumericComparator.<init>() at java.lang.Class.getConstructor0(Class.java:3082) at java.lang.Class.newInstance(Class.java:412) ... 14 more

    Users with the same issue

    Unknown User
    Unknown User2 times, last one,
    tomthomas
    tomthomas1 times, last one,
    Axelo
    Axelo1 times, last one,
    David
    David5 times, last one,
    tvrmsmith
    tvrmsmith1 times, last one,
    106 more bugmates