[
https://issues.apache.org/jira/browse/DRILL-7180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16821392#comment-16821392
]
Paul Rogers commented on DRILL-7180:
------------------------------------
This is supposed to work. Indeed, there are instructions in the [Drill-on-YARN
documentation|http://drill.apache.org/docs/appendix-d-recreate-the-drill-archive/]
that covers this case. (Or, there was back when the feature was developed.)
As a general practice, you may not want to use the Drill package name for your
tar.gz file. You can name it something else. Then, you change a line in the DoY
config file to identify your new file.
Given that the issue is that {{$DRILL_HOME/bin/drill-am.sh}} is missing, it may
be that the structure of your new file does not match that of the original
Drill archive. (That is, a directory level may have been added or removed.) So,
perhaps extract your file and compare it with the structure you got when you
extracted the Drill archive.
The [Troubleshooting
guide|http://drill.apache.org/docs/appendix-c-troubleshooting/] may also be
helpful
> Untarring the drill tarball and then tarring again makes drill unable to
> launch on YARN
> ---------------------------------------------------------------------------------------
>
> Key: DRILL-7180
> URL: https://issues.apache.org/jira/browse/DRILL-7180
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.15.0
> Environment: hadoop 2.9.2
> RHEL 7.5
> Reporter: Georgi Perpeliev
> Priority: Minor
>
> Background: I tried substituting one of the drill jars with a modified
> version to fix a gzip bug. However I reproduced the bug with the original
> version of the distributed tarball
> I tried the following:
> # tar -xzf apache-drill-1.15.0.tar.gz
> # rm apache-drill-1.15.0.tar.gz
> # tar -czf apache-drill-1.15.0.tar.gz apache-drill-1.15.0
> # apache-drill-1.15.0/bin/drill-on-yarn.sh --site /apps/site start
> This fails with:
> /bin/bash:
> /tmp/hadoop-hadoop/nm-local-dir/usercache/hadoop/appcache/application_1555068097307_0003/container_1555068097307_0003_01_000001/drill/apache-drill-1.15.0/bin/drill-am.sh:
> No such file or directory
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)