[
https://issues.apache.org/jira/browse/ATLAS-5407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18115858#comment-18115858
]
ASF subversion and git services commented on ATLAS-5407:
--------------------------------------------------------
Commit 837ea81e1b7cf90a54d5c96d7dff3c3c5456be8a in atlas's branch
refs/heads/master from Nixon Rodrigues
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=837ea81e1 ]
ATLAS-5407 Fix file permission for Atlas docker setup (#759)
> 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
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {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)