Как избавиться от приведенного ниже сообщения в логах кассандры? - PullRequest
0 голосов
/ 11 декабря 2018

Я недавно обновил datastax-enterprise с 4.8.16 до 5.0.15.Мы используем аутентификацию по паролю в формате PlainText.Но ниже сообщение постоянно поступает в журналы.

2018-12-11 09:50:04.446 WARN   [SharedPool-Worker-5 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 09:50:37.465 WARN   [SharedPool-Worker-1 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 09:50:49.472 WARN   [SharedPool-Worker-4 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 09:55:43.148 WARN   [SharedPool-Worker-2 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 09:57:50.736 WARN   [SharedPool-Worker-3 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 09:59:33.013 WARN   [SharedPool-Worker-3 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 10:00:04.450 WARN   [SharedPool-Worker-3 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 10:00:37.469 WARN   [SharedPool-Worker-3 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 10:00:49.475 WARN   [SharedPool-Worker-4 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 10:05:43.364 WARN   [SharedPool-Worker-2 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 10:07:50.840 WARN   [SharedPool-Worker-3 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged
2018-12-11 10:09:33.658 WARN   [SharedPool-Worker-2 - com.datastax.bdp.cassandra.auth.DseAuthenticator:411] Plain text authentication without client / server encryption is strongly discouraged

Как избавиться от этого сообщения, поскольку я не заинтересован использовать шифрование сейчас?

1 Ответ

0 голосов
/ 11 декабря 2018

Вам необходимо установить:

authentication_options:
    plain_text_without_ssl: allow

в вашем dse.yaml файле конфигурации.Возможные настройки для этого:

block  - block the request with an authentication error
warn   - log a warning about the request but allow it to continue (default)
allow  - allow the request without any warning
...