BlazingSQL报错java.lang.IllegalStateException: Unable to instantiate java compiler

2022/1/6 2:10:33

本文主要是介绍BlazingSQL报错java.lang.IllegalStateException: Unable to instantiate java compiler,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

在使用BlazingSQL的时候,遇到了下面的错误:

Exception:
java.lang.IllegalStateException: Unable to instantiate java compiler
at org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.compile(JaninoRelMetadataProvider.java:433)
at org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.load3(JaninoRelMetadataProvider.java:374)
at org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.lambda$static$0(JaninoRelMetadataProvider.java:109)
at com.google.common.cache.CacheLoader$FunctionToCacheLoader.load(CacheLoader.java:151)
·····

File "/root/bsqlserver/gce_app/libs/bsql_util.py", line 22, in jsonstr_bsql_exec
gdf = bc.sql(sql)
File "/usr/local/envs/bsql/lib/python3.7/site-packages/pyblazing/apiv2/context.py", line 2880, in sql
except cio.RunQueryError as e:
AttributeError: module 'cio' has no attribute 'RunQueryError'

可能的原因:在多个地方导入了blazingsql模块
保留一个 from blazingsql import BlazingContext 即可恢复正常



这篇关于BlazingSQL报错java.lang.IllegalStateException: Unable to instantiate java compiler的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程