[
https://issues.apache.org/jira/browse/HADOOP-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558915#action_12558915
]
Amar Kamat commented on HADOOP-2567:
------------------------------------
+1 for sort benchmark in unit tests.
To reproduce the issue on
_single machine_ : With a distributed setup, generate 24MB of total data with
5MB per map using random writer, run sort with 40 maps and default reducers,
run validation, i.e
{code}
bash$ bin/hadoop jar build/hadoop-0.16.0-dev-examples.jar randomwriter
-Dtest.randomwrite.total_bytes=24000000
-Dtest.randomwrite.bytes_per_map=5000000
-Dtest.min_key=100 -Dtest.max_key=100 -Dtest.min_value=0 -Dtest.max_value=0
input-randomwrite-test
bash$ bin/hadoop jar build/hadoop-0.16.0-dev-examples.jar sort -m 40
input-randomwrite-test output-randomwrite-test
bash$ bin/hadoop jar build/hadoop-0.16.0-dev-test.jar testmapredsort -sortInput
input-randomwrite-test -sortOutput output-randomwrite-test
{code}
_cluster of machines_ : Just run a sort benchmark i.e randomwriter (default
params) and sort (default params), sort-validator.
> add FileSystem#getHomeDirectory() method
> ----------------------------------------
>
> Key: HADOOP-2567
> URL: https://issues.apache.org/jira/browse/HADOOP-2567
> Project: Hadoop
> Issue Type: New Feature
> Components: fs
> Reporter: Doug Cutting
> Assignee: Doug Cutting
> Fix For: 0.16.0
>
> Attachments: 2567-3.patch, HADOOP-2567-1.patch, HADOOP-2567-2.patch,
> HADOOP-2567.patch
>
>
> The FileSystem API would benefit from a getHomeDirectory() method.
> The default implementation would return "/user/$USER/".
> RawLocalFileSystem would return System.getProperty("user.home").
> HADOOP-2514 can use this to implement per-user trash.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.