Hola!
We run Ignite via service from DEB package and use service.sh to start it.

In the service file we set env JVM_OPTS like this:

Environment="JVM_OPTS=-server -Xms10g -Xmx10g … …  -DIGNITE_QUIET=false”

The problem is that parseargs.sh (look 
here<https://github.com/apache/ignite/blob/master/bin/include/parseargs.sh#L47>)
 has default option -DIGNITE_QUIET=true,
which is not propagated in service.sh:

/usr/share/apache-ignite/bin/ignite.sh /etc/apache-ignite/$2 & echo $! >> 
/var/run/apache-ignite/$2.pid

In service.sh we can pass only configuration so result options look like that:

[2023-02-01T09:42:43,105][INFO ][main][IgniteKernal] VM arguments: […,  
-Xms10g, ..., -DIGNITE_QUIET=false, -Dfile.encoding=UTF-8, -DIGNITE_QUIET=true, 
-DIGNITE_SUCCESS_FILE=..., -DIGNITE_HOME=..., -DIGNITE_PROG_NAME=...]

Is there any way to set -DIGNITE_QUIET=false for service.sh without manually 
patching it?
Maybe there is more priority option in configuration?

Thanks!

--

Роза Айсина

Старший разработчик ПО

СберМаркет | Доставка из любимых магазинов



Email: roza.ays...@sbermarket.ru<mailto:roza.ays...@sbermarket.ru>

Mob:

Web: sbermarket.ru<https://sbermarket.ru/>

App: 
iOS<https://apps.apple.com/ru/app/%D1%81%D0%B1%D0%B5%D1%80%D0%BC%D0%B0%D1%80%D0%BA%D0%B5%D1%82-%D0%B4%D0%BE%D1%81%D1%82%D0%B0%D0%B2%D0%BA%D0%B0-%D0%BF%D1%80%D0%BE%D0%B4%D1%83%D0%BA%D1%82%D0%BE%D0%B2/id1166642457>
 и 
Android<https://play.google.com/store/apps/details?id=ru.instamart&hl=en&gl=ru>



УВЕДОМЛЕНИЕ О КОНФИДЕНЦИАЛЬНОСТИ: это электронное сообщение и любые документы, 
приложенные к нему, содержат конфиденциальную информацию. Настоящим уведомляем 
Вас о том, что, если это сообщение не предназначено Вам, использование, 
копирование, распространение информации, содержащейся в настоящем сообщении, а 
также осуществление любых действий на основе этой информации, строго запрещено. 
Если Вы получили это сообщение по ошибке, пожалуйста, сообщите об этом 
отправителю по электронной почте и удалите это сообщение.
CONFIDENTIALITY NOTICE: This email and any files attached to it are 
confidential. If you are not the intended recipient you are notified that 
using, copying, distributing or taking any action in reliance on the contents 
of this information is strictly prohibited. If you have received this email in 
error please notify the sender and delete this email.

Reply via email to