Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-512

DEFAULT_MAX_LATENCY in AccumuloOutputFormat wrong units

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.1
    • client
    • None

    Description

      In org.apache.accumulo.core.client.mapreduce.AccumuloOutputFormat, the DEFAULT_MAX_LATENCY (line 88) is defined as:

      private static final int DEFAULT_MAX_LATENCY = 60; // 1 minute

      However, at line 233 that default value (assuming the key isn't set by the user) is provided as an argument to createMultiTableBatchWriter(). The latency parameter there is documented as milliseconds. The DEFAULT_MAX_LATENCY should be set to 60000 if the desired default latency value is 1 minute.

      Attachments

        Activity

          People

            billie Billie Rinaldi
            patrods1 Dennis Patrone
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: