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

[HUDI-980] Fixing dir path for metastore_db and derby.logs generated in hive tests #1688

Merged

Conversation

nsivabalan
Copy link
Contributor

After running TestHiveSyncTool, some remnants are found in source dir(hudi-hive-sync). Eg, metastore_db and derby.logs. This patch fixes the same. This indirectly causes compilation of hudi to fail. Once you run unit tests, if you try to compile, it may complain about license headers in these generated files.

Source: https://stackoverflow.com/questions/38377188/how-to-get-rid-of-derby-log-metastore-db-from-spark-shell

Verification:

  • Verified that these are created in the temp dir created as part of tests and no remnants are found in hudi-hive-sync.
  • Ran entire TestHiveSyncTool. All passed.

Committer checklist

  • Has a corresponding JIRA in PR title & commit

  • Commit message is descriptive of the change

  • CI is green

  • Necessary doc changes done or have another open PR

  • For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@nsivabalan nsivabalan requested a review from bvaradar May 29, 2020 23:33
Copy link
Contributor

@bvaradar bvaradar left a comment

Choose a reason for hiding this comment

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

Looks good @nsivabalan. Please go ahead and merge once the tests passes and cherry-pick

@bvaradar bvaradar self-assigned this May 29, 2020
@nsivabalan
Copy link
Contributor Author

sure @bvaradar . thanks.

@codecov-commenter
Copy link

Codecov Report

Merging #1688 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1688   +/-   ##
=========================================
  Coverage     18.19%   18.19%           
  Complexity      856      856           
=========================================
  Files           348      348           
  Lines         15344    15344           
  Branches       1523     1523           
=========================================
  Hits           2792     2792           
  Misses        12195    12195           
  Partials        357      357           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5a0d3f1...ae8f004. Read the comment docs.

@nsivabalan nsivabalan merged commit 7fb1251 into apache:master May 30, 2020
nsivabalan added a commit that referenced this pull request May 30, 2020
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.

None yet

3 participants