ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (IGNITE-413) bin/setup-hadoop.sh must work even if IGNITE_HOME is not set.
Date Fri, 06 Mar 2015 07:18:39 GMT

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

Vladimir Ozerov closed IGNITE-413.
----------------------------------

> 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)

Mime
View raw message