You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2015/03/06 08:18:38 UTC

[jira] [Assigned] (IGNITE-413) bin/setup-hadoop.sh must work even if IGNITE_HOME is not set.

     [ https://issues.apache.org/jira/browse/IGNITE-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Ozerov reassigned IGNITE-413:
--------------------------------------

    Assignee: Vladimir Ozerov  (was: Ivan Veselovsky)

> bin/setup-hadoop.sh must work even if IGNITE_HOME is not set.
> -------------------------------------------------------------
>
>                 Key: IGNITE-413
>                 URL: https://issues.apache.org/jira/browse/IGNITE-413
>             Project: Ignite
>          Issue Type: Bug
>          Components: general, hadoop
>    Affects Versions: sprint-1
>            Reporter: Ivan Veselovsky
>            Assignee: Vladimir Ozerov
>             Fix For: sprint-2
>
>         Attachments: IGNITE-413--a.patch
>
>
> Now it does not work:
> bin$ ./setup-hadoop.sh 
> ./setup-hadoop.sh: line 47: /home/ivan/_hadoop-apache-test/bin/include/functions.sh: No such file or directory
> ./setup-hadoop.sh: line 52: setIgniteHome: command not found
> ./setup-hadoop.sh: line 62: /home/ivan/_hadoop-apache-test/bin/ignite.sh: No such file or directory
> This is because of the line 38 in setup-hadoop.sh:
>     then IGNITE_HOME_TMP="$(dirname "$(cd "$(dirname "$0")"; "pwd")")";IGNITE_HOME_TMP="$(dirname "${IGNITE_HOME_TMP}")" # Will be removed in release.
> This is a special code that was needed in older Ignite versions, now it is not needed, should be removed.
> Also check if the following code in Maven is present:
>                                         <replaceregexp byline="true">
>                                             <regexp pattern='IGNITE_HOME_TMP="\$\(dirname "\$\{IGNITE_HOME_TMP\}"\)"(\s*#.*)?'/>
>                                             <substitution expression=""/>
>                                             <fileset dir="${basedir}/target/release-package/bin">
>                                                 <include name="**/*.sh"/>
>                                             </fileset>
>                                         </replaceregexp>
> If yes, it also should be removed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)