Skip to content

Can not get real ip when use RackawareEnsemblePlacementPolicy #2784

@casuallc

Description

@casuallc

BUG REPORT

Describe the bug

  • set ensemblePlacementPolicy=org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy
  • set reppDnsResolverClass=myclass(implements DNSToSwitchMapping)

In some server, I get 127.0.0.1 when the method DNSToSwitchMapping.resolve called.
But the real ip (129.x.x.x) is expected.

Screenshots

image

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions