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

HFilePerformanceEvaluation Scan tests fail with StackOverflowError due to recursive call in createCell function

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 1.0.0, 1.1.0
    • None
    • None
    • Ubuntu

    • Reviewed

    Description

      While trying to run HFilePerformanceEvaluation with hbase-2.0.0 UniformRandomSmallScan is failing with StackOverflowError. Lookes related to the byte array to Cell based HFile changes.

      2015-01-26 12:42:09,551 WARN [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
      2015-01-26 12:42:09,760 INFO [main] hbase.HFilePerformanceEvaluation: Running SequentialWriteBenchmark for 1000000 rows.
      2015-01-26 12:42:10,007 INFO [main] hfile.CacheConfig: CacheConfig:disabled
      2015-01-26 12:42:11,560 INFO [main] hbase.HFilePerformanceEvaluation: Running SequentialWriteBenchmark for 1000000 rows took 1496ms.
      2015-01-26 12:42:11,561 INFO [0] hbase.HFilePerformanceEvaluation: Running UniformRandomSmallScan for 1000000 rows.
      2015-01-26 12:42:11,561 INFO [0] hfile.CacheConfig: CacheConfig:disabled
      Exception in thread "0" java.lang.StackOverflowError
      at org.apache.hadoop.hbase.HFilePerformanceEvaluation.createCell(HFilePerformanceEvaluation.java:78)
      at org.apache.hadoop.hbase.HFilePerformanceEvaluation.createCell(HFilePerformanceEvaluation.java:78)
      at org.apache.hadoop.hbase.HFilePerformanceEvaluation.createCell(HFilePerformanceEvaluation.java:78)
      at org.apache.hadoop.hbase.HFilePerformanceEvaluation.createCell(HFilePerformanceEvaluation.java:78)

      Attachments

        1. HBASE-12917.patch
          0.6 kB
          Vikas Vishwakarma

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            vik.karma Vikas Vishwakarma
            vik.karma Vikas Vishwakarma
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment