question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error with Example in Documentation

See original GitHub issue

Python: 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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
JeroenSchmidtcommented, Nov 7, 2019

@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.

1reaction
jornhcommented, Oct 24, 2019

@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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found