Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2944

Improve checking of input for Api displayTasks()

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.0.0-alpha
    • 3.0.0-alpha1
    • client
    • None
    • Reviewed

    Description

      The JobClient.displayTasks() will do nothing and won't throw any exception either,
      while user call it with invalid type/state of task.
      To be more friendly,it's better to remain user to check his parameters with an exception.

      Attachments

        1. MAPREDUCE-2944_v0.2.patch
          2 kB
          XieXianshan
        2. MAPREDUCE-2944_v0.3.patch
          3 kB
          XieXianshan
        3. MAPREDUCE-2944.patch
          4 kB
          Harsh J
        4. MAPREDUCE-2944.patch
          1 kB
          XieXianshan

        Activity

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

          People

            xiexianshan XieXianshan
            xiexianshan XieXianshan
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment