hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keegan Mosley" <keegan.r.mos...@gmail.com>
Subject Review Request: HIVE-3231 msck repair should find partitions already containing data files
Date Thu, 18 Oct 2012 17:15:14 GMT

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

Review request for hive.


Description
-------

msck repair currently will only discover partition directories if they are empty.

It seems a more apt use case to copy data files into a table, creating the partition directories
as you go, rather than creating a bunch of empty partition directories, then running msck
repair to dynamically add them, then inserting your actual data files.


This addresses bug HIVE-3231.
    https://issues.apache.org/jira/browse/HIVE-3231


Diffs
-----

  /trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveMetaStoreChecker.java 1396831

  /trunk/ql/src/test/queries/clientpositive/repair.q 1396831 
  /trunk/ql/src/test/queries/clientpositive/repair_hadoop23.q 1396831 

Diff: https://reviews.apache.org/r/7649/diff/


Testing
-------


Thanks,

Keegan Mosley


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