adoroszlai opened a new pull request #2853:
URL: https://github.com/apache/ozone/pull/2853
## What changes were proposed in this pull request?
Freon Datanode Chunk Generator fails with NPE in secure cluster. It is
should give a meaningful message about not being supported in secure cluster.
It seems this was broken in HDDS-4475.
```
$ cd hadoop-ozone/dist/target/ozone-*/compose/ozonesecure
$ docker-compose up -d --scale datanode=3
# wait
$ docker-compose exec scm ozone freon dcg -n1 -t1
...
java.lang.NullPointerException
at
com.google.common.base.Preconditions.checkNotNull(Preconditions.java:880)
at
org.apache.hadoop.hdds.scm.XceiverClientManager.<init>(XceiverClientManager.java:94)
at
org.apache.hadoop.hdds.scm.XceiverClientManager.<init>(XceiverClientManager.java:82)
at
org.apache.hadoop.ozone.freon.DatanodeChunkGenerator.call(DatanodeChunkGenerator.java:107)
at
org.apache.hadoop.ozone.freon.DatanodeChunkGenerator.call(DatanodeChunkGenerator.java:58)
```
https://issues.apache.org/jira/browse/HDDS-6011
## How was this patch tested?
```
$ cd hadoop-ozone/dist/target/ozone-*/compose/ozonesecure
$ docker-compose up -d --scale datanode=3
# wait
$ docker-compose exec scm ozone freon dcg -n1 -t1
...
Datanode chunk generator is not supported in secure environment
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]