Hi Cliff,

What PIO version are you using? We fixed a similar issue in
https://issues.apache.org/jira/browse/PIO-72. If it is happening still in
0.12.0+ we will need to investigate.

Regards,
Donald

On Tue, Jun 5, 2018 at 1:35 PM Miller, Clifford <
[email protected]> wrote:

> I'm running a PIO will all remote dependencies.  I have the following:
>
>    - PIO event server
>    - Elasticsearch cluster
>    - Spark cluster
>    - Hbase Cluster
>
> I would like to be able to use pio-shell to count events in the event
> store.  I submit the following command:
>
> pio-shell --with-spark -- --master
> spark://ip-10-0-1-88.us-gov-west-1.compute.internal:7077
>
> This appears to connect me to the Spark cluster.  Then I run:
>
> import org.apache.predictionio.data.store.PEventStore
> PEventStore.find(appName="MyAppName")(sc).count
>
> This gives me connection errors in the pio-shell.  It appears to be
> attempting to connnect locally to HBase and not the remote one.
>
> Stacktrace is attached.
>
> Thanks,
>
> --Cliff.
>
>
>
>

Reply via email to