So, trying to debug the "/etc/init.d/ignite-hadoop" script ...

It starts with:



*.
/lib/lsb/init-functionsBIGTOP_DEFAULTS_DIR=${BIGTOP_DEFAULTS_DIR-/etc/default}[
-n "${BIGTOP_DEFAULTS_DIR}" -a -r ${BIGTOP_DEFAULTS_DIR}/hadoop ] && .
${BIGTOP_DEFAULTS_DIR}/hadoop[ -n "${BIGTOP_DEFAULTS_DIR}" -a -r
${BIGTOP_DEFAULTS_DIR}/ ] && . ${BIGTOP_DEFAULTS_DIR}/*


Should the last line in fact be this?
*[ -n "${BIGTOP_DEFAULTS_DIR}" -a -r ${BIGTOP_DEFAULTS_DIR}/ ] && .
${BIGTOP_DEFAULTS_DIR}/ignite-hadoop*

One error less after I make this change ... However, still get "*bash:
--config: command not found*". Don't know which line causes that and I'm
basically clueless about shell scripting. Could the problem be in this line?
 *su -s /bin/bash $SVC_USER -c "cd $WORKING_DIR && $EXEC_PATH --config
'$CONF_DIR' start $DAEMON_FLAGS"*

--David


On Fri, Mar 25, 2016 at 7:34 PM, David Starina <[email protected]>
wrote:

> Is this related to https://issues.apache.org/jira/browse/BIGTOP-2165?
> Konstantin, what did you do to solve this?
>
> On Fri, Mar 25, 2016 at 7:26 PM, David Starina <[email protected]>
> wrote:
>
>> This is a followup on my previous mail about installation of Bigtop with
>> Ignite. As Cos figured out, Ignite is trying to install some weird
>> dependancies. I could not install it on CentOS 7, so I tried CentOS 6.6. It
>> seemed to install all the dependancies there, but still got an error about
>> Ignite service not being recognized:
>>
>>
>>
>> */sbin/service ignite-hadoop-service start' returned 1:
>> ignite-hadoop-service: unrecognized service*
>> So I checked and, while "ignite-hadoop-service" doesn't exist as a
>> service, "ignite-hadoop" does.
>> However, trying to start it, I get another error:
>>
>>
>>
>>
>>
>>
>> *# service ignite-hadoop start/etc/init.d/ignite-hadoop: line 37: .:
>> /etc/default/: is a directorybash: --config: command not foundFailed to
>> start . Return value: 3                          [FAILED]*
>> So this is where I am stuck now ... Have you guys installed Ignite
>> successfully?
>>
>> --David
>>
>
>

Reply via email to