Skip to content

Commit

Permalink
N -> num_reducers
Browse files Browse the repository at this point in the history
  • Loading branch information
awdeorio committed Nov 4, 2023
1 parent b3ce74e commit eb8b3e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions madoop/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def main():
help="verbose output"
)
optional_args.add_argument(
'-numReduceTasks', dest='N', default=4,
'-numReduceTasks', dest='num_reducers', default=4,
help="specify the number of reducers"
)
required_args = parser.add_argument_group('required arguments')
Expand Down Expand Up @@ -64,7 +64,7 @@ def main():
output_dir=args.output,
map_exe=args.mapper,
reduce_exe=args.reducer,
num_reducers=int(args.N)
num_reducers=int(args.num_reducers)
)
except MadoopError as err:
sys.exit(f"Error: {err}")
Expand Down

0 comments on commit eb8b3e4

Please sign in to comment.