abstractdog commented on code in PR #456:
URL: https://github.com/apache/tez/pull/456#discussion_r2853637389


##########
tez-dist/src/docker/README.md:
##########
@@ -0,0 +1,65 @@
+<!--
+  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.
+-->
+
+# Tez AM Docker
+
+1. Building the docker image:
+
+    ```bash
+    mvn clean install -DskipTests -Pdocker,tools
+    ```
+
+2. Install zookeeper in mac by:
+
+    ```bash
+    brew install zookeeper
+    zkServer start
+    ```
+
+3. Running the Tez AM container:
+
+    ```bash
+    docker run \
+        -p 10001:10001 -p 8042:8042 \
+        --name tez-am \
+        apache/tez-am:1.0.0-SNAPSHOT

Review Comment:
   doing the step mentioned in this doc and while the first docker run I get:
   ```
   2026-02-25 15:08:52,107 ERROR app.DAGAppMaster: Error starting DAGAppMaster
   java.io.FileNotFoundException: /opt/tez/tez-conf.pb (No such file or 
directory)
        at java.base/java.io.FileInputStream.open0(Native Method)
        at java.base/java.io.FileInputStream.open(Unknown Source)
        at java.base/java.io.FileInputStream.<init>(Unknown Source)
        at 
org.apache.tez.common.TezUtilsInternal.readUserSpecifiedTezConfiguration(TezUtilsInternal.java:83)
        at 
org.apache.tez.frameworkplugins.yarn.YarnServerFrameworkService$YarnAMExtensions.loadConfigurationProto(YarnServerFrameworkService.java:73)
        at org.apache.tez.dag.app.DAGAppMaster.main(DAGAppMaster.java:2435)
   ```
   
   also earlier I get this:
   ```
   /entrypoint.sh: line 34: hostname: command not found
   ```
   I believe this happens in the entrypoint, so should not be related to my 
host machine
   
   can you advise what could possible cause these? I mean, I can debug it for 
sure, but maybe it's more straightforward for you, given you're the author



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

Reply via email to