You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Wellington Chevreuil (Jira)" <ji...@apache.org> on 2020/09/18 08:34:00 UTC

[jira] [Resolved] (HBASE-25060) [HBOSS] TreeLockManager should not define itself as the default implementation for fs.hboss.sync.impl

     [ https://issues.apache.org/jira/browse/HBASE-25060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wellington Chevreuil resolved HBASE-25060.
------------------------------------------
    Resolution: Fixed

> [HBOSS] TreeLockManager should not define itself as the default implementation for fs.hboss.sync.impl
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-25060
>                 URL: https://issues.apache.org/jira/browse/HBASE-25060
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: hbase-filesystem-1.0.0-alpha1
>            Reporter: Wellington Chevreuil
>            Assignee: Wellington Chevreuil
>            Priority: Major
>             Fix For: hbase-filesystem-1.0.0-alpha2
>
>
> Currently, abstract class TreeLockManager defines itself as the default implementation of fs.hboss.sync.impl. This is wrong, as in the event of fs.hboss.sync.impl omission from the config, it will end up trying to instantiate itself, failing as its abstract:
> {noformat}
>  2020-09-16 13:29:48,877 ERROR org.apache.hadoop.hbase.regionserver.HRegion: There was IO error when checking if the bulk load is ok in region wordcount,w,1600262698081.84cb78e467e3c3b40e78c7f07d643d5c..
> java.io.IOException: Class referred to by fs.hboss.sync.impl, org.apache.hadoop.hbase.oss.sync.TreeLockManager, is not a valid implementation of org.apache.hadoop.hbase.oss.sync.TreeLockManager
>         at org.apache.hadoop.hbase.oss.sync.TreeLockManager.get(TreeLockManager.java:70)
>         at org.apache.hadoop.hbase.oss.HBaseObjectStoreSemantics.initialize(HBaseObjectStoreSemantics.java:120)
>         at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3423)
>         at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:158)
>         at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3483)
>         at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3451)
>         at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:518)
>         at org.apache.hadoop.fs.Path.getFileSystem(Path.java:361)
>         at org.apache.hadoop.hbase.regionserver.HStore.assertBulkLoadHFileOk(HStore.java:818)
>         at org.apache.hadoop.hbase.regionserver.HRegion.bulkLoadHFiles(HRegion.java:6221)
>         at org.apache.hadoop.hbase.regionserver.SecureBulkLoadManager$1.run(SecureBulkLoadManager.java:291)
>         at org.apache.hadoop.hbase.regionserver.SecureBulkLoadManager$1.run(SecureBulkLoadManager.java:266)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:360)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)