Hello, I tried to ingest data from tableau but got...
# integrate-tableau-datahub
o
Hello, I tried to ingest data from tableau but got error below. I have installed acryl-datahub[tableau] successfully. What is the real problem? Thanks
Copy code
Installing collected packages: tableauserverclient
Successfully installed tableauserverclient-0.18.0
ubuntu@ip-172-31-16-11:~$ datahub ingest -c /home/ubuntu/datahub/tableau.yml
[2022-05-12 02:07:40,616] INFO     {datahub.cli.ingest_cli:96} - DataHub CLI ver                                              sion: 0.8.34.1
[2022-05-12 02:07:40,722] ERROR    {datahub.entrypoints:165} - tableau is disabl                                              ed; try running: pip install 'acryl-datahub[tableau]'
[2022-05-12 02:07:40,722] INFO     {datahub.entrypoints:176} - DataHub CLI versi                                              on: 0.8.34.1 at /home/ubuntu/.local/lib/python3.8/site-packages/datahub/__init__                                              .py
[2022-05-12 02:07:40,722] INFO     {datahub.entrypoints:179} - Python version: 3                                              .8.13 (default, Apr 19 2022, 02:32:06)
[GCC 11.2.0] at /usr/bin/python3.8 on Linux-5.15.0-1005-aws-x86_64-with-glibc2.3                                              5
[2022-05-12 02:07:40,722] INFO     {datahub.entrypoints:182} - GMS config {'mode                                              ls': {}, 'versions': {'linkedin/datahub': {'version': 'v0.8.34', 'commit': '5cce                                              3acddcb46443c748bf2eb0b1e5e53994d936'}}, 'managedIngestion': {'defaultCliVersion                                              ': '0.8.34.1', 'enabled': True}, 'statefulIngestionCapable': True, 'supportsImpa                                              ctAnalysis': True, 'telemetry': {'enabledCli': True, 'enabledIngestion': False},                                               'datasetUrnNameCasing': False, 'retention': 'true', 'noCode': 'true'}
h
Hey @orange-coat-2879 UI ingestion runs in datahub actions docker container whereas I believe you are using datahub cli on some other host machine. It looks like the tableau dependencies are not installed on that machine. Can you run this
pip install 'acryl-datahub[tableau]'
as mentioned in the error log. That should fix the problem.
o
Hi @hundreds-photographer-13496, I installed again but still can not ingest data from tableau. I got log below when I install
'acryl-datahub[tableau]'
:
Copy code
ubuntu@ip-172-31-16-11:~$ pip install 'acryl-datahub[tableau]'
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: acryl-datahub[tableau] in ./.local/lib/python3.10                                        /site-packages (0.8.34.1)
Requirement already satisfied: avro-gen3==0.7.2 in ./.local/lib/python3.10/site-                                        packages (from acryl-datahub[tableau]) (0.7.2)
Requirement already satisfied: expandvars>=0.6.5 in ./.local/lib/python3.10/site                                        -packages (from acryl-datahub[tableau]) (0.9.0)
Requirement already satisfied: click>=6.0.0 in ./.local/lib/python3.10/site-pack                                        ages (from acryl-datahub[tableau]) (7.1.2)
Requirement already satisfied: types-Deprecated in ./.local/lib/python3.10/site-                                        packages (from acryl-datahub[tableau]) (1.2.8)
Requirement already satisfied: tabulate in ./.local/lib/python3.10/site-packages                                         (from acryl-datahub[tableau]) (0.8.9)
Requirement already satisfied: mixpanel>=4.9.0 in ./.local/lib/python3.10/site-p                                        ackages (from acryl-datahub[tableau]) (4.9.0)
Requirement already satisfied: typing-extensions>=3.10.0.2 in ./.local/lib/pytho                                        n3.10/site-packages (from acryl-datahub[tableau]) (4.2.0)
Requirement already satisfied: click-default-group in ./.local/lib/python3.10/si                                        te-packages (from acryl-datahub[tableau]) (1.2.2)
Requirement already satisfied: PyYAML in ./.local/lib/python3.10/site-packages (                                        from acryl-datahub[tableau]) (5.4.1)
Requirement already satisfied: types-termcolor>=1.0.0 in ./.local/lib/python3.10                                        /site-packages (from acryl-datahub[tableau]) (1.1.4)
Requirement already satisfied: docker in ./.local/lib/python3.10/site-packages (                                        from acryl-datahub[tableau]) (5.0.3)
Requirement already satisfied: Deprecated in ./.local/lib/python3.10/site-packag                                        es (from acryl-datahub[tableau]) (1.2.13)
Requirement already satisfied: progressbar2 in ./.local/lib/python3.10/site-pack                                        ages (from acryl-datahub[tableau]) (4.0.0)
Requirement already satisfied: markupsafe<=2.0.1,>=1.1.1 in /usr/lib/python3/dis                                        t-packages (from acryl-datahub[tableau]) (2.0.1)
Requirement already satisfied: avro<1.11,>=1.10.2 in ./.local/lib/python3.10/sit                                        e-packages (from acryl-datahub[tableau]) (1.10.2)
Requirement already satisfied: termcolor>=1.0.0 in ./.local/lib/python3.10/site-                                        packages (from acryl-datahub[tableau]) (1.1.0)
Requirement already satisfied: stackprinter in ./.local/lib/python3.10/site-pack                                        ages (from acryl-datahub[tableau]) (0.2.6)
Requirement already satisfied: typing-inspect in ./.local/lib/python3.10/site-pa                                        ckages (from acryl-datahub[tableau]) (0.7.1)
Requirement already satisfied: python-dateutil>=2.8.0 in ./.local/lib/python3.10                                        /site-packages (from acryl-datahub[tableau]) (2.8.2)
Requirement already satisfied: mypy-extensions>=0.4.3 in ./.local/lib/python3.10                                        /site-packages (from acryl-datahub[tableau]) (0.4.3)
Requirement already satisfied: psutil>=5.8.0 in ./.local/lib/python3.10/site-pac                                        kages (from acryl-datahub[tableau]) (5.9.0)
Requirement already satisfied: pydantic>=1.5.1 in ./.local/lib/python3.10/site-p                                        ackages (from acryl-datahub[tableau]) (1.9.0)
Requirement already satisfied: entrypoints in ./.local/lib/python3.10/site-packa                                        ges (from acryl-datahub[tableau]) (0.4)
Requirement already satisfied: toml>=0.10.0 in ./.local/lib/python3.10/site-pack                                        ages (from acryl-datahub[tableau]) (0.10.2)
Requirement already satisfied: tableauserverclient>=0.17.0 in ./.local/lib/pytho                                        n3.10/site-packages (from acryl-datahub[tableau]) (0.18.0)
Requirement already satisfied: pytz in /usr/lib/python3/dist-packages (from avro                                        -gen3==0.7.2->acryl-datahub[tableau]) (2022.1)
Requirement already satisfied: tzlocal in ./.local/lib/python3.10/site-packages                                         (from avro-gen3==0.7.2->acryl-datahub[tableau]) (4.2)
Requirement already satisfied: six in ./.local/lib/python3.10/site-packages (fro                                        m avro-gen3==0.7.2->acryl-datahub[tableau]) (1.16.0)
Requirement already satisfied: urllib3 in ./.local/lib/python3.10/site-packages                                         (from mixpanel>=4.9.0->acryl-datahub[tableau]) (1.26.9)
Requirement already satisfied: requests>=2.4.2 in ./.local/lib/python3.10/site-p                                        ackages (from mixpanel>=4.9.0->acryl-datahub[tableau]) (2.27.1)
Requirement already satisfied: wrapt<2,>=1.10 in ./.local/lib/python3.10/site-pa                                        ckages (from Deprecated->acryl-datahub[tableau]) (1.14.1)
Requirement already satisfied: websocket-client>=0.32.0 in ./.local/lib/python3.                                        10/site-packages (from docker->acryl-datahub[tableau]) (0.59.0)
Requirement already satisfied: python-utils>=3.0.0 in ./.local/lib/python3.10/si                                        te-packages (from progressbar2->acryl-datahub[tableau]) (3.1.0)
Requirement already satisfied: charset-normalizer~=2.0.0 in ./.local/lib/python3                                        .10/site-packages (from requests>=2.4.2->mixpanel>=4.9.0->acryl-datahub[tableau]                                        ) (2.0.12)
Requirement already satisfied: certifi>=2017.4.17 in ./.local/lib/python3.10/sit                                        e-packages (from requests>=2.4.2->mixpanel>=4.9.0->acryl-datahub[tableau]) (2021                                        .10.8)
Requirement already satisfied: idna<4,>=2.5 in ./.local/lib/python3.10/site-pack                                        ages (from requests>=2.4.2->mixpanel>=4.9.0->acryl-datahub[tableau]) (3.3)
Requirement already satisfied: pytz-deprecation-shim in ./.local/lib/python3.10/                                        site-packages (from tzlocal->avro-gen3==0.7.2->acryl-datahub[tableau]) (0.1.0.po                                        st0)
Requirement already satisfied: tzdata in ./.local/lib/python3.10/site-packages (                                        from pytz-deprecation-shim->tzlocal->avro-gen3==0.7.2->acryl-datahub[tableau]) (                                        2022.1)
h
Can you share the output of command
datahub check plugins --verbose