sqlalchemy cloudera impala到超集连接url

cdmah0mi  于 2021-06-26  发布在  Impala
关注(0)|答案(0)|浏览(371)

我正试着把cloudera impala的数据发送到superset。我在写作impala://ip:21050/默认值,但我收到此错误。 ERROR: {"error": "Connection failed!\n\nThe error message returned was:\nCould not parse rfc1738 URL from string 'impala:IP:21050/default'", "stacktrace": "Traceback (most recent call last):\n File \"/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/superset/views/core.py\", line 1701, in testconn\n database.set_sqlalchemy_uri(uri)\n File \"/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/superset/models/core.py\", line 836, in set_sqlalchemy_uri\n conn = sqla.engine.url.make_url(uri.strip())\n File \"/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/sqlalchemy/engine/url.py\", line 229, in make_url\n return _parse_rfc1738_args(name_or_url)\n File \"/opt/rh/rh-python36/root/usr/lib64/python3.6/site-packages/sqlalchemy/engine/url.py\", line 291, in _parse_rfc1738_args\n \"Could not parse rfc1738 URL from string '%s'\" % name\nsqlalchemy.exc.ArgumentError: Could not parse rfc1738 URL from string 'impala:IP:21050/default'\n"}

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题