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

Mike Drob commented on HBASE-18419:
-----------------------------------

I think I can make the patch for this, but want to double check that the proper 
way to do this now would be:

{code}
          ColumnFamilyDescriptor cfd = 
ColumnFamilyDescriptorBuilder.newBuilder(columnDescriptor)
              .setMobEnabled(true)
              .setMobThreshold((long) threshold)
              .build();
          admin.modifyColumnFamily(tableName, columnDescriptor);
{code}

> IntegrationTestIngestWithMob fails in standalone mode
> -----------------------------------------------------
>
>                 Key: HBASE-18419
>                 URL: https://issues.apache.org/jira/browse/HBASE-18419
>             Project: HBase
>          Issue Type: Bug
>          Components: integration tests
>    Affects Versions: 2.0.0-alpha-1
>            Reporter: Mike Drob
>            Assignee: Chia-Ping Tsai
>            Priority: Critical
>
> When attempting to run ITIWM against a cluster I get the following error:
> {noformat}
> java.lang.UnsupportedOperationException: HColumnDescriptor is read-only
>       at 
> org.apache.hadoop.hbase.client.ImmutableHColumnDescriptor.getDelegateeForModification(ImmutableHColumnDescriptor.java:44)
>       at 
> org.apache.hadoop.hbase.HColumnDescriptor.setMobEnabled(HColumnDescriptor.java:735)
>       at 
> org.apache.hadoop.hbase.IntegrationTestIngestWithMOB.initTable(IntegrationTestIngestWithMOB.java:122)
>       at 
> org.apache.hadoop.hbase.IntegrationTestIngest.setUpCluster(IntegrationTestIngest.java:92)
>       at 
> org.apache.hadoop.hbase.IntegrationTestBase.setUp(IntegrationTestBase.java:148)
>       at 
> org.apache.hadoop.hbase.IntegrationTestBase.doWork(IntegrationTestBase.java:131)
>       at 
> org.apache.hadoop.hbase.util.AbstractHBaseTool.run(AbstractHBaseTool.java:154)
>       at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
>       at 
> org.apache.hadoop.hbase.IntegrationTestIngestWithMOB.main(IntegrationTestIngestWithMOB.java:153)
> {noformat}



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

Reply via email to