[
https://issues.apache.org/jira/browse/ATLAS-5407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18115862#comment-18115862
]
ASF subversion and git services commented on ATLAS-5407:
--------------------------------------------------------
Commit bad4b9769c28b3c9c46f1a71e736d9f0455e6c65 in atlas's branch
refs/heads/atlas-2.6 from Nixon Rodrigues
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=bad4b9769 ]
ATLAS-5407 Fix file permission for Atlas docker setup (#758)
* ATLAS-5407 Fix file permission for Atlas docker setup
> 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: 40m
> 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)