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

Steve Loughran commented on HBASE-27042:
----------------------------------------

an update of the AWS SDK also breaks the tests, because the AWS client now 
requires another method to be implemented


{code}
[ERROR] 
testListFilesEmptyDirectoryNonrecursive(org.apache.hadoop.hbase.oss.contract.TestHBOSSContractGetFileStatus)
  Time elapsed: 4.248 s  <<< ERROR!
java.lang.UnsupportedOperationException: Extend AbstractAmazonS3 to provide an 
implementation

{code}

once you tell maven  to give you useful stack traces, you can track this down


{code}

[ERROR] 
testListLocatedStatusEmptyDirectory(org.apache.hadoop.hbase.oss.contract.TestHBOSSContractGetFileStatus)
  Time elapsed: 1.365 s  <<< ERROR!
java.lang.UnsupportedOperationException: Extend AbstractAmazonS3 to provide an 
implementation
        at 
com.amazonaws.services.s3.AbstractAmazonS3.deleteObject(AbstractAmazonS3.java:642)
        at 
org.apache.hadoop.fs.s3a.S3AFileSystem.lambda$null$13(S3AFileSystem.java:2696)
        at 
org.apache.hadoop.fs.statistics.impl.IOStatisticsBinding.trackDurationOfInvocation(IOStatisticsBinding.java:464)
        at 
org.apache.hadoop.fs.s3a.S3AFileSystem.lambda$deleteObject$14(S3AFileSystem.java:2694)
        at org.apache.hadoop.fs.s3a.Invoker.retryUntranslated(Invoker.java:414)
        at org.apache.hadoop.fs.s3a.Invoker.retryUntranslated(Invoker.java:377)
        at 
org.apache.hadoop.fs.s3a.S3AFileSystem.deleteObject(S3AFileSystem.java:2690)
        at 
org.apache.hadoop.fs.s3a.S3AFileSystem.deleteObjectAtPath(S3AFileSystem.java:2725)
        at 
org.apache.hadoop.fs.s3a.S3AFileSystem$OperationCallbacksImpl.lambda$deleteObjectAtPath$0(S3AFileSystem.java:2055)
        at org.apache.hadoop.fs.s3a.Invoker.lambda$once$0(Invoker.java:135)
        at org.apache.hadoop.fs.s3a.Invoker.once(Invoker.java:117)
        at org.apache.hadoop.fs.s3a.Invoker.once(Invoker.java:133)
        at 
org.apache.hadoop.fs.s3a.S3AFileSystem$OperationCallbacksImpl.deleteObjectAtPath(S3AFileSystem.java:2054)
 
{code}


> hboss doesn't compile against hadoop branch-3.3 now that s3guard is cut
> -----------------------------------------------------------------------
>
>                 Key: HBASE-27042
>                 URL: https://issues.apache.org/jira/browse/HBASE-27042
>             Project: HBase
>          Issue Type: Bug
>          Components: hboss
>            Reporter: Steve Loughran
>            Priority: Minor
>
> HBoss doesn't compile against hadoop builds containing HADOOP-17409, "remove 
> s3guard", as test setup tries to turn it off.
> there's no need for s3guard any more, so hboss can just avoid all settings 
> and expect it to be disabled (hadoop 3.3.3. or earlier) or removed (3.4+)
> (hboss version is 1.0.0-alpha2-SNAPSHOT)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to