hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10541) Make the file system properties customizable per table/column family
Date Fri, 14 Feb 2014 22:00:20 GMT

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

Ted Yu commented on HBASE-10541:
--------------------------------

{code}
+   * Configuration key for setting the number of nodes to while hfile would be
+   * replicated. This can set at the table or the column family level.
{code}
'to while hfile': while -> which.
'This can set': This can be set
{code}
+    String value = getValue(HFILE_FS_REPLICATION);
+    return value == null ? -1 : Short.valueOf(value);
{code}
How was the default value of -1 determined ?

TestTableFSProperties needs license.
{code}
+  private static final String TABLE_NAME_REPLICATION = "testTableReplication";
{code}
nit: testTableReplication -> testTableWithCustomReplication

> Make the file system properties customizable per table/column family
> --------------------------------------------------------------------
>
>                 Key: HBASE-10541
>                 URL: https://issues.apache.org/jira/browse/HBASE-10541
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Vasu Mariyala
>         Attachments: trunk-HBASE-10541-rev1.patch, trunk-HBASE-10541.patch
>
>
> The file system properties like replication (the number of nodes to which the hfile needs
to be replicated), block size need to be customizable per table/column family. This is important
especially in the testing scenarios or for test tables where we don't want the hfile to be
replicated 3 times.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message