[
https://issues.apache.org/jira/browse/HDDS-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16910966#comment-16910966
]
Li Cheng edited comment on HDDS-1933 at 8/20/19 8:58 AM:
---------------------------------------------------------
[~msingh] I was trying to reproduce it thru UT. Tried using PowerMokito in
TestMiniOzoneCluster to mock fake IP address locally to trigger this, but
encountered with issues. Addding
PowerMockIgnore "javax.management.*" leads to
javax.security.auth.login.LoginExceptiom, but not having it leads to loader
constraint violation.
Looks like PowerMock in MiniOzoneCluster might not be a good idea. Any thoughts
on reproducing this issue in UT?
If not UT, how do we test it in some integration test [~xyao]? Any attempts
before to switch up container's ip maybe?
was (Author: timmylicheng):
[~msingh] I was trying to reproduce it thru UT. Tried using PowerMokito in
TestMiniOzoneCluster to mock fake IP address locally to trigger this, but
encountered with issues. Addding
PowerMockIgnore "javax.management.*" leads to
javax.security.auth.login.LoginExceptiom, but not having it leads to loader
constraint violation.
Looks like PowerMock in MiniOzoneCluster might not be a good idea. Any thoughts
on reproducing this issue in UT?
> Datanode should use hostname in place of ip addresses to allow DN's to work
> when ipaddress change
> -------------------------------------------------------------------------------------------------
>
> Key: HDDS-1933
> URL: https://issues.apache.org/jira/browse/HDDS-1933
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: Ozone Datanode, SCM
> Affects Versions: 0.4.0
> Reporter: Mukul Kumar Singh
> Priority: Blocker
>
> This was noticed by [~elek] while deploying Ozone on Kubernetes based
> environment.
> When the datanode ip address change on restart, the Datanode details cease to
> be correct for the datanode. and this prevents the cluster from functioning
> after a restart.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]