Uploaded image for project: 'Giraph (Retired)'
  1. Giraph (Retired)
  2. GIRAPH-393

Number of input split threads should always be >= 1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      When the number of input splits is less than the number of workers, integer division in the following snippet means we end up with 0:

      int maxInputSplitThreads =
              inputSplitPathList.size() / getConfiguration().getMaxWorkers();
          int numThreads =
              Math.min(getConfiguration().getNumInputSplitsThreads(),
                  maxInputSplitThreads);
      

      Attachments

        1. GIRAPH-393.patch
          0.8 kB
          Avery Ching

        Issue Links

          Activity

            People

              apresta Alessandro Presta
              apresta Alessandro Presta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: