You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Allan Gonsalves (JIRA)" <ji...@apache.org> on 2013/07/20 22:34:48 UTC

[jira] [Created] (HDFS-5015) Error while running custom writable code - DFSClient_NONMAPREDUCE_549327626_1 doesnot have any open file

Allan Gonsalves created HDFS-5015:
-------------------------------------

             Summary: Error while running custom writable code  - DFSClient_NONMAPREDUCE_549327626_1 doesnot have any open file
                 Key: HDFS-5015
                 URL: https://issues.apache.org/jira/browse/HDFS-5015
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: hdfs-client
         Environment: Cloudera 4.3
            Reporter: Allan Gonsalves


hi , 
We are facing an below error while running custom writable code, our driver code is using below code . logwritable is the name of custom writable interface.

--Error message at the code execution is as follows
DFSClient_NONMAPREDUCE_549327626_1 doesnot have any open file

--Driver code - 
job.setMapOutputKeyClass(logwritable.class);
job.setMapOutputValueClass(logwritable.class);
job.setNumReducerTasks(0);

--logwritable class implements Writable interface
--Definition of mapper is as follows

public class MAPPER extends Mapper<Text,IntWritable,Logwritable, Logwritabe>{ 
....
contaxt.write(new logwritable(), new logwritable());
}

Any help to resolve above issue will be great help
Thanks
Allan 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira