smengcl commented on code in PR #3820:
URL: https://github.com/apache/ozone/pull/3820#discussion_r1010151391


##########
hadoop-ozone/integration-test/src/test/resources/ozone-site.xml:
##########
@@ -26,6 +26,16 @@
     <value>org.apache.hadoop.hdds.fs.MockSpaceUsageCheckFactory$None</value>
   </property>
 
+  <property>
+    <name>ozone.om.transport.class</name>
+    
<value>org.apache.hadoop.ozone.om.protocolPB.Hadoop3OmTransportFactory</value>
+  </property>
+
+  <property>
+    <name>ozone.om.s3.grpc.server_enabled</name>
+    <value>false</value>
+  </property>

Review Comment:
   I see **most** are just port binding failures. Possibly a docker compose 
config issue. If the port number has been changed with the enablement of gRPC 
the compose config might need to expose the new port as well. Try opening up 
port 8981 in the corresponding `docker-compose.yaml` files?
   
   ```
   Error:  org.apache.hadoop.fs.ozone.TestOzoneFsHAURLs  Time elapsed: 7.445 s  
<<< ERROR!
   java.io.IOException: Failed to bind to address 0.0.0.0/0.0.0.0:8981
        at io.grpc.netty.NettyServer.start(NettyServer.java:328)
        at io.grpc.internal.ServerImpl.start(ServerImpl.java:183)
        at io.grpc.internal.ServerImpl.start(ServerImpl.java:92)
        at 
org.apache.hadoop.ozone.om.GrpcOzoneManagerServer.start(GrpcOzoneManagerServer.java:123)
   ```
   https://github.com/xBis7/ozone/actions/runs/3361441746/jobs/5571845363
   
   ```
   Error:  Errors: 
   Error:    Failed to bind to address 0.0.0.0/0.0.0.0:8981
   Error:    Failed to bind to address 0.0.0.0/0.0.0.0:8981
   Error:    Failed to bind to address 0.0.0.0/0.0.0.0:8981
   Error:    TestAddRemoveOzoneManager.testBootstrap:173->setupCluster:94 » IO 
Failed to bi...
   Error:    TestAddRemoveOzoneManager.testDecommission:347->setupCluster:94 » 
IO Failed to...
   Error:    TestAddRemoveOzoneManager.testForceBootstrap:283->setupCluster:94 
» IO Failed ...
   Error:    TestOMRatisSnapshots.init:110 » IO Failed to bind to address 
0.0.0.0/0.0.0.0:8...
   Error:    TestOMRatisSnapshots.init:110 » IO Failed to bind to address 
0.0.0.0/0.0.0.0:8...
   ...
   ```
   https://github.com/xBis7/ozone/actions/runs/3361441746/jobs/5571845635
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to