[ 
https://issues.apache.org/jira/browse/HADOOP-1544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508918
 ] 

Andrzej Bialecki  commented on HADOOP-1544:
-------------------------------------------

Not sure if I understand this ... FileSystem.copyToLocal is the primary means 
of moving things out of DFS .. so definitely yes, we are using it - what could 
we use instead? If there's an equivalent API , which is now considered more 
kosher, we can adjust Nutch when upgrading to the next Hadoop release.

> combine FsShell.copyToLocal to ChecksumFileSystem.copyToLocalFile
> -----------------------------------------------------------------
>
>                 Key: HADOOP-1544
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1544
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>
> - Two methods provide similar functions
> - ChecksumFileSystem.copyToLocalFile(Path src, Path dst, boolean copyCrc) is 
> no longer used anywhere in the system
> - It is better to use ChecksumFileSystem.getRawFileSystem() for copying crc 
> in FsShell.copyToLocal
> - FileSystem.isDirectory(Path) used in FsShell.copyToLocal is deprecated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to