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

ASF GitHub Bot updated HDDS-3843:
---------------------------------
    Labels: pull-request-available  (was: )

> NPE in s3g log output OzoneClientProducer Error 
> ------------------------------------------------
>
>                 Key: HDDS-3843
>                 URL: https://issues.apache.org/jira/browse/HDDS-3843
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: S3
>    Affects Versions: 0.7.0
>            Reporter: maobaolong
>            Assignee: maobaolong
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: screenshot-1.png, screenshot-2.png
>
>
> I run ls /goofys_mountpoint. There are lots of NPE in the s3g, but it can 
> works.
> {code}
> 2020-06-22 13:01:23,033 [qtp1800031768-348715] ERROR 
> org.apache.hadoop.ozone.s3.OzoneClientProducer: Error:
> org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke public 
> void org.apache.hadoop.ozone.s3.AWSV4SignatureProcessor
> .init() throws java.lang.Exception on 
> org.apache.hadoop.ozone.s3.AWSV4SignatureProcessor@78f69f97
>         at 
> org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:99)
>         at 
> org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:80)
>         at 
> org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:122)
>         .........
>         .........
>         at 
> org.glassfish.jersey.process.internal.Stages.process(Stages.java:197)
> at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
>         at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at 
> org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:97)
>         ... 121 more
> Caused by: java.lang.NullPointerException
>         at 
> com.google.common.base.Preconditions.checkNotNull(Preconditions.java:878)
>         at 
> org.apache.hadoop.ozone.s3.header.AuthorizationHeaderV4.<init>(AuthorizationHeaderV4.java:68)
>         at 
> org.apache.hadoop.ozone.s3.AWSV4SignatureProcessor.init(AWSV4SignatureProcessor.java:117)
>         ... 125 more
> {code}
> after debug, i see the header from goofys doesn't contains Authorization
>  !screenshot-1.png! 
> For compare purpose, i use awscli to list a folder and get the header 
> correctly.
> authorization -> AWS4-HMAC-SHA256 
> Credential=testuser/s...@example.com/20200623/us-east-1/s3/aws4_request, 
> SignedHeaders=host;x-amz-content-sha256;x-amz-date, 
> Signature=a8ac23339f3b2265e8e9782d0526ddbf1d63a3d6eea4fde0e9b86f9d7019f0b3
>  !screenshot-2.png! 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to