[ https://issues.apache.org/jira/browse/HUDI-980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HUDI-980: -------------------------------- Labels: pull-request-available (was: ) > Some remnants after running TestHiveSyncTool is created in local source dir > --------------------------------------------------------------------------- > > Key: HUDI-980 > URL: https://issues.apache.org/jira/browse/HUDI-980 > Project: Apache Hudi > Issue Type: Bug > Components: Release & Administrative > Affects Versions: 0.5.3 > Reporter: sivabalan narayanan > Assignee: sivabalan narayanan > Priority: Major > Labels: pull-request-available > > After running tests in TestHiveSyncTool, metadatastore_db directory is > created in hudi-hive-sync/ . Need to fix this to be generated under the work > dir created as part of the test. > > This in turn creates issues while compiling, due to license header missing in > these generated files. > > ``` > [INFO] hudi-integ-test .................................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 20.168 s > [INFO] Finished at: 2020-05-29T11:50:08-04:00 > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check > (default) on project hudi-hive: Too many files with unapproved license: 5 See > RAT report in: > /Users/sivabala/Documents/personal/projects/siva_hudi/apache_hudi/hudi/hudi-hive/target/rat.txt > -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > ``` > Contents of rat file > ``` > 5 Unknown Licenses > ***************************************************** > Files with unapproved licenses: > /Users/sivabala/Documents/personal/projects/siva_hudi/apache_hudi/hudi/hudi-hive/metastore_db/db.lck > > /Users/sivabala/Documents/personal/projects/siva_hudi/apache_hudi/hudi/hudi-hive/metastore_db/README_DO_NOT_TOUCH_FILES.txt > > /Users/sivabala/Documents/personal/projects/siva_hudi/apache_hudi/hudi/hudi-hive/metastore_db/seg0/README_DO_NOT_TOUCH_FILES.txt > > /Users/sivabala/Documents/personal/projects/siva_hudi/apache_hudi/hudi/hudi-hive/metastore_db/log/README_DO_NOT_TOUCH_FILES.txt > > /Users/sivabala/Documents/personal/projects/siva_hudi/apache_hudi/hudi/hudi-hive/metastore_db/service.properties > ``` > -- This message was sent by Atlassian Jira (v8.3.4#803005)