[ https://issues.apache.org/jira/browse/HIVE-14776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15497699#comment-15497699 ]
Szehon Ho commented on HIVE-14776: ---------------------------------- I'm curious about this. Distcp parallelizes the copy, and so if the file/dir is very splittable then in theory it should be faster than single thread, even though there's the overhead of temporary location for it? I understand for some small files it will be slower. And just orthogonally, I thought actually distcp puts the file in temporary location on local file before uploading to S3, not a temporary location on S3. > Skip 'distcp' call when copying data from HDSF to S3 > ---------------------------------------------------- > > Key: HIVE-14776 > URL: https://issues.apache.org/jira/browse/HIVE-14776 > Project: Hive > Issue Type: Sub-task > Components: Hive > Reporter: Sergio Peña > Assignee: Sergio Peña > Attachments: HIVE-14776.1.patch, HIVE-14776.2.patch > > > Hive uses 'distcp' to copy files in parallel between HDFS encryption zones > when the {{hive.exec.copyfile.maxsize}} threshold is lower than the file to > copy. This 'distcp' is also executed when copying to S3, but it is causing > slower copies. > We should not invoke distcp when copying to blobstore systems. -- This message was sent by Atlassian JIRA (v6.3.4#6332)