Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix sleep time errors for hadoop sleep test #560

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Sep 5, 2018

  1. wrong reducetime parameter for hadoop sleep test

    In hadoop-mapreduce-client-jobclient-2.8.4-tests.jar, input parameter for ReduceSleepTime should be 'rt', not 'mt'.
    
    See this usage:
    SleepJob [-m numMapper] [-r numReducer] [-mt mapSleepTime (msec)] [-rt reduceSleepTime (msec)] [-recordt recordSleepTime (msec)]
    docularxu committed Sep 5, 2018
    Configuration menu
    Copy the full SHA
    767a771 View commit details
    Browse the repository at this point in the history
  2. mapSleepTime and reduceSleepTime are in unit of ms

    Reading the code of hadoop-mapreduce-client-jobclient-2.8.4-tests.jar (or other versions), 
    The unit of mapSleepTime and reduceSleepTime is millisecond, not second.
    
    Also refer to its usage print:
    SleepJob [-m numMapper] [-r numReducer] [-mt mapSleepTime (msec)] [-rt reduceSleepTime (msec)] [-recordt recordSleepTime (msec)]
    docularxu committed Sep 5, 2018
    Configuration menu
    Copy the full SHA
    824c63a View commit details
    Browse the repository at this point in the history