ayushtkn commented on code in PR #4948:
URL: https://github.com/apache/hive/pull/4948#discussion_r1427998714


##########
packaging/src/docker/docker-compose.yml:
##########
@@ -32,6 +32,9 @@ services:
         - '9083:9083'
     volumes:
         - warehouse:/opt/hive/data/warehouse
+        - type: bind
+          source: 
${MAVEN_LOCAL_REPOSITORY}/org/postgresql/postgresql/42.5.1/postgresql-42.5.1.jar

Review Comment:
   ```
   ayushsaxena@ayushsaxena docker % export HIVE_VERSION=4.0.0-beta-1            
                                                                           
   ayushsaxena@ayushsaxena docker % MAVEN_LOCAL_REPOSITORY=`mvn help:evaluate 
-Dexpression=settings.localRepository -q -DforceStdout` docker compose up -d 
   [+] Running 15/15
    ✔ hiveserver2 Pulled                                                        
                                                                                
                           61.0s 
    ✔ metastore 13 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                
                                                                                
                           61.0s 
      ✔ a9fe95647e78 Already exists                                             
                                                                                
                            0.0s 
      ✔ 4015b6e8cc8d Already exists                                             
                                                                                
                            0.0s 
      ✔ 0e86b181efa0 Already exists                                             
                                                                                
                            0.0s 
      ✔ 94abd992e68d Already exists                                             
                                                                                
                            0.0s 
      ✔ e7a78026257f Pull complete                                              
                                                                                
                           54.0s 
      ✔ 3874402c80d6 Pull complete                                              
                                                                                
                           56.1s 
      ✔ a8c0cb8787a3 Pull complete                                              
                                                                                
                           56.2s 
      ✔ 7e494428637a Pull complete                                              
                                                                                
                           56.2s 
      ✔ 64e47b23d332 Pull complete                                              
                                                                                
                           56.2s 
      ✔ f9c33c65d8ef Pull complete                                              
                                                                                
                           56.2s 
      ✔ 885d438fb370 Pull complete                                              
                                                                                
                           56.2s 
      ✔ 340aa3eab0dc Pull complete                                              
                                                                                
                           56.2s 
      ✔ 4f4fb700ef54 Pull complete                                              
                                                                                
                           56.3s 
   [+] Building 0.0s (0/0)                                                      
                                                                                
                                 
   [+] Running 0/1
    ⠏ Container metastore  Creating                                             
                                                                                
                           136.7s 
   
   
   ```
   
   It got hung again, I think because in my maven local repo there is no 
postgres jar



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