[jira] [Commented] (KYLIN-2781) error on executing find-hadoop-conf-dir.sh
[ https://issues.apache.org/jira/browse/KYLIN-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16134340#comment-16134340 ] liyang commented on KYLIN-2781: --- If you want to refactor it to run directly as well, please take care of all "return"s in it. > error on executing find-hadoop-conf-dir.sh > -- > > Key: KYLIN-2781 > URL: https://issues.apache.org/jira/browse/KYLIN-2781 > Project: Kylin > Issue Type: Bug > Components: Tools, Build and Test >Affects Versions: v2.0.0 >Reporter: Yang Hao >Assignee: Yang Hao > Attachments: KYLIN-2781.patch > > > when execution $bin/find-hadoop-conf-dir.sh ,error comes > _bin/find-hadoop-conf-dir.sh: line 74: return: can only `return' from a > function or sourced script_ > the soulution is to change return to break -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (KYLIN-2781) error on executing find-hadoop-conf-dir.sh
[ https://issues.apache.org/jira/browse/KYLIN-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16134338#comment-16134338 ] liyang commented on KYLIN-2781: --- [~yanghaogn], return will cause the current function or *sourced script* to go out of scope. {{find-hadoop-conf-dir.sh}} is supposed to be sourced, but run directly. > error on executing find-hadoop-conf-dir.sh > -- > > Key: KYLIN-2781 > URL: https://issues.apache.org/jira/browse/KYLIN-2781 > Project: Kylin > Issue Type: Bug > Components: Tools, Build and Test >Affects Versions: v2.0.0 >Reporter: Yang Hao >Assignee: Yang Hao > Attachments: KYLIN-2781.patch > > > when execution $bin/find-hadoop-conf-dir.sh ,error comes > _bin/find-hadoop-conf-dir.sh: line 74: return: can only `return' from a > function or sourced script_ > the soulution is to change return to break -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (KYLIN-2781) error on executing find-hadoop-conf-dir.sh
[ https://issues.apache.org/jira/browse/KYLIN-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16134276#comment-16134276 ] liyang commented on KYLIN-2781: --- @yanghaogn, you are the assignee. > error on executing find-hadoop-conf-dir.sh > -- > > Key: KYLIN-2781 > URL: https://issues.apache.org/jira/browse/KYLIN-2781 > Project: Kylin > Issue Type: Bug > Components: Tools, Build and Test >Affects Versions: v2.0.0 >Reporter: Yang Hao >Assignee: Yang Hao > Attachments: KYLIN-2781.patch > > > when execution $bin/find-hadoop-conf-dir.sh ,error comes > _bin/find-hadoop-conf-dir.sh: line 74: return: can only `return' from a > function or sourced script_ > the soulution is to change return to break -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (KYLIN-2781) error on executing find-hadoop-conf-dir.sh
[ https://issues.apache.org/jira/browse/KYLIN-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16121532#comment-16121532 ] Yang Hao commented on KYLIN-2781: - please assign it to me > error on executing find-hadoop-conf-dir.sh > -- > > Key: KYLIN-2781 > URL: https://issues.apache.org/jira/browse/KYLIN-2781 > Project: Kylin > Issue Type: Bug > Components: Tools, Build and Test >Affects Versions: v2.0.0 >Reporter: Yang Hao >Assignee: hongbin ma > Attachments: KYLIN-2781.patch > > > when execution $bin/find-hadoop-conf-dir.sh ,error comes > _bin/find-hadoop-conf-dir.sh: line 74: return: can only `return' from a > function or sourced script_ > the soulution is to change return to break -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (KYLIN-2781) error on executing find-hadoop-conf-dir.sh
[ https://issues.apache.org/jira/browse/KYLIN-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16120999#comment-16120999 ] Yang Hao commented on KYLIN-2781: - $bin/find-hadoop-conf-dir.sh Retrieving hadoop conf dir... bin/find-hadoop-conf-dir.sh: line 74: return: can only `return' from a function or sourced script > error on executing find-hadoop-conf-dir.sh > -- > > Key: KYLIN-2781 > URL: https://issues.apache.org/jira/browse/KYLIN-2781 > Project: Kylin > Issue Type: Bug > Components: Tools, Build and Test >Affects Versions: v2.0.0 >Reporter: Yang Hao >Assignee: hongbin ma > -- This message was sent by Atlassian JIRA (v6.4.14#64029)