You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "WangGuangxin (via GitHub)" <gi...@apache.org> on 2025/09/09 03:06:51 UTC

[PR] [SPARK-53529][CONNECT] Fix spark connect client doesn't support ipv6 address [spark]

WangGuangxin opened a new pull request, #52280:
URL: https://github.com/apache/spark/pull/52280

   ### What changes were proposed in this pull request?
   Currently, connect client doen't support remote address with ipv6 format. For example
   ```shell
   bin/pyspark --remote "sc://[xxxx:xxxx:xx:xxx::xx]:yyyy" 
   ``` 
   
   It will throw 
   ```
   pyspark.errors.exceptions.base.PySparkValueError: [INVALID_CONNECT_URL] Invalid URL for Spark Connect: Target destination '[xxxx:xxxx:xx:xxx::xx]:yyyy' should match the '<host>:<port>' pattern. Please update the destination to follow the correct format, e.g., 'hostname:port'.
   ``` 
   
   ### Why are the changes needed?
   Make spark connect supports remote address with ipv6 format
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Manually
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No
   


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-53529][CONNECT] Fix spark connect client doesn't support ipv6 address [spark]

Posted by "WangGuangxin (via GitHub)" <gi...@apache.org>.
WangGuangxin commented on PR #52280:
URL: https://github.com/apache/spark/pull/52280#issuecomment-3283302125

   > Thank you. How about non-Python client? Could you check Scala client too and revise the PR description, @WangGuangxin ?
   
   @dongjoon-hyun Scala client already works well, I'v checked and updated the PR description


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-53529][PYTHON][CONNECT] Fix `pyspark` connect client to support IPv6 [spark]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on PR #52280:
URL: https://github.com/apache/spark/pull/52280#issuecomment-3285688295

   Merged to master for Apache Spark 4.1.0 (and 4.1.0-preview2).


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-53529][PYTHON][CONNECT] Fix `pyspark` connect client to support IPv6 [spark]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun closed pull request #52280: [SPARK-53529][PYTHON][CONNECT] Fix `pyspark` connect client to support IPv6
URL: https://github.com/apache/spark/pull/52280


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-53529][CONNECT] Fix spark connect client doesn't support ipv6 address [spark]

Posted by "WangGuangxin (via GitHub)" <gi...@apache.org>.
WangGuangxin commented on PR #52280:
URL: https://github.com/apache/spark/pull/52280#issuecomment-3277138020

   @dongjoon-hyun Thanks for you review.  Yes, it currently works well with this patch in my env. And I'v update the env detail and test step. 


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org