[
https://issues.apache.org/jira/browse/MAPREDUCE-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906674#action_12906674
]
Amar Kamat commented on MAPREDUCE-1912:
---------------------------------------
I suggest that we introduce a new exception (something like
{{InvalidArgumentException}}) for handling wrongly passed arguments. This will
separate out illegal arguments (like passing string when float is expected) as
compared to
# insufficient number of arguments i.e compulsory arguments missing
# extra unknown arguments
We can now print usage only for invalid exceptions with a custom message
describing what went wrong. This can be used by TraceBuilder, Folder and also
MAPREDUCE-2045. Thoughts?
> [Rumen] Add a driver for Rumen tool
> ------------------------------------
>
> Key: MAPREDUCE-1912
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1912
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: tools/rumen
> Affects Versions: 0.22.0
> Reporter: Amar Kamat
> Assignee: Amar Kamat
> Fix For: 0.22.0
>
> Attachments: mapreduce-1912-v1.1.patch, mapreduce-1912-v1.7.4.patch
>
>
> Rumen, as a tool, has 2 entry points :
> - Trace builder
> - Folder
> It would be nice to have a single driver program and have 'trace-builder' and
> 'folder' as its options.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.