Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25977

Increase default value of phoenix.mutate.maxSizeBytes from 100 MB to 255 MB

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • metrics-3.0.0
    • 2.8.0, 2.7.8
    • ambari-metrics
    • None

    Description

      Default value of phoenix.mutate.maxSizeBytes is 104857600(100 MB). As number of records in a batch by default are set to 10000, some times this value is not sufficient and collector fails, to store aggregated data, with following error

      2023-07-25 11:21:21,500 WARN org.apache.ambari.metrics.core.timeline.PhoenixHBaseAccessor: Failed on insert records to store : ERROR 730 (LIM02): MutationState size is bigger than maximum allowed number of bytes, try upserting rows in smaller batches or using autocommit on for deletes. maxMutationSizeBytes=104857600 mutationSizeBytes=104858209
      2023-07-25 11:21:21,500 WARN org.apache.ambari.metrics.core.timeline.PhoenixHBaseAccessor: Metric that cannot be stored : [regionserver.Server.rpcScanRequestCount,hbase]{1690284077957=162.7735639506746, 1690284092957=105.90141339016705, 1690284107957=171.52342993691653, 1690284122957=133.09041926456285}
      2023-07-25 11:21:21,597 WARN org.apache.ambari.metrics.core.timeline.PhoenixHBaseAccessor: Failed on insert records to store : ERROR 730 (LIM02): MutationState size is bigger than maximum allowed number of bytes, try upserting rows in smaller batches or using autocommit on for deletes. maxMutationSizeBytes=104857600 mutationSizeBytes=104858964
      2023-07-25 11:21:21,598 WARN org.apache.ambari.metrics.core.timeline.PhoenixHBaseAccessor: Metric that cannot be stored : [regionserver.WAL.SyncTime_median,hbase]{1690284077957=188.0381529206563, 1690284092957=154.30748048226928, 1690284107957=190.57156509009513, 1690284122957=195.3577965382318}
      

      lets set phoenix.mutate.maxSizeBytes value to 267386880 (255 MB) to make it more reasonable with batch size.

      Attachments

        Activity

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

          People

            arshad.mohammad Mohammad Arshad
            arshad.mohammad Mohammad Arshad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 10m
                1h 10m

                Slack

                  Issue deployment