bharatviswa504 opened a new pull request #695: HDDS-3137. OM RpcClient fail with java.lang.IllegalArgumentException. URL: https://github.com/apache/hadoop-ozone/pull/695 ## What changes were proposed in this pull request? Fix Rpcclient creation failing with java.lang.IllegalArgumentException ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-3137 ## How was this patch tested? Previously in docker-compose om-ha-s3, when one of the OM is killed using docker stop <<containerid>> used to fail with IllegalArgumentException. Now with the fix, tried on the docker-compose ha cluster. ``` $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 4181d2fb54bb apache/ozone-runner:20191107-1 "/usr/local/bin/dumb…" 31 minutes ago Up 31 minutes 0.0.0.0:9878->9878/tcp ozone-om-ha-s3_s3g_1 81e613bda640 apache/ozone-runner:20191107-1 "/usr/local/bin/dumb…" 31 minutes ago Up 31 minutes 0.0.0.0:9890->9872/tcp, 0.0.0.0:9880->9874/tcp ozone-om-ha-s3_om1_1 cdd968cba61f apache/ozone-runner:20191107-1 "/usr/local/bin/dumb…" 31 minutes ago Up 31 minutes 0.0.0.0:32769->9864/tcp ozone-om-ha-s3_datanode_1 89f0e6a0f4c8 apache/ozone-runner:20191107-1 "/usr/local/bin/dumb…" 31 minutes ago Up 31 minutes 0.0.0.0:9894->9872/tcp, 0.0.0.0:9884->9874/tcp ozone-om-ha-s3_om3_1 c34627654655 apache/ozone-runner:20191107-1 "/usr/local/bin/dumb…" 31 minutes ago Up 31 minutes 0.0.0.0:9876->9876/tcp ozone-om-ha-s3_scm_1 d97ff58182c1 apache/ozone-runner:20191107-1 "/usr/local/bin/dumb…" 31 minutes ago Up 2 seconds 0.0.0.0:9892->9872/tcp, 0.0.0.0:9882->9874/tcp ozone-om-ha-s3_om2_1 $ docker stop 81e613bda640 81e613bda640 bash-4.2$ ozone admin om getserviceroles -id=id1 proxyom1 : FOLLOWER om2 : FOLLOWER om3 : LEADER ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
