Error with Example in Documentation
See original GitHub issuePython: 3.6.7 Docker-Compose: 1.24.1, build 4667896b OS: Ubuntu 1.24.1, build 4667896b
I am running through the example provided in the documentation.
I get an error when I run python3 example/scripts/sample_data_loader.py
## within the databuilder directory
~/amundsen/amundsendatabuilder/venv/lib/python3.6/site-packages/elasticsearch/connection/http_urllib3.py", line 229, in perform_request
raise ConnectionError("N/A", str(e), e)
elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7fbe64347860>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7fbe64347860>: Failed to establish a new connection: [Errno 111] Connection refused)
# within the docker compose terminal
WARNING:elasticsearch:GET http://es_amundsen:9200/table_search_index/_search [status:N/A request:0.014s]
amundsensearch | Traceback (most recent call last):
amundsensearch | File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 141, in _new_conn
amundsensearch | (self.host, self.port), self.timeout, **extra_kw)
amundsensearch | File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 60, in create_connection
amundsensearch | for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
amundsensearch | File "/usr/local/lib/python3.7/socket.py", line 748, in getaddrinfo
amundsensearch | for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
amundsensearch | socket.gaierror: [Errno -2] Name or service not known
amundsensearch |
amundsensearch | During handling of the above exception, another exception occurred:
Within the amundsen UI I can see test_table1 under the popular section of the homepage but nothing shows up if I search for βtestβ.
I can also hit the following URLS: http://localhost:5000/table_detail/gold/hive/test_schema/test_table1 http://localhost:5000/table_detail/gold/dynamo/test_schema/test_table2
Within the table pages I can see the users and coloumn names but I am unable to see column statistics or preview the data (should this be possible?).
Quering * within neo4j returns:
ββββββββββββββββββββββββββββββββββββββ
β"n" β
ββββββββββββββββββββββββββββββββββββββ‘
β{"publisher_last_updated_epoch_ms":1β
β571745584962,"description":"1st testβ
β table","published_tag":"unique_tag"β
β,"key":"hive://gold.test_schema/testβ
β_table1/_description"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"publisher_last_updated_epoch_ms":1β
β571745584991,"description":"2nd testβ
β table","published_tag":"unique_tag"β
β,"key":"dynamo://gold.test_schema/teβ
βst_table2/_description"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"name":"test_schema","publisher_lasβ
βt_updated_epoch_ms":1571745585029,"pβ
βublished_tag":"unique_tag","key":"hiβ
βve://gold.test_schema"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"name":"test_schema","publisher_lasβ
βt_updated_epoch_ms":1571745585042,"pβ
βublished_tag":"unique_tag","key":"dyβ
βnamo://gold.test_schema"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"name":"test_table1","publisher_lasβ
βt_updated_epoch_ms":1571745585083,"pβ
βublished_tag":"unique_tag","key":"hiβ
βve://gold.test_schema/test_table1","β
βis_view":false} β
ββββββββββββββββββββββββββββββββββββββ€
β{"name":"test_table2","publisher_lasβ
βt_updated_epoch_ms":1571745585097,"pβ
βublished_tag":"unique_tag","key":"dyβ
βnamo://gold.test_schema/test_table2"β
β,"is_view":false} β
ββββββββββββββββββββββββββββββββββββββ€
β{"name":"gold","publisher_last_updatβ
βed_epoch_ms":1571745585125,"publisheβ
βd_tag":"unique_tag","key":"hive://goβ
βld"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"name":"gold","publisher_last_updatβ
βed_epoch_ms":1571745585135,"publisheβ
βd_tag":"unique_tag","key":"dynamo://β
βgold"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"name":"hive","publisher_last_updatβ
βed_epoch_ms":1571745585162,"publisheβ
βd_tag":"unique_tag","key":"database:β
β//hive"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"name":"dynamo","publisher_last_updβ
βated_epoch_ms":1571745585172,"publisβ
βhed_tag":"unique_tag","key":"databasβ
βe://dynamo"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"publisher_last_updated_epoch_ms":1β
β571745585788,"description":"col1 desβ
βcription","published_tag":"unique_taβ
βg","key":"hive://gold.test_schema/teβ
βst_table1/col1/_description"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"publisher_last_updated_epoch_ms":1β
β571745585794,"description":"col2 desβ
βcription","published_tag":"unique_taβ
βg","key":"hive://gold.test_schema/teβ
βst_table1/col2/_description"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"publisher_last_updated_epoch_ms":1β
β571745585800,"description":"col3 desβ
βcription","published_tag":"unique_taβ
βg","key":"hive://gold.test_schema/teβ
βst_table1/col3/_description"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"publisher_last_updated_epoch_ms":1β
β571745585808,"description":"col4 desβ
βcription","published_tag":"unique_taβ
βg","key":"hive://gold.test_schema/teβ
βst_table1/col4/_description"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"publisher_last_updated_epoch_ms":1β
β571745585816,"description":"col1 desβ
βcription","published_tag":"unique_taβ
βg","key":"dynamo://gold.test_schema/β
βtest_table2/col1/_description"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"publisher_last_updated_epoch_ms":1β
β571745585824,"description":"col2 desβ
βcription","published_tag":"unique_taβ
βg","key":"dynamo://gold.test_schema/β
βtest_table2/col2/_description"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"publisher_last_updated_epoch_ms":1β
β571745585833,"description":"col3 desβ
βcription","published_tag":"unique_taβ
βg","key":"dynamo://gold.test_schema/β
βtest_table2/col3/_description"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"publisher_last_updated_epoch_ms":1β
β571745585840,"description":"col4 desβ
βcription","published_tag":"unique_taβ
βg","key":"dynamo://gold.test_schema/β
βtest_table2/col4/_description"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"name":"col1","publisher_last_updatβ
βed_epoch_ms":1571745585862,"publisheβ
βd_tag":"unique_tag","type":"string",β
β"sort_order":"1","key":"hive://gold.β
βtest_schema/test_table1/col1"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"name":"col2","publisher_last_updatβ
βed_epoch_ms":1571745585869,"publisheβ
βd_tag":"unique_tag","type":"string",β
β"sort_order":"2","key":"hive://gold.β
βtest_schema/test_table1/col2"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"name":"col3","publisher_last_updatβ
βed_epoch_ms":1571745585877,"publisheβ
βd_tag":"unique_tag","type":"string",β
β"sort_order":"3","key":"hive://gold.β
βtest_schema/test_table1/col3"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"name":"col4","publisher_last_updatβ
βed_epoch_ms":1571745585883,"publisheβ
βd_tag":"unique_tag","type":"string",β
β"sort_order":"4","key":"hive://gold.β
βtest_schema/test_table1/col4"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"name":"col1","publisher_last_updatβ
βed_epoch_ms":1571745585890,"publisheβ
βd_tag":"unique_tag","type":"string",β
β"sort_order":"1","key":"dynamo://golβ
βd.test_schema/test_table2/col1"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"name":"col2","publisher_last_updatβ
βed_epoch_ms":1571745585897,"publisheβ
βd_tag":"unique_tag","type":"string",β
β"sort_order":"2","key":"dynamo://golβ
βd.test_schema/test_table2/col2"} β
ββββββββββββββββββββββββββββββββββββββ€
β{"name":"col3","publisher_last_updatβ
βed_epoch_ms":1571745585904,"publisheβ
βd_tag":"unique_tag","type":"string",β
β"sort_order":"3","key":"dynamo://golβ
βd.test_schema/test_table2/col3"} β
ββββββββββββββββββββββββββββββββββββββ
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:7 (3 by maintainers)
Top Results From Across the Web
14 Examples of Documentation Mistakes You Are Making
14 Examples of Documentation Mistakes You Are Making Β· 1 - No Documentation Β· 2 - No pictures Β· 3 - Difficult to...
Read more >Documentation Error Definition | Law Insider
Documentation Error means a statement in the Specifications that does not properly describe the functions performed by the Current Base System or the...
Read more >Importance of Documenting Frequently Encountered Errors
How important is it to document some of the frequently encountered errors? Here are some common areas where issues are seen and a...
Read more >Documentation Common Error - Excelsior OWL
Incomplete or Missing Documentation. The third most common error on the list relates to proper documentation. It's so important to remember to cite...
Read more >The 10 Most Common Mistakes in Documentation
Here are Fentin's top 10 documentation mistakes: 1. Using labels without behavioral examples. Describing the individual, not the conduct, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@feng-tao I havenβt had the time again to look into it better. I will try get back to you next week with more information.
@JeroenSchmidt were you able to investigate further on this?
On re-reading your error post I now see that you infact did post docker compose output! (on first response I overlooked your
# within the docker compose terminal
comment, and read it as output from the databuilder run which can look quite similar, sorry) I added an edit in my https://github.com/lyft/amundsen/issues/145#issuecomment-545073479 above.To clarify and hopefully get Quickstart working for you I would expect that the output of the
es_amundsen
container would reveal some kind of error output/crash info.An alternative might be to try running on another machineβ¦ but of course itβs always more gratifying to find & fix the root cause if we can!