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

Josh Elser edited comment on HBASE-19273 at 11/16/17 3:42 PM:
--------------------------------------------------------------

Fix the checkstyle failure, please.

{noformat}
./hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java:46:import
 org.apache.hadoop.hbase.HTableDescriptor;:8: Unused import - 
org.apache.hadoop.hbase.HTableDescriptor. [UnusedImports]
{noformat}

Edit: +1 after that


was (Author: elserj):
Fix the checkstyle failure, please.

{noformat}
./hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java:46:import
 org.apache.hadoop.hbase.HTableDescriptor;:8: Unused import - 
org.apache.hadoop.hbase.HTableDescriptor. [UnusedImports]
{noformat}

> IntegrationTestBulkLoad#installSlowingCoproc() uses read-only HTableDescriptor
> ------------------------------------------------------------------------------
>
>                 Key: HBASE-19273
>                 URL: https://issues.apache.org/jira/browse/HBASE-19273
>             Project: HBase
>          Issue Type: Test
>            Reporter: Romil Choksi
>            Assignee: Ted Yu
>         Attachments: 19273.v1.txt
>
>
> [~romil.choksi] reported the following :
> {code}
> 2017-11-15 23:03:04,455 ERROR [main] util.AbstractHBaseTool: Error running 
> command-line tool
> java.lang.UnsupportedOperationException: HTableDescriptor is read-only
> at 
> org.apache.hadoop.hbase.client.ImmutableHTableDescriptor.getDelegateeForModification(ImmutableHTableDescriptor.java:59)
> at 
> org.apache.hadoop.hbase.HTableDescriptor.addCoprocessor(HTableDescriptor.java:710)
> at 
> org.apache.hadoop.hbase.mapreduce.IntegrationTestBulkLoad.installSlowingCoproc(IntegrationTestBulkLoad.java:215)
> at 
> org.apache.hadoop.hbase.mapreduce.IntegrationTestBulkLoad.testBulkLoad(IntegrationTestBulkLoad.java:222)
> at 
> org.apache.hadoop.hbase.mapreduce.IntegrationTestBulkLoad.runTestFromCommandLine(IntegrationTestBulkLoad.java:790)
> at 
> org.apache.hadoop.hbase.IntegrationTestBase.doWork(IntegrationTestBase.java:155)
> {code}
> This is due to read only descriptor being used.



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

Reply via email to