[ 
https://issues.apache.org/jira/browse/HIVE-4331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13761654#comment-13761654
 ] 

Viraj Bhat commented on HIVE-4331:
----------------------------------

Hi Sushanth,
 Thanks for your offer for help. I went over the trunk code of HCat and 
modified the HCat's storage handler so that they reflect in the 
"org.apache.hcatalog" set. There are something else I observed in the trunk, 
such as:
1) Most of the pom files have 0.12.0-SNAPSHOT, so I changed it to reflect 
0.13.0-SNAPSHOT
2) Had to modify the HCatStorageHandler.java in the 
"org.apache.hcatalog.mapreduce" package as it had an annotation: "* @deprecated 
Use/modify {@link org.apache.hive.hcatalog.mapreduce.HCatStorageHandler} 
instead" to get past the compile as we do not have this class in the 
"org.apache.hive.hcatalog"

Let me post the new patch and wait for the pre-commit build status.
Viraj 
                
> Integrated StorageHandler for Hive and HCat using the HiveStorageHandler
> ------------------------------------------------------------------------
>
>                 Key: HIVE-4331
>                 URL: https://issues.apache.org/jira/browse/HIVE-4331
>             Project: Hive
>          Issue Type: Task
>          Components: HBase Handler, HCatalog
>    Affects Versions: 0.12.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Viraj Bhat
>             Fix For: 0.12.0
>
>         Attachments: HIVE4331_07-17.patch, hive4331hcatrebase.patch, 
> HIVE-4331.patch, StorageHandlerDesign_HIVE4331.pdf
>
>
> 1) Deprecate the HCatHBaseStorageHandler and "RevisionManager" from HCatalog. 
> These will now continue to function but internally they will use the 
> "DefaultStorageHandler" from Hive. They will be removed in future release of 
> Hive.
> 2) Design a HivePassThroughFormat so that any new StorageHandler in Hive will 
> bypass the HiveOutputFormat. We will use this class in Hive's 
> "HBaseStorageHandler" instead of the "HiveHBaseTableOutputFormat".
> 3) Write new unit tests in the HCat's "storagehandler" so that systems such 
> as Pig and Map Reduce can use the Hive's "HBaseStorageHandler" instead of the 
> "HCatHBaseStorageHandler".
> 4) Make sure all the old and new unit tests pass without backward 
> compatibility (except known issues as described in the Design Document).
> 5) Replace all instances of the HCat source code, which point to 
> "HCatStorageHandler" to use the"HiveStorageHandler" including the 
> "FosterStorageHandler".
> I have attached the design document for the same and will attach a patch to 
> this Jira.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to