[
https://issues.apache.org/jira/browse/HADOOP-1506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506621
]
dhruba borthakur commented on HADOOP-1506:
------------------------------------------
We could avoid using FileSystem.getReplication and FileSystem.getBlockSize().
They will result in separate RPCs to namenode. Instead, we can get
getFileSystus introduced by HADOOP-1377. Or use FileSystem.listPaths because it
caches file attributes in the Path object.
> distcp not preserving the replication factor and block size of source files
> ---------------------------------------------------------------------------
>
> Key: HADOOP-1506
> URL: https://issues.apache.org/jira/browse/HADOOP-1506
> Project: Hadoop
> Issue Type: Bug
> Components: util
> Affects Versions: 0.12.3
> Reporter: Koji Noguchi
> Priority: Minor
>
> Myabe not a bug but a feature request.
> It would be nice if the source file and the target file have the same
> replication factor and block size.
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.