[
https://issues.apache.org/jira/browse/HDDS-6825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17701448#comment-17701448
]
Neil Joshi commented on HDDS-6825:
----------------------------------
Problem can be reproduced with pre 1.3.0 ozone commit from june 2022, ozone
commit sha _e8abd0f6e21dedf25672aaa6a2d638b8442680f0_
{code:java}
[hadoop@nm ~]$ hdfs dfs -Dfs.s3a.access.key=1 -Dfs.s3a.secret.key=1
-Dfs.s3a.endpoint=http://host.docker.internal:9878
-Dfs.s3a.connection.ssl.enabled=false -Dfs.s3a.path.style.access=true -mkdir
s3a://fso/testdir{code}
{code:java}
hadoop33-s3g-1 | Caused by: FILE_NOT_FOUND
org.apache.hadoop.ozone.om.exceptions.OMException: Unable to get file status:
volume: s3v bucket: fso key: testdir/
hadoop33-s3g-1 | at
org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB.handleError(OzoneManagerProtocolClientSideTranslatorPB.java:693){code}
Verified with current ozone trunk, the problem *_no longer_* occurs. However
there are other problems related to the object created with the dfs -mkdir
command over s3a for ozone FSO buckets. [~mladjangadzic] has been looking into
this issue for directory create with dfs over s3a and will post his findings.
Thanks [~mladjangadzic] .
> FS Ops fail on FSO Bucket via s3a scheme
> ----------------------------------------
>
> Key: HDDS-6825
> URL: https://issues.apache.org/jira/browse/HDDS-6825
> Project: Apache Ozone
> Issue Type: Bug
> Components: S3
> Affects Versions: 1.3.0
> Reporter: Soumitra Sulav
> Priority: Critical
> Labels: OzoneS3
> Attachments: CDPD-40560-fso_s3a_mkdir_operation_debug.log,
> hadoop_debug_fso.txt, hadoop_debug_fso_part.txt, hadoop_debug_obs.txt
>
>
> Steps to reproduce :
> 1. Create an s3v bucket with \{{FILE_SYSTEM_OPTIMIZED}} as Bucket Layout
> {code:java}
> # /opt/cloudera/parcels/CDH/bin/ozone sh bucket info
> s3v/fso
> {
> "metadata" : \{ },
> "volumeName" : "s3v",
> "name" : "fso",
> "storageType" : "DISK",
> "versioning" : false,
> "usedBytes" : 174,
> "usedNamespace" : 1,
> "creationTime" : "2022-06-02T16:24:58.759Z",
> "modificationTime" : "2022-06-02T16:24:58.759Z",
> "quotaInBytes" : -1,
> "quotaInNamespace" : -1,
> "bucketLayout" : "FILE_SYSTEM_OPTIMIZED",
> "owner" : "hrt_qa",
> "link" : false
> }{code}
> 2. Get s3 credentials
> 3. Run FS operation via s3a scheme :
> {code:java}
> /opt/cloudera/parcels/CDH/bin/hadoop fs
> [email protected]
> -Dfs.s3a.secret.key=32b5a586d7c35e1a0aa93776ce2500d07edd34ae9c3df2f9658bd705bf0a33ad
> -Dfs.s3a.endpoint=https://quasar-unoxvj-6.quasar-unoxvj.root.hwx.site:9879
> -Dfs.s3a.connection.ssl.enabled=true -Dfs.s3a.change.detection.mode=none
> -Dfs.s3a.change.detection.version.required=false
> -Dfs.s3a.path.style.access=true -mkdir s3a://fso/test \{code}
> S3G Logs
> {code:java}
> 2022-06-02 16:48:10,808 WARN org.eclipse.jetty.server.HttpChannel:
> handleException /fso/ FILE_NOT_FOUND
> org.apache.hadoop.ozone.om.exceptions.OMException: Unable to get file status:
> volume: s3v bucket: fso key: test/
> 2022-06-02 16:48:10,809 WARN org.eclipse.jetty.server.HttpChannelState:
> unhandled due to prior sendError
> javax.servlet.ServletException: javax.servlet.ServletException:
> org.glassfish.jersey.server.ContainerException: FILE_NOT_FOUND
> org.apache.hadoop.ozone.om.exceptions.OMException: Unable to get file status:
> volume: s3v bucket: fso key: test/
> at
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:162)
> at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
> at org.eclipse.jetty.server.Server.handle(Server.java:516)
> at
> org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
> at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
> at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
> at
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
> at
> org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
> at
> org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:540)
> at
> org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:395)
> at
> org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
> at
> org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
> at
> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
> at
> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
> at
> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
> at
> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
> at
> org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:383)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:882)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1036)
> at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: javax.servlet.ServletException:
> org.glassfish.jersey.server.ContainerException: FILE_NOT_FOUND
> org.apache.hadoop.ozone.om.exceptions.OMException: Unable to get file status:
> volume: s3v bucket: fso key: test/
> at
> org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:410)
> at
> org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
> at
> org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
> at
> org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
> at
> org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
> at
> org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1452)
> at
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)
> at
> org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626)
> at
> org.apache.hadoop.ozone.s3.RootPageDisplayFilter.doFilter(RootPageDisplayFilter.java:53)
> at
> org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
> at
> org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
> {code}
> PFA Debug console logs.
> ls works. mkdir hangs
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]