Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2004 Ozone documentation issues
  3. HDDS-2003

Ozone - Easy simple start does not work as expected.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Blocker
    • Resolution: Later
    • 0.5.0
    • None
    • S3
    • None

    Description

      During the verification of Ozone documentation, I followed the instructions on the easy start page.

       

      Run this instruction:

      docker run -p 9878:9878 -p 9876:9876 apache/ozone 

      Followed by this command in another window:

        aws s3api --endpoint http://localhost:9878/ create-bucket --bucket=bucket1

       

      The S3Gateway is probably crashing since it is not able to find Ozone client. 

      This is on trunk, I will reverify on the Ozone-0.4.1. FYI: elek, bharatviswa, nandakumar131.

       

      Here is the crash stack:

       2019-08-21 20:01:44 INFO  SCMChillModeManager:274 - SCM in chill mode. 1 DataNodes registered, 1 required.2019-08-21 20:01:44 INFO  SCMChillModeManager:274 - SCM in chill mode. 1 DataNodes registered, 1 required.2019-08-21 20:01:44 INFO  SCMChillModeManager:110 - SCM exiting chill mode.2019-08-21 20:02:40 ERROR OzoneClientFactory:294 - Couldn't create protocol class org.apache.hadoop.ozone.client.rpc.RpcClient exception:java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.apache.hadoop.ozone.client.OzoneClientFactory.getClientProtocol(OzoneClientFactory.java:291) at org.apache.hadoop.ozone.client.OzoneClientFactory.getClient(OzoneClientFactory.java:92) at org.apache.hadoop.ozone.s3.OzoneClientProducer.createClient(OzoneClientProducer.java:45) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498)
       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            aengineer Anu Engineer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: