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

Review request for hcatalog, Dmitriy Ryaboy and Travis Crawford.


Description
-------

We added a property called HCAT_PIG_STORER_EXTERNAL_LOCATION to the UDFContext 
of HCatStorer: when the property is set AND the table type is EXTERNAL, 
HCatStorer writes the data to the external path the property specifies. 


This addresses bug hcatalog-500.
    https://issues.apache.org/jira/browse/hcatalog-500


Diffs
-----

  hcatalog-pig-adapter/src/main/java/org/apache/hcatalog/pig/HCatStorer.java 
c46db33 
  
hcatalog-pig-adapter/src/test/java/org/apache/hcatalog/pig/HCatStorerWrapper.java
 PRE-CREATION 
  
hcatalog-pig-adapter/src/test/java/org/apache/hcatalog/pig/TestHCatStorerWrapper.java
 PRE-CREATION 
  src/java/org/apache/hcatalog/common/HCatConstants.java 626d91b 
  src/java/org/apache/hcatalog/mapreduce/FileOutputCommitterContainer.java 
8e692dc 
  src/java/org/apache/hcatalog/mapreduce/FosterStorageHandler.java 3f368d8 

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


Testing
-------

Added a corresponding unit test. Also tested on our cluster.


Thanks,

Feng Peng

Reply via email to