deworkman opened a new issue #13539: URL: https://github.com/apache/superset/issues/13539
Hi, I need a superset cluster that can hit pinotdb, but why does adding pinotdb to helm chart’s values file additionalRequirements not install the driver and how do I do so please? Thanks! A clear and concise description of what the bug is. Helm chart does not appear to adhere to additionalRequirements section. Tried with user-supplied values file. ``` helm upgrade --install --namespace superset --values values-dev.yaml superset . --debug USER-SUPPLIED VALUES: additionalRequirements: - psycopg2==2.8.5 - redis==3.2.1 - sqlalchemy-trino - pinotdb==0.3.3 - pyhive==0.6.3 - ibm_db_sa ``` Tried without user-supplied values file. ``` helm upgrade --install --namespace superset superset . --debug COMPUTED VALUES: additionalRequirements: - psycopg2==2.8.5 - redis==3.2.1 - sqlalchemy-trino - pinotdb==0.3.3 - pyhive==0.6.3 - ibm_db_sa ``` ### Expected results Expected `pinotdb` and `ibm_db_sa` to be pip installed ### Actual results No pip install ``` [root@10-222-77-102 xxxxx]# kubectl get pods -n superset NAME READY STATUS RESTARTS AGE superset-7bb7c98bbc-7pjpk 1/1 Running 0 99s superset-7bb7c98bbc-982fc 1/1 Running 0 99s superset-init-db-2pjxs 0/1 Completed 0 98s superset-postgresql-0 1/1 Running 0 98s superset-redis-master-0 1/1 Running 0 98s superset-worker-6b5947658-247p4 1/1 Running 0 99s superset-worker-6b5947658-lfdfs 1/1 Running 0 99s [root@10-222-77-102 xxxxx]# kubectl exec -it pod/superset-7bb7c98bbc-7pjpk -n superset -- pip list | grep pinotdb [root@10-222-77-102 xxxxx]# kubectl exec -it pod/superset-7bb7c98bbc-7pjpk -n superset -- pip list | grep ibm_db_sa [root@10-222-77-102 xxxxx]# ``` Also the GUI errors. Attempting to add Database via the GUI like this: pinot+http://[pinot-broker]:30099/query/sql?server=http://[pinot-controller]:31000/ …yields: ERROR: Could not load database driver: pinot+http ### Additional context No logs print when the error occurs. Original logs look fine ``` $ kubectl logs pod/superset-7bb7c98bbc-2bbch -n superset -f : not found /app/pythonpath/superset_bootstrap.sh: : not found /app/pythonpath/superset_bootstrap.sh: ERROR: Invalid requirement: '' : not found /app/pythonpath/superset_bootstrap.sh: [2021-03-09 22:59:24 +0000] [12] [INFO] Starting gunicorn 20.0.4 [2021-03-09 22:59:24 +0000] [12] [INFO] Listening at: http://0.0.0.0:8088 (12) [2021-03-09 22:59:24 +0000] [12] [INFO] Using worker: gthread [2021-03-09 22:59:24 +0000] [15] [INFO] Booting worker with pid: 15 logging was configured successfully INFO:superset.utils.logging_configurator:logging was configured successfully Loaded your LOCAL configuration at [/app/pythonpath/superset_config.py] ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
