You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config = NebulaGraphConfig()
spark_engine = SparkEngine(config=config)
nebula_df = NebulaDataFrameObject(engine=spark_engine, data=df)
nebula_df.algo.pagerank(reset_prob=0.15, max_iter=10)
运行pagerank时出现以下问题,求助: Py4JError: An error occurred while calling None.com.vesoft.nebula.algorithm.config.PRConfig. Trace:
py4j.Py4JException: Constructor com.vesoft.nebula.algorithm.config.PRConfig([class java.lang.Integer, class java.lang.Double, class java.lang.Boolean]) does not exist
at py4j.reflection.ReflectionEngine.getConstructor(ReflectionEngine.java:179)
at py4j.reflection.ReflectionEngine.getConstructor(ReflectionEngine.java:196)
at py4j.Gateway.invoke(Gateway.java:237)
at py4j.commands.ConstructorCommand.invokeConstructor(ConstructorCommand.java:80)
at py4j.commands.ConstructorCommand.execute(ConstructorCommand.java:69)
at py4j.GatewayConnection.run(GatewayConnection.java:238)
at java.lang.Thread.run(Thread.java:748)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
config = NebulaGraphConfig()
spark_engine = SparkEngine(config=config)
nebula_df = NebulaDataFrameObject(engine=spark_engine, data=df)
nebula_df.algo.pagerank(reset_prob=0.15, max_iter=10)
运行pagerank时出现以下问题,求助:
Py4JError: An error occurred while calling None.com.vesoft.nebula.algorithm.config.PRConfig. Trace:
py4j.Py4JException: Constructor com.vesoft.nebula.algorithm.config.PRConfig([class java.lang.Integer, class java.lang.Double, class java.lang.Boolean]) does not exist
at py4j.reflection.ReflectionEngine.getConstructor(ReflectionEngine.java:179)
at py4j.reflection.ReflectionEngine.getConstructor(ReflectionEngine.java:196)
at py4j.Gateway.invoke(Gateway.java:237)
at py4j.commands.ConstructorCommand.invokeConstructor(ConstructorCommand.java:80)
at py4j.commands.ConstructorCommand.execute(ConstructorCommand.java:69)
at py4j.GatewayConnection.run(GatewayConnection.java:238)
at java.lang.Thread.run(Thread.java:748)
Beta Was this translation helpful? Give feedback.
All reactions