You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Edward J. Yoon" <ed...@apache.org> on 2014/01/02 06:38:44 UTC

Bug in BSPJobClient

I just found why TestPipes (summation job) unit test fails. Despite
partitioner class is not specified for summation example, Partitioning
Job launched.

      if ((numTasks > 0 && numTasks != numSplits)
          || (job.getConfiguration().getBoolean(
              Constants.ENABLE_RUNTIME_PARTITIONING, false) && job
              .getConfiguration().get(Constants.RUNTIME_PARTITIONING_CLASS)
!= null)) {
           ....
      }

Above "if" condition determines whether partitioning job should be run
or not. Partitioning job should be run only when "BSP-based runtime
partitioning" is enabled and partitioner is specified.

I'll fix this to TRUNK directly.

-- 
Best Regards, Edward J. Yoon
@eddieyoon