hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18433) Convenience method for creating simple ColumnFamilyDescriptor
Date Thu, 17 Aug 2017 19:26:07 GMT

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

Hudson commented on HBASE-18433:
--------------------------------

FAILURE: Integrated in Jenkins build HBASE-14070.HLC #233 (See [https://builds.apache.org/job/HBASE-14070.HLC/233/])
HBASE-18433 Convenience method for creating simple (chia7712: rev 317ce739631495c056a8f82f580c46ccdab3f937)
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/util/RegionSplitter.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncAdminBase.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestResultFromCoprocessor.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestReplicaWithCluster.java
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/client/ColumnFamilyDescriptor.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncDrainAdminApi.java
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/client/ColumnFamilyDescriptorBuilder.java
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/master/cleaner/TestSnapshotFromMaster.java
* (edit) hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestColumnFamilyDescriptorBuilder.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncRegionAdminApi.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncClusterAdminApi.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTableAdminApi.java


> Convenience method for creating simple ColumnFamilyDescriptor
> -------------------------------------------------------------
>
>                 Key: HBASE-18433
>                 URL: https://issues.apache.org/jira/browse/HBASE-18433
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 2.0.0-alpha-1
>            Reporter: Mike Drob
>            Assignee: Mike Drob
>             Fix For: 3.0.0, 2.0.0-alpha-2
>
>         Attachments: HBASE-18433.patch
>
>
> The old {{HColumnDescriptor(String)}} is deprecated and going away. The most straightforward
replacement for it is very wordy: {{ColumnFamilyDescriptorBuilder.newBuilder(byte \[]).build()}}
> We can provide a more inline replacement like {{ColumnFamilyDescriptor.for(String)}}
that will be useful if we do not need to actually do any modifications on it, only pass it
as an argument to something (like table descriptor operations).
> We can do the same kind of improvement for TableDescriptor, but I do not think the use
case is as helpful because usually we will want to do something to the modifiable TableDescriptor,
and I have not seen many use cases where it is passed as an argument unadorned.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message