sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Szabolcs Vasas <vasas.szabo...@gmail.com>
Subject Review Request 68569: HiveMiniCluster does not restore hive-site.xml location
Date Thu, 30 Aug 2018 11:27:01 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/68569/
-----------------------------------------------------------

Review request for Sqoop.


Bugs: SQOOP-3375
    https://issues.apache.org/jira/browse/SQOOP-3375


Repository: sqoop-trunk


Description
-------

HiveMiniCluster sets the hive-site.xml location using org.apache.hadoop.hive.conf.HiveConf#setHiveSiteLocation
static method during startup but it does not restore the original location during shutdown.

This makes HCatalogImportTest and HCatalogExportTest fail if they are ran in the same JVM
after any test using HiveMiniCluster.


Diffs
-----

  src/test/org/apache/sqoop/hive/minicluster/HiveMiniCluster.java 19bb7605c 


Diff: https://reviews.apache.org/r/68569/diff/1/


Testing
-------

Executed unit and third party tests.


Thanks,

Szabolcs Vasas


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message