无法用Solr连接Apache Superset
症状:
在与此URL连接的超集连接中创建/测试数据库
solr://solr-master:8983/solr/my-collection
接收错误消息
Could not load database driver: SolrEngineSpec
环境:
群集上的0.6.1
安装了Helm图表版本: Kubernetes
在值中添加sqlalchemy-
#!/bin/bashrm -rf /var/lib/apt/lists/* && pip install sqlalchemy-solr && pip install psycopg2-binary==2.9.1 && pip install redis==3.5.3 && \if [ ! -f ~/bootstrap ]; then echo "Running Superset with uid {{ .Values.runAsUser }}" > ~/bootstrap; fi
。
solr
Symptom:
creating/testing database in Superset connection with this URL
solr://solr-master:8983/solr/my-collection
receiving error message
Could not load database driver: SolrEngineSpec
Environment:
Installed HELM Chart version: 0.6.1 on kubernetes cluster
Approach to solve the problem
adding sqlalchemy-solr to the bootstrapScript in values.yaml
#!/bin/bashrm -rf /var/lib/apt/lists/* && pip install sqlalchemy-solr && pip install psycopg2-binary==2.9.1 && pip install redis==3.5.3 && \if [ ! -f ~/bootstrap ]; then echo "Running Superset with uid {{ .Values.runAsUser }}" > ~/bootstrap; fi
Result:
sqlalchemy-solr was curiously not installed by pip
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是Bootstrapscript中的语法问题。线路断路必须用空行标记。
It was a syntax problem in the bootstrapScript. Line break must be marked with an empty row.