Skip to content
This repository was archived by the owner on Mar 15, 2022. It is now read-only.
This repository was archived by the owner on Mar 15, 2022. It is now read-only.

Cannot load PGX property file into Apache Zeppelin #16

@pankonst

Description

@pankonst

I recently installed Apache Zeppelin in my Big Data Lite VM version 4.8. I started my PGX server and Zeppelin services and I am able to access my notebook through http://localhost:8090. I used sudo when installing Zeppelin, otherwise the service would not start.

Every time I try to read a json property file, via PGX commands:

%pgx
g = session.readGraphWithProperties("/opt/oracle/oracle-spatial-graph/property_graph/data/electric-network/electric_graph.edge.json")

I get the following error:
IllegalArgumentException: PGX does not support loading/storing from local filesystem in server/client mode

I copied the files into HDFS, modified the uri field accordingly and tried reading the property file from there:

%pgx
g = session.readGraphWithProperties("hdfs:/user/pgx/electric_graph.edge.json")

But then got the following error:
UnsupportedOperationException: no virtual file provider for scheme hdfs found; given URI: hdfs:/user/pgx/electric_graph.edge.json

The tutorial states that "any valid PGX shell script will run fine in the PGX interpeter".

When running the above commands in the PGX shell, they work as expected.

The PGX shell version is 2.4.0 while the Zeppelin interpreter version is 2.4.1.

Please advise

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions