Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2EBEF117F8 for ; Wed, 27 Aug 2014 02:58:58 +0000 (UTC) Received: (qmail 24722 invoked by uid 500); 27 Aug 2014 02:58:57 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 24657 invoked by uid 500); 27 Aug 2014 02:58:57 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 24646 invoked by uid 99); 27 Aug 2014 02:58:57 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2014 02:58:57 +0000 Date: Wed, 27 Aug 2014 02:58:57 +0000 (UTC) From: "sdfox (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-5990) If output directory can not be created, error message on stdout does not provide any clue. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-5990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14111767#comment-14111767 ] sdfox commented on MAPREDUCE-5990: ---------------------------------- There is problem about the communication of JobTracker. Are your sure that you can connect to JobTracker? > If output directory can not be created, error message on stdout does not provide any clue. > ------------------------------------------------------------------------------------------ > > Key: MAPREDUCE-5990 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5990 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: examples > Reporter: Suhas Gogate > Labels: newbie > > In the following wordcount example output directory path can not be created because /temp does not exists and user has not privileges to create output path at "/". > hadoop --config ./clustdir/ jar /homes/gogate/wordcount.jar com.XXXX.wordcount.WordCount /in-path/gogate/myfile /temp/mywc-gogate > 09/04/28 23:00:32 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same. > 09/04/28 23:00:32 INFO mapred.FileInputFormat: Total input paths to process : 1 > 09/04/28 23:00:32 INFO mapred.FileInputFormat: Total input paths to process : 1 > 09/04/28 23:00:33 INFO mapred.JobClient: Running job: job_200904282249_0004 > java.io.IOException: Job failed! > at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1113) > at com.XXXX.wordcount.WordCount.main(WordCount.java:55) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.util.RunJar.main(RunJar.java:155) > at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54) > 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.JobShell.main(JobShell.java:68) > -- This message was sent by Atlassian JIRA (v6.2#6252)