[ 
https://issues.apache.org/jira/browse/ATLAS-5407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nixon Rodrigues reassigned ATLAS-5407:
--------------------------------------

    Assignee: Nixon Rodrigues

> Docker Container "atlas-hadoop" in Waiting state during startup
> ---------------------------------------------------------------
>
>                 Key: ATLAS-5407
>                 URL: https://issues.apache.org/jira/browse/ATLAS-5407
>             Project: Atlas
>          Issue Type: Bug
>          Components: atlas-docker
>            Reporter: Nixon Rodrigues
>            Assignee: Nixon Rodrigues
>            Priority: Major
>
> {code:java}
> % docker compose -f docker-compose.atlas.yml -f 
> docker-compose.atlas-hadoop.yml -f docker-compose.atlas-hbase.yml up -d --wait
> [+] up 7/8
>  ✔ Network atlasnw        Created                                             
>                                                                               
>                             0.0s
>  ✔ Container atlas-db     Healthy                                             
>                                                                               
>                             5.4s
>  ⠏ Container atlas-hadoop Waiting                                             
>                                                                               
>                           191.2s
>  ✔ Container atlas-solr   Started                                             
>                                                                               
>                             0.3s
>  ✔ Container atlas-zk     Started                                             
>                                                                               
>                             0.3s
>  ✔ Container atlas-kafka  Started                                             
>                                                                               
>                             0.4s
>  ✔ Container atlas        Started                                             
>                                                                               
>                             5.4s
>  ✔ Container atlas-hbase  Created     
> {code}
> {code:java}
> /home/atlas/scripts/atlas-hadoop-mkdir.sh: Permission denied
> {code}
> What’s wrong: atlas-hadoop stays in Waiting because the healthcheck needs 
> HDFS path /tmp/hive, and that directory was never created. Logs show:
> /home/atlas/scripts/atlas-hadoop-mkdir.sh: Permission denied
> Here’s what was fixed so *git* and the *Apache sources tarball* both work 
> without manual chmod.
> *1. Source tarball packaging 
> (*{*}distro/src/main/assemblies/src-package.xml{*}*)*
>  * All dev-support/atlas-docker/**/*.sh are packaged in a *second fileSet* 
> with {*}fileMode 0755{*}.
>  * They’re excluded from the default fileSet so they aren’t shipped twice.
>  • • After mvn … / sources assembly, extracted scripts should be executable 
> like in git.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to