You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2018/11/14 21:34:00 UTC

[jira] [Commented] (HBASE-20774) FSHDFSUtils#isSameHdfs doesn't handle S3 filesystems correctly.

    [ https://issues.apache.org/jira/browse/HBASE-20774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16687155#comment-16687155 ] 

Steve Loughran commented on HBASE-20774:
----------------------------------------

HADOOP-14556 will add a canonical name when you turn DTs on

> FSHDFSUtils#isSameHdfs doesn't handle S3 filesystems correctly.
> ---------------------------------------------------------------
>
>                 Key: HBASE-20774
>                 URL: https://issues.apache.org/jira/browse/HBASE-20774
>             Project: HBase
>          Issue Type: Bug
>          Components: Filesystem Integration
>            Reporter: Austin Heyne
>            Priority: Major
>              Labels: S3, S3Native, s3
>
> FSHDFSUtils#isSameHdfs retrieves the Canonical Service Name from Hadoop to determine if source and destination are on the same filesystem. NativeS3FileSystem, S3FileSystem and presumably S3NativeFileSystem (com.amazon) always return null in getCanonicalServiceName() which incorrectly causes isSameHdfs to return false even when they could be the same. 
> Error encountered while trying to perform bulk load from S3 to HBase on S3 backed by the same bucket. This is causing bulk loads from S3 to copy all the data to the workers and back up to S3.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)