adoroszlai commented on code in PR #10762:
URL: https://github.com/apache/ozone/pull/10762#discussion_r4554017780


##########
hadoop-ozone/dist/src/main/compose/ozone-local/docker-compose.yaml:
##########
@@ -0,0 +1,42 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+services:
+  local:
+    image: ${OZONE_RUNNER_IMAGE}:${OZONE_RUNNER_VERSION}
+    user: "0:0"
+    volumes:
+      - ../..:/opt/hadoop
+      - ozone-local-data:/root/.ozone/local
+    environment:
+      # ozone local binds loopback by default; published ports need the
+      # container to listen on its non-loopback interface.
+      OZONE_LOCAL_BIND_HOST: "0.0.0.0"
+    ports:
+      - 9878:9878
+      - 9888:9888
+    command:
+      - ozone
+      - local
+      - run

Review Comment:
   `docker-ozone-local-local-1.log` in 
https://github.com/henrybear327/ozone/actions/runs/42567062495/artifacts/13652351725:
   
   ```
   RemoteException: SCM Server, while invoking ScmBlockLocationProtocolPB over 
scmNodeId. Retrying in 2000ms after 0 failover attempt(s).
   Unable to initialize WebAppContext
   For more detail, re-run with `ozone --loglevel INFO local run` for service 
logs, or add --verbose for the full stack trace.
   ```



-- 
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