Closed ZSLajevardi closed 1 year ago
Hi, Could you provide more information? Did you change any variable in Dockerfile like SPARK_VERSION or HADOOP_VERSION ? Probably this error is due to tar
was not able to extract the spark tgz file, probably by a problem in curl like an unavailable link or any other network problem. If you did not change Spark version, the Dockerfile will try to download spark at https://downloads.apache.org/spark/spark-2.4.8/spark-2.4.8-bin-hadoop2.7.tgz
. You are able to download it manually?
Hey there, Thanks for your responding. I did not change anything and I just simply run 'docker compose up' after cloning the repository and after pulling wurstmeister/kafka , wbaa/rokku-dev-apache-atlas, bde2020/hive-metastore-postgresql, wurstmeister/zookeeper, maven, bde2020/hadoop-datanode , bde2020/hadoop-namenode and bde2020/hive; I have the following results:
And in the end, yes I can download spark manually from https://downloads.apache.org/spark/spark-2.4.8/spark-2.4.8-bin-hadoop2.7.tgz but it took about 15-20 minutes to download.
Hi, I guess it is a bug in your network or your docker version. If you want to debug further, try to download spark using this link in a created ubuntu container. If is bug in docker, trying to compile the following cd spark; docker build --network=host -t lucasmsp/spark:2.4 .
could help (by using the host network, Docker's DNS problems are avoided).
Anyway, I just update this repository to use a more recent Ubuntu image. In addition, I update docker-compose file to use an already compiled image (docker pull lucasmsp/spark:2.4). I hope this helps you.
Hi @lucasmsp I used the updated repository and the spark error is resolved. but after I received the 'Apache Atlas server Started' massage, I've got 503 error as following:
ocker-atlas-atlas-server-1 | ............................................................................... docker-atlas-atlas-server-1 | Apache Atlas Server started!!! docker-atlas-atlas-server-1 | docker-atlas-atlas-server-1 | Creating ingestion-source type... docker-atlas-atlas-server-1 | % Total % Received % Xferd Average Speed Time Time Time Current docker-atlas-atlas-server-1 | Dload Upload Total Spent Left Speed 23 1529 100 354 0 0 1076 0HTTP/1.1 503 Service Unavailable0 docker-atlas-atlas-server-1 | Date: Sat, 16 Apr 2022 04:23:04 GMT docker-atlas-atlas-server-1 | Cache-Control: must-revalidate,no-cache,no-store docker-atlas-atlas-server-1 | Content-Type: text/html;charset=iso-8859-1 docker-atlas-atlas-server-1 | Content-Length: 354 docker-atlas-atlas-server-1 | Connection: close docker-atlas-atlas-server-1 | Server: Jetty(9.3.14.v20161028) docker-atlas-atlas-server-1 | docker-atlas-atlas-server-1 | docker-atlas-atlas-server-1 |
docker-atlas-atlas-server-1 | docker-atlas-atlas-server-1 |Problem accessing /api/atlas/v2/types/typedefs. Reason: docker-atlas-atlas-server-1 |
Service Unavailabledocker-atlas-atlas-server-1 |
Problem accessing /api/atlas/v2/types/typedefs. Reason: docker-atlas-atlas-server-1 |
Service Unavailabledocker-atlas-atlas-server-1 |
Problem accessing /api/atlas/v2/types/typedefs. Reason: docker-atlas-atlas-server-1 |
Service Unavailabledocker-atlas-atlas-server-1 |
I can manually access 'http://eclipse.org/jetty' but It got stuck here and the process won't end unless I gracefully cancel it.
Hi, starting Atlas and others containers (hive, spark, etc) at the same time could take some time depending on your machine. Although the errors, I can see through this log that atlas is progressing. Try to start only atlas and its dependencies first (docker-compose up atlas-server zookeeper kafka
). The first start will take a longer time because it needs to download and prepare the environment.
Hi I've been trying to install apache atlas on ubuntu 20.04 (local) using this docker image, but it has been stuck on step 12 while running spark.
Any ideas what went wrong here?