Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5015

Error while running custom writable code - DFSClient_NONMAPREDUCE_549327626_1 doesnot have any open file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • hdfs-client
    • None
    • Cloudera 4.3

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            allanhadoop Allan Gonsalves
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: