You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "shaofengshi (via GitHub)" <gi...@apache.org> on 2024/08/19 03:43:21 UTC

[PR] [Enhancement] Change exposed ports to avoid possible conflicts [gravitino-playground]

shaofengshi opened a new pull request, #65:
URL: https://github.com/apache/gravitino-playground/pull/65

   See issue description: [ #60](https://github.com/apache/gravitino-playground/issues/60)
   
   In this PR, I changed the port to services' non-default port (exclude Gravitino), this will avoid conflict if user already runs a service in local, such as mysql, pg, spark, trino, etc.


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Enhancement] Change exposed ports to avoid possible conflicts [gravitino-playground]

Posted by "shaofengshi (via GitHub)" <gi...@apache.org>.
shaofengshi commented on code in PR #65:
URL: https://github.com/apache/gravitino-playground/pull/65#discussion_r1724598811


##########
docker-compose.yaml:
##########
@@ -22,9 +22,9 @@ services:
     image: datastrato/hive:2.7.3-no-yarn
     ports:
       - "3307:3306"
-      - "9000:9000"
-      - "9083:9083"
-      - "50070:50070"
+      - "9003:9000"

Review Comment:
   ok, I will raise another PR for it.



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Enhancement] Change exposed ports to avoid possible conflicts [gravitino-playground]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #65:
URL: https://github.com/apache/gravitino-playground/pull/65#discussion_r1721351128


##########
docker-compose.yaml:
##########
@@ -22,9 +22,9 @@ services:
     image: datastrato/hive:2.7.3-no-yarn
     ports:
       - "3307:3306"
-      - "9000:9000"
-      - "9083:9083"
-      - "50070:50070"
+      - "9003:9000"

Review Comment:
   use `19000` not `9003` for 9000 port to keep consistent with other port changes.



##########
docker-compose.yaml:
##########
@@ -22,9 +22,9 @@ services:
     image: datastrato/hive:2.7.3-no-yarn
     ports:
       - "3307:3306"
-      - "9000:9000"
-      - "9083:9083"
-      - "50070:50070"
+      - "9003:9000"

Review Comment:
   use `19000` not `9003` for 9000 port to keep consistent with other port changes?



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Enhancement] Change exposed ports to avoid possible conflicts [gravitino-playground]

Posted by "shaofengshi (via GitHub)" <gi...@apache.org>.
shaofengshi commented on code in PR #65:
URL: https://github.com/apache/gravitino-playground/pull/65#discussion_r1721362662


##########
docker-compose.yaml:
##########
@@ -22,9 +22,9 @@ services:
     image: datastrato/hive:2.7.3-no-yarn
     ports:
       - "3307:3306"
-      - "9000:9000"
-      - "9083:9083"
-      - "50070:50070"
+      - "9003:9000"

Review Comment:
   here in the "hive:2.7.3-no-yarn", as the first port was forwarded from 3307 to 3306, so I choose the "+1" for all ports in this image; as 9001 port is already used in Mac (Port 9001 is used by the NMC server to make RPC calls between the NMC client (Java instance) and the NMC server. ), so changed to 9003, which is not used by any known services. So I think don't need to change to 19000, as it will be inconsitent with others in this docker container. @FANNG1 



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Enhancement] Change exposed ports to avoid possible conflicts [gravitino-playground]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao commented on code in PR #65:
URL: https://github.com/apache/gravitino-playground/pull/65#discussion_r1721354332


##########
docker-compose.yaml:
##########
@@ -22,9 +22,9 @@ services:
     image: datastrato/hive:2.7.3-no-yarn
     ports:
       - "3307:3306"
-      - "9000:9000"
-      - "9083:9083"
-      - "50070:50070"
+      - "9003:9000"

Review Comment:
   Sorry I just merged this, @shaofengshi can you please submit another PR?



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Enhancement] Change exposed ports to avoid possible conflicts [gravitino-playground]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao merged PR #65:
URL: https://github.com/apache/gravitino-playground/pull/65


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Enhancement] Change exposed ports to avoid possible conflicts [gravitino-playground]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #65:
URL: https://github.com/apache/gravitino-playground/pull/65#discussion_r1721540676


##########
docker-compose.yaml:
##########
@@ -22,9 +22,9 @@ services:
     image: datastrato/hive:2.7.3-no-yarn
     ports:
       - "3307:3306"
-      - "9000:9000"
-      - "9083:9083"
-      - "50070:50070"
+      - "9003:9000"

Review Comment:
   It's a little complex to know the rules,  I prefer to keep a simple +10000 rule



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org