hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Hive/HowToContribute" by JohnSichi
Date Tue, 26 Jan 2010 23:57:34 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "Hive/HowToContribute" page has been changed by JohnSichi.
http://wiki.apache.org/hadoop/Hive/HowToContribute?action=diff&rev1=14&rev2=15

--------------------------------------------------

  
  == Generating Code ==
  
- Some portions of the metastore code are generated by [[http://incubator.apache.org/thrift/|thrift]].
 For most Hive changes, you don't need to worry about this, but if you end up needing to change
the file {{{metastore/if/hive_metastore.thrift}}}, then you'll also need to regenerate these
files and submit their updated versions as part of your patch.
+ Some portions of the Hive code are generated by [[http://incubator.apache.org/thrift/|thrift]].
 For most Hive changes, you don't need to worry about this, but if you end up needing to change
the file {{{metastore/if/hive_metastore.thrift}}} and/or {{{service/if/hive_service.thrift}}},
then you'll also need to regenerate these files and submit their updated versions as part
of your patch.
  
- Steps:
+ Here are the steps relevant to {{{hive_metastore.thrift}}}:
  
   1. Don't make any changes to {{{hive_metastore.thrift}}} until instructed below.
   1. Use the approved version of thrift.  This is currently {{{thrift-instant-r790732}}},
which you can obtain from http://instant.thrift-rpc.org.
@@ -184, +184 @@

   1. Now use {{{svn status}}} and {{{svn diff}}} to verify that the regenerated code corresponds
only to the changes you made to {{{hive_metastore.thrift}}}.  You may also need {{{svn add}}}
if new files were generated (and {{{svn remove}}} if files have been obsoleted).
   1. {{{cd /path/to/hive-trunk}}}
   1. {{{ant clean package}}}
-  1. Verify that hive is still working correctly
+  1. Verify that hive is still working correctly with both embedded and remote metastore
configurations.
+ 
+ If you are changing {{{hive_service.thrift}}}, the steps should be similar.  In both cases,
you may also need to [[HiveOdbc|deal with recompiling C++ clients as well]].
  
  == Stay involved ==
  Contributors should join the [[http://hadoop.apache.org/hive/mailing_lists.html|Hive mailing
lists]].  In particular the dev list (to join discussions of changes) and the user list (to
help others).

Mime
View raw message