Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-19273

IntegrationTestBulkLoad#installSlowingCoproc() uses read-only HTableDescriptor

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-beta-1, 2.0.0
    • None
    • None
    • Reviewed

    Description

      romil.choksi reported the following :

      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)
      

      This is due to read only descriptor being used.

      Attachments

        1. 19273.v2.txt
          2 kB
          Ted Yu
        2. 19273.v1.txt
          2 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            romil.choksi Romil Choksi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: