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 8920273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:13:40+00:00 2026-06-15T06:13:40+00:00

What is the maximum number of paths Map side join can actually join? I

  • 0

What is the maximum number of paths Map side join can actually join?

I have n folders – path/to/folder1 , path/to/folder2 , path/to/folder3 ….so on path/to/foldern in HDFS

path/to/folder1 contains 3 files, say part-1,part-2,part-3.Similarly,each of all the remaining folders have 3 files each with same names as in folder1.

I want to join these folders using map side join like below

pathsToJoin <- path/to/folder1 , path/to/folder2 , path/to/folder3 ….so on path/to/folder*n*

String joinStmt = CompositeInputFormat.compose(“outer”,TextInputFormat,pathsToJoin);

conf.set(“mapred.join.expr”, joinStmt);

Since there are 3 files in each folder,the job will spawn 3 map tasks (content of all part-1 files joined to one mapper,content of all part-2 files to 2nd mapper and content of all part-3 files to 3rd mapper) but I would like to know what can be the max value of n here?

  • 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-15T06:13:42+00:00Added an answer on June 15, 2026 at 6:13 am

    There doesn’t appear to be a hard limit in the source code for CompositeInputFormat, the paths are appended to a String expression describing the join and then parsed into splits. You’re probably limited by memory, but i imagine you can list 100’s if not 1000’s without any problem

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

Sidebar

Related Questions

Is there a maximum number of git stashes, or can you have as many
Is there a maximum number of email addresses that can be included in a
What is the maximum number of items you can put in a WPF ComboBox
What is the maximum number of characters that can be used to define the
What is the maximum number of unique paths of length 2 in a graph
What is the maximum number of connections for a SQLite3 database? Why can't I
What are the maximum number of files that can be stored in a directory
I have a map with a destination (the red dot below), and a number
i have an array path... this array contains a list of nested array paths.
I wonder what the maximum number of max 3d distance is? I have set

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.