FAQ
hadoop job -kill-task and -fail-task don't work for me. I get this kind of error:

Exception in thread "main" java.lang.IllegalArgumentException: TaskAttemptId string : task_201103101623_12995_r_000000 is not properly formed
at org.apache.hadoop.mapreduce.TaskAttemptID.forName(TaskAttemptID.java:170)
at org.apache.hadoop.mapred.TaskAttemptID.forName(TaskAttemptID.java:108)
at org.apache.hadoop.mapred.JobClient.run(JobClient.java:1787)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
at org.apache.hadoop.mapred.JobClient.main(JobClient.java:1956)

How is that not a properly formed task id? I copied it straight off the job tracker? Killing a job generally works for me........although much to my dismay the job often doesn't actually die, which is why I'm not attempting to kill the underlying tasks directly.

Thanks.

________________________________________________________________________________
Keith Wiley kwiley@keithwiley.com keithwiley.com music.keithwiley.com

"You can scratch an itch, but you can't itch a scratch. Furthermore, an itch can
itch but a scratch can't scratch. Finally, a scratch can itch, but an itch can't
scratch. All together this implies: He scratched the itch from the scratch that
itched but would never itch the scratch from the itch that scratched."
-- Keith Wiley
________________________________________________________________________________

Search Discussions

  • Allen Wittenauer at Mar 23, 2011 at 10:00 pm

    On Mar 23, 2011, at 2:02 PM, Keith Wiley wrote:

    hadoop job -kill-task and -fail-task don't work for me. I get this kind of error:

    Exception in thread "main" java.lang.IllegalArgumentException: TaskAttemptId string : task_201103101623_12995_r_000000 is not properly formed
    at org.apache.hadoop.mapreduce.TaskAttemptID.forName(TaskAttemptID.java:170)
    at org.apache.hadoop.mapred.TaskAttemptID.forName(TaskAttemptID.java:108)
    at org.apache.hadoop.mapred.JobClient.run(JobClient.java:1787)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
    at org.apache.hadoop.mapred.JobClient.main(JobClient.java:1956)

    How is that not a properly formed task id? I copied it straight off the job tracker? Killing a job generally works for me........although much to my dismay the job often doesn't actually die, which is why I'm not attempting to kill the underlying tasks directly.
    It actually wants the attemptid, not the task id. :(

    So attempt_201103101623_12995_r_000000_0 would have worked.

    There should be a JIRA filed....
  • Keith Wiley at Mar 23, 2011 at 10:04 pm

    On Mar 23, 2011, at 2:02 PM, Keith Wiley wrote:

    How is that not a properly formed task id? I copied it straight off the job tracker? Killing a job generally works for me........although much to my dismay the job often doesn't actually die, which is why I'm not attempting to kill the underlying tasks directly.

    Horribly confusing typo: not -> now

    ________________________________________________________________________________
    Keith Wiley kwiley@keithwiley.com keithwiley.com music.keithwiley.com

    "Yet mark his perfect self-contentment, and hence learn his lesson, that to be
    self-contented is to be vile and ignorant, and that to aspire is better than to
    be blindly and impotently happy."
    -- Edwin A. Abbott, Flatland
    ________________________________________________________________________________

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedMar 23, '11 at 9:02p
activeMar 23, '11 at 10:04p
posts3
users2
websitehadoop.apache.org...
irc#hadoop

2 users in discussion

Keith Wiley: 2 posts Allen Wittenauer: 1 post

People

Translate

site design / logo © 2022 Grokbase