ayushtkn commented on a change in pull request #2732:
URL: https://github.com/apache/hadoop/pull/2732#discussion_r585357165



##########
File path: hadoop-tools/hadoop-distcp/src/site/markdown/DistCp.md.vm
##########
@@ -362,6 +362,7 @@ Command Line Options
 | `-copybuffersize <copybuffersize>` | Size of the copy buffer to use. By 
default, `<copybuffersize>` is set to 8192B | |
 | `-xtrack <path>` | Save information about missing source files to the 
specified path. | This option is only valid with `-update` option. This is an 
experimental property and it cannot be used with `-atomic` option. |
 | `-direct` | Write directly to destination paths | Useful for avoiding 
potentially very expensive temporary file rename operations when the 
destination is an object store |
+| `-useIterator` | Uses single threaded listStatusIterator to build listing | 
Useful for saving memory at the client side. |

Review comment:
       Thanx @jojochuang for having a look.
   Yes, It indeed isn't meant for object stores, I am trying a multi threaded 
approach for object stores too as part of HADOOP-17558, that won't be too much 
memory efficient, but still find a balance between speed and memory. I have a 
WIP patch for that as well, will share that on the jira
   
   This is basically for HDFS or FS where listing is not slow, but there are 
memory constraints, my scenario is basically for DR, where it is in general 
HDFS->HDFS or HDFS->S3




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to