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

[jira] [Updated] (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:all-tabpanel ]

Austin Heyne updated HBASE-20774:
---------------------------------
    Description: 
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.

  was:
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 works and back up to S3.


> 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)