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

[email protected] commented on HCATALOG-404:
--------------------------------------------------------



bq.  On 2012-05-08 16:41:27, David Capwell wrote:
bq.  > storage-handlers/hbase/src/resources/revision-manager-default.xml, lines 
22-35
bq.  > <https://reviews.apache.org/r/5062/diff/1/?file=107668#file107668line22>
bq.  >
bq.  >     Why only these two defaults and not all the other found in RM?
bq.  >     
bq.  >     public static final String DEFAULT_DATADIR = "/revision-management";
bq.  >         public static final String DEFAULT_HOSTLIST = "localhost:2181";
bq.  >     private static  int DEFAULT_WRITE_TRANSACTION_TIMEOUT = 14400000;
bq.  >     
bq.  >     just to list a few
bq.  
bq.  Francis Liu wrote:
bq.      Hmmm, I'm actually hesitant about having defaults in more than one 
place. Will have to rethink this.
bq.  
bq.  David Capwell wrote:
bq.      You are doing that as part of this Jira.  ZKBasedRevisionManager is 
defined as the default in three different files.  There is no common class that 
hosts the keys and their defaults, so this information is scattered around.
bq.  
bq.  Francis Liu wrote:
bq.      Yes, I didn't want to address that in this patch. Will see what I can 
do without bloating this patch.

We should add a sub task to this jira to have the defaults in the xml file. 
This will make things easier to track. 


- Vandana


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


On 2012-05-10 20:48:36, Francis Liu wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/5062/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-05-10 20:48:36)
bq.  
bq.  
bq.  Review request for hcatalog, Vandana Ayyalasomayajula and Thomas.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  revision manager currently expects some configs to be included in 
hbase-site.xml, which complicates deployment as well as adding unrelated 
properties which are not native hbase.
bq.  
bq.  I've added a new class and revision-*.xml artifacts.
bq.  
bq.  
bq.  This addresses bug HCATALOG-404.
bq.      https://issues.apache.org/jira/browse/HCATALOG-404
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    storage-handlers/hbase/build.xml 6653a66 
bq.    storage-handlers/hbase/conf/revision-manager-site.xml PRE-CREATION 
bq.    
storage-handlers/hbase/src/java/org/apache/hcatalog/hbase/HBaseHCatStorageHandler.java
 d3faa04 
bq.    
storage-handlers/hbase/src/java/org/apache/hcatalog/hbase/snapshot/RMConstants.java
 PRE-CREATION 
bq.    
storage-handlers/hbase/src/java/org/apache/hcatalog/hbase/snapshot/RevisionManager.java
 24fc171 
bq.    
storage-handlers/hbase/src/java/org/apache/hcatalog/hbase/snapshot/RevisionManagerConfiguration.java
 PRE-CREATION 
bq.    
storage-handlers/hbase/src/java/org/apache/hcatalog/hbase/snapshot/RevisionManagerEndpoint.java
 55c97e0 
bq.    
storage-handlers/hbase/src/java/org/apache/hcatalog/hbase/snapshot/RevisionManagerEndpointClient.java
 3e03909 
bq.    
storage-handlers/hbase/src/java/org/apache/hcatalog/hbase/snapshot/RevisionManagerFactory.java
 cffcf5e 
bq.    
storage-handlers/hbase/src/java/org/apache/hcatalog/hbase/snapshot/ZKBasedRevisionManager.java
 6de6114 
bq.    storage-handlers/hbase/src/resources/revision-manager-default.xml 
PRE-CREATION 
bq.    storage-handlers/hbase/src/test/log4j.xml 8fd4fc9 
bq.    
storage-handlers/hbase/src/test/org/apache/hcatalog/hbase/TestHBaseBulkOutputFormat.java
 ee79d53 
bq.    
storage-handlers/hbase/src/test/org/apache/hcatalog/hbase/TestHBaseDirectOutputFormat.java
 7808692 
bq.    
storage-handlers/hbase/src/test/org/apache/hcatalog/hbase/TestHBaseHCatStorageHandler.java
 9dd8103 
bq.    
storage-handlers/hbase/src/test/org/apache/hcatalog/hbase/TestHBaseInputFormat.java
 811d30f 
bq.    
storage-handlers/hbase/src/test/org/apache/hcatalog/hbase/TestSnapshots.java 
9e78282 
bq.    
storage-handlers/hbase/src/test/org/apache/hcatalog/hbase/snapshot/TestRevisionManager.java
 5cc9796 
bq.    
storage-handlers/hbase/src/test/org/apache/hcatalog/hbase/snapshot/TestRevisionManagerConfiguration.java
 PRE-CREATION 
bq.    
storage-handlers/hbase/src/test/org/apache/hcatalog/hbase/snapshot/TestRevisionManagerEndpoint.java
 1e94fd2 
bq.    
storage-handlers/hbase/src/test/org/apache/hcatalog/hbase/snapshot/TestZNodeSetUp.java
 ed85a47 
bq.  
bq.  Diff: https://reviews.apache.org/r/5062/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Francis
bq.  
bq.


                
> add separate configuration for revision manager
> -----------------------------------------------
>
>                 Key: HCATALOG-404
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-404
>             Project: HCatalog
>          Issue Type: Improvement
>    Affects Versions: 0.4.1
>            Reporter: Francis Liu
>            Assignee: Francis Liu
>         Attachments: HCATALOG-404.patch, HCATALOG-404_2.patch
>
>
> revision manager currently expects some configs to be included in 
> hbase-site.xml, which is complicates deployment and adding unrelated 
> properties which are not native hbase.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to