You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "mehran (JIRA)" <ji...@apache.org> on 2018/08/13 11:11:00 UTC

[jira] [Commented] (DRILL-6433) a process(find) that never finishes slows down apache drill

    [ https://issues.apache.org/jira/browse/DRILL-6433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16578120#comment-16578120 ] 

mehran commented on DRILL-6433:
-------------------------------

I found the problem. you have  the following statement in drill-config.sh

 JAVA=`find -L "$JAVA_HOME" -name $JAVA_BIN -type f | head -n 1`

the option of -L is the problem. this command converts to" find -L  / -name java -type f" that creates a loop. you should omit " -L" in this statement.

 

> a process(find) that never finishes slows down apache drill
> -----------------------------------------------------------
>
>                 Key: DRILL-6433
>                 URL: https://issues.apache.org/jira/browse/DRILL-6433
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.13.0
>            Reporter: mehran
>            Priority: Major
>
> IN version 13 we have a process as follows
> find -L / -name java -type f
> this process is added to system every day. and it will never finishes.
> I have 100 process in my server.
> I did not succeed to set JAVA_HOME  in drill-env.sh so i set it in /etc/bashrc
> these many processes slows down apache drill.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)