You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Айсина Роза Мунеровна <ro...@sbermarket.ru> on 2023/02/01 10:55:54 UTC

How to set -DIGNITE_QUIET=false in service.sh?

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.aysina@sbermarket.ru<ma...@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.

Re: How to set -DIGNITE_QUIET=false in service.sh?

Posted by Mikhail Pochatkin <mp...@unison.team>.
Ok, my mistake. I looked into this service.sh file  ignite/service.sh at
master · apache/ignite (github.com)
<https://github.com/apache/ignite/blob/master/bin/include/service.sh>
Unfortunately, I have no see any options to fix your problem without manual
patching of *service.sh *script =(

On Wed, Feb 1, 2023 at 4:54 PM Айсина Роза Мунеровна <
roza.aysina@sbermarket.ru> wrote:

> We use DEB package and its service.sh looks like this:
>
> [image: ignite.png]
>
> ignite/service.sh at master · apache/ignite
> <https://github.com/apache/ignite/blob/master/packaging/rpm/service.sh#L23>
> github.com
> <https://github.com/apache/ignite/blob/master/packaging/rpm/service.sh#L23>
> <https://github.com/apache/ignite/blob/master/packaging/rpm/service.sh#L23>
>
> So you can see that there is no any parameters that can control -v or
> IGNITE_QUIET.
>
> So we set them via JVM_OPTS.
> But ignite.sh has its own default:
>
> [image: ignite.png]
>
> ignite/ignite.sh at master · apache/ignite
> <https://github.com/apache/ignite/blob/master/bin/ignite.sh#L150>
> github.com
> <https://github.com/apache/ignite/blob/master/bin/ignite.sh#L150>
> <https://github.com/apache/ignite/blob/master/bin/ignite.sh#L150>
> [image: ignite.png]
>
> ignite/parseargs.sh at master · apache/ignite
> <https://github.com/apache/ignite/blob/master/bin/include/parseargs.sh#L47>
> github.com
> <https://github.com/apache/ignite/blob/master/bin/include/parseargs.sh#L47>
> <https://github.com/apache/ignite/blob/master/bin/include/parseargs.sh#L47>
>
> So in the end we have two params - one from JVM_OPTS, the second - from
> QUIET env in ignite.sh.
>
> And finally this option becomes disabled :(
>
> On 1 Feb 2023, at 4:19 PM, Mikhail Pochatkin <mp...@unison.team>
> wrote:
>
> Oh, I see. But can you explain why you have  *-DIGNITE_QUIET=false and
> -DIGNITE_QUIET=true *in your VM arguments? Just as I see in *service.sh* command
> line constructed like this
>
> *$JAVA $JVM_OPTS -DIGNITE_UPDATE_NOTIFIER=false
> -DIGNITE_HOME="${IGNITE_HOME}" \           -DIGNITE_PROG_NAME="$0" -cp
> "$IGNITE_LIBS" "$MAIN_CLASS" "$DEFAULT_CONFIG" >&
> "${IGNITE_LOG_DIR}"/ignite.out & *
> Where does *-DIGNITE_QUIET==true *comes from, I don't understand? From
> JVM_OPTS?
>
> On Wed, Feb 1, 2023 at 3:30 PM Айсина Роза Мунеровна <
> roza.aysina@sbermarket.ru> wrote:
>
>> Hi Mikhail!
>>
>> The problem is that I don’t use ignite.sh.
>> To run service we use service.sh and service.sh does not have this
>> option.
>>
>> On 1 Feb 2023, at 2:19 PM, Mikhail Pochatkin <mp...@unison.team>
>> wrote:
>>
>> Внимание: Внешний отправитель!
>> Если вы не знаете отправителя - не открывайте вложения, не переходите по
>> ссылкам, не пересылайте письмо!
>>
>> Hi, you can use -v option for ignite.sh script in this case you will
>> have  *-DIGNITE_QUIET=false*
>>
>> On Wed, Feb 1, 2023 at 1:56 PM Айсина Роза Мунеровна <
>> roza.aysina@sbermarket.ru> wrote:
>>
>>> 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 ) has default option
>>> *-DIGNITE_QUIET=true*,
>>>
>> [image: ignite.png]
>
> ignite/parseargs.sh at master · apache/ignite
> <https://github.com/apache/ignite/blob/master/bin/include/parseargs.sh#L47>
> github.com
> <https://github.com/apache/ignite/blob/master/bin/include/parseargs.sh#L47>
> <https://github.com/apache/ignite/blob/master/bin/include/parseargs.sh#L47>
>
>
>>> *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.aysina@sbermarket.ru
>>> Mob:
>>> Web: 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.
>>>
>>
>> *--*
>>
>> *Роза Айсина*
>> Старший разработчик ПО
>> *СберМаркет* | Доставка из любимых магазинов
>>
>>
>> Email: roza.aysina@sbermarket.ru
>> Mob:
>> Web: 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.
>>
>
> *--*
>
> *Роза Айсина*
>
> Старший разработчик ПО
>
> *СберМаркет* | Доставка из любимых магазинов
>
>
>
> Email: roza.aysina@sbermarket.ru
>
> Mob:
>
> Web: 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.
>

Re: How to set -DIGNITE_QUIET=false in service.sh?

Posted by Айсина Роза Мунеровна <ro...@sbermarket.ru>.
We use DEB package and its service.sh looks like this:

<https://github.com/apache/ignite/blob/master/packaging/rpm/service.sh#L23>
[ignite.png]
ignite/service.sh at master · apache/ignite<https://github.com/apache/ignite/blob/master/packaging/rpm/service.sh#L23>
github.com<https://github.com/apache/ignite/blob/master/packaging/rpm/service.sh#L23>



So you can see that there is no any parameters that can control -v or IGNITE_QUIET.

So we set them via JVM_OPTS.
But ignite.sh has its own default:

<https://github.com/apache/ignite/blob/master/bin/ignite.sh#L150>
[ignite.png]
ignite/ignite.sh at master · apache/ignite<https://github.com/apache/ignite/blob/master/bin/ignite.sh#L150>
github.com<https://github.com/apache/ignite/blob/master/bin/ignite.sh#L150>


<https://github.com/apache/ignite/blob/master/bin/include/parseargs.sh#L47>
[ignite.png]
ignite/parseargs.sh at master · apache/ignite<https://github.com/apache/ignite/blob/master/bin/include/parseargs.sh#L47>
github.com<https://github.com/apache/ignite/blob/master/bin/include/parseargs.sh#L47>



So in the end we have two params - one from JVM_OPTS, the second - from QUIET env in ignite.sh.

And finally this option becomes disabled :(

On 1 Feb 2023, at 4:19 PM, Mikhail Pochatkin <mp...@unison.team> wrote:

Oh, I see. But can you explain why you have  -DIGNITE_QUIET=false and -DIGNITE_QUIET=true in your VM arguments? Just as I see in service.sh command line constructed like this
$JAVA $JVM_OPTS -DIGNITE_UPDATE_NOTIFIER=false -DIGNITE_HOME="${IGNITE_HOME}" \
          -DIGNITE_PROG_NAME="$0" -cp "$IGNITE_LIBS" "$MAIN_CLASS" "$DEFAULT_CONFIG" >& "${IGNITE_LOG_DIR}"/ignite.out &
Where does -DIGNITE_QUIET==true comes from, I don't understand? From JVM_OPTS?

On Wed, Feb 1, 2023 at 3:30 PM Айсина Роза Мунеровна <ro...@sbermarket.ru>> wrote:
Hi Mikhail!

The problem is that I don’t use ignite.sh.
To run service we use service.sh and service.sh does not have this option.

On 1 Feb 2023, at 2:19 PM, Mikhail Pochatkin <mp...@unison.team> wrote:

Внимание: Внешний отправитель!
Если вы не знаете отправителя - не открывайте вложения, не переходите по ссылкам, не пересылайте письмо!

Hi, you can use -v option for ignite.sh script in this case you will have  -DIGNITE_QUIET=false

On Wed, Feb 1, 2023 at 1:56 PM Айсина Роза Мунеровна <ro...@sbermarket.ru>> wrote:
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 ) has default option -DIGNITE_QUIET=true,
<https://github.com/apache/ignite/blob/master/bin/include/parseargs.sh#L47>
[ignite.png]
ignite/parseargs.sh at master · apache/ignite<https://github.com/apache/ignite/blob/master/bin/include/parseargs.sh#L47>
github.com<https://github.com/apache/ignite/blob/master/bin/include/parseargs.sh#L47>



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.aysina@sbermarket.ru<ma...@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.

--

Роза Айсина
Старший разработчик ПО
СберМаркет | Доставка из любимых магазинов



Email: roza.aysina@sbermarket.ru<ma...@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.


--

Роза Айсина

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

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



Email: roza.aysina@sbermarket.ru<ma...@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.

Re: How to set -DIGNITE_QUIET=false in service.sh?

Posted by Mikhail Pochatkin <mp...@unison.team>.
Oh, I see. But can you explain why you have  *-DIGNITE_QUIET=false and
-DIGNITE_QUIET=true *in your VM arguments? Just as I see in
*service.sh* command
line constructed like this

*$JAVA $JVM_OPTS -DIGNITE_UPDATE_NOTIFIER=false
-DIGNITE_HOME="${IGNITE_HOME}" \          -DIGNITE_PROG_NAME="$0" -cp
"$IGNITE_LIBS" "$MAIN_CLASS" "$DEFAULT_CONFIG" >&
"${IGNITE_LOG_DIR}"/ignite.out & *
Where does *-DIGNITE_QUIET==true *comes from, I don't understand? From
JVM_OPTS?

On Wed, Feb 1, 2023 at 3:30 PM Айсина Роза Мунеровна <
roza.aysina@sbermarket.ru> wrote:

> Hi Mikhail!
>
> The problem is that I don’t use ignite.sh.
> To run service we use service.sh and service.sh does not have this option.
>
> On 1 Feb 2023, at 2:19 PM, Mikhail Pochatkin <mp...@unison.team>
> wrote:
>
> Внимание: Внешний отправитель!
> Если вы не знаете отправителя - не открывайте вложения, не переходите по
> ссылкам, не пересылайте письмо!
>
> Hi, you can use -v option for ignite.sh script in this case you will have
> *-DIGNITE_QUIET=false*
>
> On Wed, Feb 1, 2023 at 1:56 PM Айсина Роза Мунеровна <
> roza.aysina@sbermarket.ru> wrote:
>
>> 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.aysina@sbermarket.ru
>> Mob:
>> Web: 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.
>>
>
> *--*
>
> *Роза Айсина*
>
> Старший разработчик ПО
>
> *СберМаркет* | Доставка из любимых магазинов
>
>
>
> Email: roza.aysina@sbermarket.ru
>
> Mob:
>
> Web: 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.
>

Re: How to set -DIGNITE_QUIET=false in service.sh?

Posted by Айсина Роза Мунеровна <ro...@sbermarket.ru>.
Hi Mikhail!

The problem is that I don’t use ignite.sh.
To run service we use service.sh and service.sh does not have this option.

On 1 Feb 2023, at 2:19 PM, Mikhail Pochatkin <mp...@unison.team> wrote:

Внимание: Внешний отправитель!
Если вы не знаете отправителя - не открывайте вложения, не переходите по ссылкам, не пересылайте письмо!

Hi, you can use -v option for ignite.sh script in this case you will have  -DIGNITE_QUIET=false

On Wed, Feb 1, 2023 at 1:56 PM Айсина Роза Мунеровна <ro...@sbermarket.ru>> wrote:
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.aysina@sbermarket.ru<ma...@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.


--

Роза Айсина

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

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



Email: roza.aysina@sbermarket.ru<ma...@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.

Re: How to set -DIGNITE_QUIET=false in service.sh?

Posted by Mikhail Pochatkin <mp...@unison.team>.
Hi, you can use -v option for ignite.sh script in this case you will have
*-DIGNITE_QUIET=false*

On Wed, Feb 1, 2023 at 1:56 PM Айсина Роза Мунеровна <
roza.aysina@sbermarket.ru> wrote:

> 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.aysina@sbermarket.ru
>
> Mob:
>
> Web: 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.
>

Re: How to set -DIGNITE_QUIET=false in service.sh?

Posted by Ilya Korol <ll...@gmail.com>.
As a workaroud you can try to add *-v* option to ignite.sh, this should 
enable verbose logging (e.g. non quiet logging)

01.02.2023 17:38, Jeremy McMillan пишет:
> This seems to be at the level of a high quality bug report, and has 
> enough detail that a fix could probably be implemented and submitted 
> as a PR fairly easily. Are you familiar with the contributor process?
>
> On Wed, Feb 1, 2023, 04:56 Айсина Роза Мунеровна 
> <ro...@sbermarket.ru> wrote:
>
>     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.aysina@sbermarket.ru <ma...@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.
>

Re: How to set -DIGNITE_QUIET=false in service.sh?

Posted by Jeremy McMillan <je...@gridgain.com>.
This seems to be at the level of a high quality bug report, and has enough
detail that a fix could probably be implemented and submitted as a PR
fairly easily. Are you familiar with the contributor process?

On Wed, Feb 1, 2023, 04:56 Айсина Роза Мунеровна <ro...@sbermarket.ru>
wrote:

> 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.aysina@sbermarket.ru
>
> Mob:
>
> Web: 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.
>