Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lineage): Fix issue where large lineage fetches trigger 414 URI too long #2462

Merged
merged 12 commits into from
Apr 28, 2021

Conversation

gabe-lyons
Copy link
Contributor

Issue here: #2447

Ideally, we could send these ids as post data. However, restli client does not currently support this. As a temporary solution we can batch get our entity ids in size-limited batches.

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable)

-Djava.security.auth.login.config=$CONF_DIR/jaas.conf
-Dlogback.configurationFile=$CURRENT_DIR/logback.xml
-Dlogback.debug=true
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

intentionally committing this file to ease debug dev experience from now on.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

// not called
}

private static int batchSize = 25;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not configurable?

Copy link
Contributor

@shirshanka shirshanka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks fine!
I would like to see that batch size configurable though. Is there some way to accomplish that?

Copy link
Contributor

@shirshanka shirshanka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@shirshanka shirshanka merged commit 1c0dd32 into datahub-project:master Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants