Hey folks, I just wanted to check -- has anyone be...
# getting-started
a
Hey folks, I just wanted to check -- has anyone been able to successfully run the quickstart, locally on a Windows machine, recently? (meaning the newest version of quickstart) • Following the quickstart guide exactly https://datahubproject.io/docs/quickstart/ • With no modifications whatsoever • Meeting all the requirements (8gb ram, etc.)
s
What error are you seeing?
a
Thanks for the quick response Aseem. First I'll say I'm on a Windows machine, 16gb RAM etc. Also, about 2 weeks ago ran the quickstart just to test things out locally and everything worked fine. That said, errors:
In the terminal, after running
datahub docker quickstart
First, after pulling the docker images succeeds, I notice some env var warnings:
Copy code
- elasticsearch-setup Pulled                                                                                    134.7s
   - 530afca65e2e Pull complete                                                                                  128.6s
   - 02e1860c0d23 Pull complete                                                                                  130.7s
   - 58af42c2dc92 Pull complete                                                                                  131.2s
   - c047989cbaa8 Pull complete                                                                                  132.0s
.
time="2022-08-02T10:26:00-07:00" level=warning msg="The \"HOME\" variable is not set. Defaulting to a blank string."
time="2022-08-02T10:26:00-07:00" level=warning msg="The \"HOME\" variable is not set. Defaulting to a blank string."
time="2022-08-02T10:26:00-07:00" level=warning msg="The \"DATAHUB_TELEMETRY_ENABLED\" variable is not set. Defaulting to a blank string."
time="2022-08-02T10:26:00-07:00" level=warning msg="The \"HOME\" variable is not set. Defaulting to a blank string."
Second, the containers all start successfully, but after a few minutes (without me touching anything, e.g. not even loading localhost in a browser)
Copy code
+] Running 11/11
 - Container elasticsearch              Running                                                                    0.0s
 - Container zookeeper                  Running                                                                    0.0s
 - Container mysql                      Running                                                                    0.0s
 - Container broker                     Running                                                                    0.0s
 - Container elasticsearch-setup        Started                                                                    1.0s
 - Container mysql-setup                Started                                                                    1.3s
 - Container schema-registry            Running                                                                    0.0s
 - Container datahub-gms                Running                                                                    0.0s
 - Container kafka-setup                Started                                                                    1.3s
 - Container datahub-frontend-react     Running                                                                    0.0s
 - Container datahub-datahub-actions-1  Running                                                                    0.0s
.............
Unable to run quickstart - the following issues were detected:
- kafka-setup is still running
- datahub-gms is running but not healthy
s
Can you update your CLI? There was a problem with
HOME
variable in one of the version which we fixed later CLI version
a
Copy code
python3 -m datahub version
DataHub CLI version: 0.8.41.2
Python version: 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)]
I think I have the most recent version; I followed the quickstart guide to a T, which includes uninstalling and reinstalling
All of the containers are running, the setup containers stopped as expected, localhost loads correctly. But
datahub-gms
errors, which I can copy/paste logs from here if you want. That of course makes it impossible to log in
g
I think you’re right that there’s a bug with quickstart right now
I believe the workaround is to run
DATAHUB_TELEMETRY_ENABLED=true datahub docker quickstart
(false works too - it just can’t be unset)
My bet is that the gms error is something about a config being bool?
a
Thanks I'll give that a go now
Caused by:
org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'telemetry.enabled-server' to boolean
I don't work with java but that looks like it may be the root error in gms yeah
g
Let me know if that fixes it - we’ll try to put out a PR with a more permanent fix
a
Thanks yeah that did the trick. Just in case anyone checks this and isn't really familiar with how to run commands on Windows, first, run this:
set DATAHUB_TELEMETRY_ENABLED=true
Then run:
python3 -m datahub docker quickstart