Skip to content

MultipleOutputs is very slow when trying to use an inexistent multiple output #42

@pereferrera

Description

@pereferrera

If the user is trying to write to a multiple outputs that hasn't been configured, and the job hasn't a default multiple output defined, successive calls will become very slow. The reason is that, before checking if the multiple output name is valid, a series of expensive actions are performed (reflection, output format instantiation, ...). This can be seen in class PangoolMultipleOutputs, method getRecordWriter().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions