Placing it in the $PIO_HOME/lib/spark directory could work.
I'm not sure if this is a right solution.

On Wed, Nov 28, 2018 at 11:54 PM Junhai Guo <junh...@gmail.com> wrote:
>
> I am trying to use hbase as event server. Hbase is running on HDP cluster.  I 
> am having this error when running
> /home/ml/PredictionIO-0.13.0/bin/pio app new handmade
> The class seems in phoenix-client.jar. Where should I put the jar?
>
> Exception in thread "main" java.lang.UnsupportedOperationException: Unable to 
> find org.apache.hadoop.hbase.ipc.controller.ServerRpcControllerFactory
>         at 
> org.apache.hadoop.hbase.util.ReflectionUtils.instantiateWithCustomCtor(ReflectionUtils.java:36)
>         at 
> org.apache.hadoop.hbase.ipc.RpcControllerFactory.instantiate(RpcControllerFactory.java:56)
>         at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:350)
>         at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:220)
>         at 
> org.apache.hadoop.hbase.catalog.MetaReader.getHTable(MetaReader.java:170)
>         at 
> org.apache.hadoop.hbase.catalog.MetaReader.getMetaHTable(MetaReader.java:192)
>         at 
> org.apache.hadoop.hbase.catalog.MetaReader.fullScan(MetaReader.java:536)
>         at 
> org.apache.hadoop.hbase.catalog.MetaReader.tableExists(MetaReader.java:310)
>         at 
> org.apache.hadoop.hbase.client.HBaseAdmin.tableExists(HBaseAdmin.java:279)
>         at 
> org.apache.predictionio.data.storage.hbase.HBLEvents.init(HBLEvents.scala:60)
>         at 
> org.apache.predictionio.tools.commands.App$$anonfun$create$4$$anonfun$apply$5.apply(App.scala:63)
>         at 
> org.apache.predictionio.tools.commands.App$$anonfun$create$4$$anonfun$apply$5.apply(App.scala:62)
>         at scala.Option.map(Option.scala:146)
>         at 
> org.apache.predictionio.tools.commands.App$$anonfun$create$4.apply(App.scala:62)
>         at 
> org.apache.predictionio.tools.commands.App$$anonfun$create$4.apply(App.scala:55)
>         at scala.Option.getOrElse(Option.scala:121)
>         at org.apache.predictionio.tools.commands.App$.create(App.scala:55)
>         at 
> org.apache.predictionio.tools.console.Pio$App$.create(Pio.scala:173)
>         at 
> org.apache.predictionio.tools.console.Console$$anonfun$main$1.apply(Console.scala:726)
>         at 
> org.apache.predictionio.tools.console.Console$$anonfun$main$1.apply(Console.scala:656)
>         at scala.Option.map(Option.scala:146)
>         at 
> org.apache.predictionio.tools.console.Console$.main(Console.scala:656)
>         at org.apache.predictionio.tools.console.Console.main(Console.scala)
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.hadoop.hbase.ipc.controller.ServerRpcControllerFactory
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:264)
>         at 
> org.apache.hadoop.hbase.util.ReflectionUtils.instantiateWithCustomCtor(ReflectionUtils.java:32)
>         ... 22 more

Reply via email to