Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8890143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:25:58+00:00 2026-06-14T22:25:58+00:00

I am trying on reading a file in parallel from FTP using map-reduce. I

  • 0

I am trying on reading a file in parallel from FTP using map-reduce. I have got a code working which reads a file and performs word count on it . However it fails when the input size is large (over 2 MB to be specific) .
It stops with a Spill 0 completed message , then a Map 100% Reduce 0% . and then a connection closed by server .
I don’t quite get it . What does Spill 0 mean ? Why does the code fail for large inputs? How can I split the input and provide it to mapper ? will that help ?
Can i extend FileInputFormat class to do work this out ?
Thanks 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T22:25:59+00:00Added an answer on June 14, 2026 at 10:25 pm

    Yes, you can implement your on InputFormat. Apart from FileInputFormat there are several others in Hadoop such as TextInputFormat, KeyValueInputFormat, etc. You can also define how a record is read from a split. For that you need to implement your own RecordReader.

    http://developer.yahoo.com/hadoop/tutorial/module4.html

    For instance, the default InputFormat is the TextInputFormat that reads a file and uses a LineRecordReader to get records line by line. If you are reading structured data from a file you could implement your own RecordReader so each record is a structure of data from that file.

    In any case, doing a MapReduce job for reading a file from FTP is really strange. Hadoop works because data is stored on Hadoop’s File System (HDFS) which is a distributed filesystem where each file is divided in chunks and spread across all the nodes of the filesystem. The way you should approach IMHO is to download that file to your HDFS and the execute your MapReduce job.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to call the LumenWorks .csv file reading library from a C++/CLI application
I'm trying to convert a string that I'm reading from a file to lowercase
I am reading some coordinates from a file and trying to assign them cell
I am trying to redirect a page reading the url from the config file.
I'm trying to handle DBNull exception while reading data from database. It's my code:
Possible Duplicate: Reading through file using ifstream I'm trying to find a way to
This is what I'm trying to do: I'm reading a file in from the
I am reading a file's contents and trying to print the contents using java.
I am reading a file in Java using this code import java.io.*; public class
I am trying reading a Pdf file from android app. It builds an app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.