Hi,

I am trying to use the HCatalog dynamic partition feature to write a Hive table 
with partition columns. I was able to write successfully when running in 
Map-Reduce. However, I can't find a way to achieve the same result on a single 
node without running Map-Reduce.
When running in Map-Reduce, I set up the dynamic partition schema with 
HCatOutputFormat.setSchema(...), as shown in the example 
http://quabr.com/14286256/adding-partitions-to-hive-from-a-mapreduce-job.
When running on a single node,  I tried to use HCatWriter (the actual class is 
HCatOutputFormatWriter) obtained through DataTransferFactory.getHCatWriter as 
shown in 
https://cwiki.apache.org/confluence/display/Hive/HCatalog+ReaderWriter. 
However, with that class, I can't find a way to set up the dynamic partition 
schema similar to running in Map-Reduce.
Will this missing feature be addressed in upcoming enhancements? Does anyone 
have a work around currently?


________________________________



ATTENTION: -----

The information contained in this message (including any files transmitted with 
this message) may contain proprietary, trade secret or other confidential 
and/or legally privileged information. Any pricing information contained in 
this message or in any files transmitted with this message is always 
confidential and cannot be shared with any third parties without prior written 
approval from Syncsort. This message is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any use, disclosure, copying or distribution of this message, in any form, is 
strictly prohibited. If you have received this message in error, please 
immediately notify the sender and/or Syncsort and destroy all copies of this 
message in your possession, custody or control.

Reply via email to