Skip to content

Unable to upgrade bookie to 2.5.0 #6131

@gperinazzo

Description

@gperinazzo

Describe the bug
When upgrading an existing 2.4.1 bookie cluster to 2.5.0 on kubernetes, the bookie fails to start with the following exception during initialization: io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 2147483648, max: 2147483648)

The node where the bookie was deployed has more than enough free memory. Rolling the bookie back to versions 2.4.1 or 2.4.2 allows the bookie to initialize successfully.

To Reproduce
Steps to reproduce the behavior:

  1. Have an existing 2.4.1 bookie cluster on kuberentes
  2. Update the image on the stateful set definition and set it to start in read only mode.
  3. Restart one of the bookies to update the image version
  4. See error on the bookie logs

Expected behavior
Upgrading a bookie should work

Additional context
bookie.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThe PR fixed a bug or issue reported a bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions