How to Convert 4 way mfs to 2 way mfs

How to Convert 4 way mfs to 2 way mfs ....can anyone tell me clear how to do with example

Showing Answers 1 - 24 of 24 Answers

Apoorva

  • Mar 5th, 2015
 

We can convert 4way mfs to 2way by using different partitioning components.

  Was this answer useful?  Yes

Rishiraj Shengule

  • Aug 5th, 2016
 

Basically your input file will be 4 way multi file..and lets say your file is partitioned on key {A}..then after input file add a partition by key and then add gather before output file (in case you dont need sorted data otherwise use partition by key and sort) and your output file location should point to 2 way mfs.

  Was this answer useful?  Yes

SP

  • Dec 11th, 2017
 

Converting the depth of a multifile is called repartitioning.
Read the source file -> Merge -> Reformat -> Partition by round-robin ->send it to new MFS with required partition.
It applies to any-way to any-way partitioning.

  Was this answer useful?  Yes

sayantan

  • Dec 11th, 2017
 

use PBKS

  Was this answer useful?  Yes

Krushna

  • Sep 6th, 2018
 

To convert 4 way file to 2 way we need to use Departitioning component like Gather,Merge,,Interleave

  Was this answer useful?  Yes

Krushna

  • Sep 6th, 2018
 

We have to use departitioning component like Gather,Merge,Interleave

  Was this answer useful?  Yes

Amaan Sajid Ansari

  • Nov 14th, 2018
 

gather and repartition, else your graph will throw an error.

  Was this answer useful?  Yes

Mahesh

  • May 26th, 2021
 

Input(4 way) --> (fan in)sort(layout 2 way)--> output( way)
I think this might work

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions