You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jiezhang (via GitHub)" <gi...@apache.org> on 2023/03/20 21:39:06 UTC

[GitHub] [arrow] jiezhang opened a new pull request, #34648: MINOR: [Java] Expose Location.toSocketAddress

jiezhang opened a new pull request, #34648:
URL: https://github.com/apache/arrow/pull/34648

   <!--
   Thanks for opening a pull request!
   If this is your first pull request you can find detailed information on how 
   to contribute here:
     * [New Contributor's Guide](https://arrow.apache.org/docs/dev/developers/guide/step_by_step/pr_lifecycle.html#reviews-and-merge-of-the-pull-request)
     * [Contributing Overview](https://arrow.apache.org/docs/dev/developers/overview.html)
   
   
   If this is not a [minor PR](https://github.com/apache/arrow/blob/main/CONTRIBUTING.md#Minor-Fixes). Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose
   
   Opening GitHub issues ahead of time contributes to the [Openness](http://theapacheway.com/open/#:~:text=Openness%20allows%20new%20users%20the,must%20happen%20in%20the%20open.) of the Apache Arrow project.
   
   Then could you also rename the pull request title in the following format?
   
       GH-${GITHUB_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}
   
   or
   
       MINOR: [${COMPONENT}] ${SUMMARY}
   
   In the case of PARQUET issues on JIRA the title also supports:
   
       PARQUET-${JIRA_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}
   
   -->
   
   ### Rationale for this change
   
   <!--
    Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed.
    Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes.  
   -->
   
   ### What changes are included in this PR?
   
   <!--
   There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR.
   -->
   Change `Location.toSocketAddress()` to a public method. This is useful for creating a `FlightClient` via `FlightGrpcUtils.createFlightClient`:
   
   https://github.com/apache/arrow/blob/08fb86107b001e2e1903ae0e416ff51386d4239e/java/flight/flight-grpc/src/main/java/org/apache/arrow/flight/FlightGrpcUtils.java#L148
   
   ### Are these changes tested?
   
   <!--
   We typically require tests for all PRs in order to:
   1. Prevent the code from being accidentally broken by subsequent changes
   2. Serve as another way to document the expected behavior of the code
   
   If tests are not included in your PR, please explain why (for example, are they covered by existing tests)?
   -->
   
   ### Are there any user-facing changes?
   
   <!--
   If there are user-facing changes then we may require documentation to be updated before approving the PR.
   -->
   
   <!--
   If there are any breaking changes to public APIs, please uncomment the line below and explain which changes are breaking.
   -->
   <!-- **This PR includes breaking changes to public APIs.** -->
   
   <!--
   Please uncomment the line below (and provide explanation) if the changes fix either (a) a security vulnerability, (b) a bug that caused incorrect or invalid data to be produced, or (c) a bug that causes a crash (even when the API contract is upheld). We use this to highlight fixes to issues that may affect users without their knowledge. For this reason, fixing bugs that cause errors don't count, since those are usually obvious.
   -->
   <!-- **This PR contains a "Critical Fix".** -->


-- 
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: github-unsubscribe@arrow.apache.org

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


[GitHub] [arrow] lidavidm merged pull request #34648: GH-34692: [Java] Expose Location.toSocketAddress

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm merged PR #34648:
URL: https://github.com/apache/arrow/pull/34648


-- 
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: github-unsubscribe@arrow.apache.org

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


[GitHub] [arrow] github-actions[bot] commented on pull request #34648: GH-34692: [Java] Expose Location.toSocketAddress

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #34648:
URL: https://github.com/apache/arrow/pull/34648#issuecomment-1480114308

   :warning: GitHub issue #34692 **has been automatically assigned in GitHub** to PR creator.


-- 
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: github-unsubscribe@arrow.apache.org

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


[GitHub] [arrow] lidavidm commented on pull request #34648: MINOR: [Java] Expose Location.toSocketAddress

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #34648:
URL: https://github.com/apache/arrow/pull/34648#issuecomment-1478485707

   Thanks!
   
   Would it be possible to add a simple test with one or two asserts, just for sanity checking? I see it's only indirectly tested so far, but now that it's a public API it deserves a little testing


-- 
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: github-unsubscribe@arrow.apache.org

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


[GitHub] [arrow] lidavidm commented on pull request #34648: GH-34692: [Java] Expose Location.toSocketAddress

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #34648:
URL: https://github.com/apache/arrow/pull/34648#issuecomment-1480114481

   I filed an issue for this (don't think it's technically minor); you can comment 'take' on the issue to have it assigned to you


-- 
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: github-unsubscribe@arrow.apache.org

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


[GitHub] [arrow] github-actions[bot] commented on pull request #34648: GH-34692: [Java] Expose Location.toSocketAddress

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #34648:
URL: https://github.com/apache/arrow/pull/34648#issuecomment-1480114251

   * Closes: #34692


-- 
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: github-unsubscribe@arrow.apache.org

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


[GitHub] [arrow] ursabot commented on pull request #34648: GH-34692: [Java] Expose Location.toSocketAddress

Posted by "ursabot (via GitHub)" <gi...@apache.org>.
ursabot commented on PR #34648:
URL: https://github.com/apache/arrow/pull/34648#issuecomment-1480468346

   Benchmark runs are scheduled for baseline = d526fd9d06598707e99346d67adf9a1153bb4601 and contender = fd5d7107436b2cf6ace361edc7f732a3d48c0f0e. fd5d7107436b2cf6ace361edc7f732a3d48c0f0e is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
   Conbench compare runs links:
   [Finished :arrow_down:0.0% :arrow_up:0.0%] [ec2-t3-xlarge-us-east-2](https://conbench.ursa.dev/compare/runs/480c3c7b81654d9d9033146a1295beb8...74f26a594ee641e78c0afc4bd8ed091c/)
   [Failed :arrow_down:0.03% :arrow_up:0.0%] [test-mac-arm](https://conbench.ursa.dev/compare/runs/73a90752493a49038c3c822067e7f09e...355ec80c40d24e8598d541956f4ea05e/)
   [Finished :arrow_down:0.26% :arrow_up:0.0%] [ursa-i9-9960x](https://conbench.ursa.dev/compare/runs/37f38a6d9cfc4395be73d020cb782070...5a5f82e41bd04a7aaf6354a45d9bf90d/)
   [Finished :arrow_down:0.22% :arrow_up:0.03%] [ursa-thinkcentre-m75q](https://conbench.ursa.dev/compare/runs/c4988742022e4726a1606f6d452be17f...2ae948166db94be2ac798d291aaad6c0/)
   Buildkite builds:
   [Finished] [`fd5d7107` ec2-t3-xlarge-us-east-2](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ec2-t3-xlarge-us-east-2/builds/2557)
   [Failed] [`fd5d7107` test-mac-arm](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-test-mac-arm/builds/2587)
   [Finished] [`fd5d7107` ursa-i9-9960x](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ursa-i9-9960x/builds/2555)
   [Finished] [`fd5d7107` ursa-thinkcentre-m75q](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ursa-thinkcentre-m75q/builds/2578)
   [Finished] [`d526fd9d` ec2-t3-xlarge-us-east-2](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ec2-t3-xlarge-us-east-2/builds/2556)
   [Finished] [`d526fd9d` test-mac-arm](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-test-mac-arm/builds/2586)
   [Finished] [`d526fd9d` ursa-i9-9960x](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ursa-i9-9960x/builds/2554)
   [Finished] [`d526fd9d` ursa-thinkcentre-m75q](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ursa-thinkcentre-m75q/builds/2577)
   Supported benchmarks:
   ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
   test-mac-arm: Supported benchmark langs: C++, Python, R
   ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
   ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java
   


-- 
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: github-unsubscribe@arrow.apache.org

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


[GitHub] [arrow] lidavidm commented on pull request #34648: MINOR: [Java] Expose Location.toSocketAddress

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #34648:
URL: https://github.com/apache/arrow/pull/34648#issuecomment-1480112945

   > Looks like there is a flaky test: `TestBasicOperation.getStreamLargeBatch`
   > 
   > https://github.com/apache/arrow/actions/runs/4484616893/jobs/7885328198
   
   https://github.com/apache/arrow/issues/33238


-- 
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: github-unsubscribe@arrow.apache.org

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


[GitHub] [arrow] jiezhang commented on pull request #34648: MINOR: [Java] Expose Location.toSocketAddress

Posted by "jiezhang (via GitHub)" <gi...@apache.org>.
jiezhang commented on PR #34648:
URL: https://github.com/apache/arrow/pull/34648#issuecomment-1478752371

   Looks like there is a flaky test: `TestBasicOperation.getStreamLargeBatch`
   
   https://github.com/apache/arrow/actions/runs/4484616893/jobs/7885328198


-- 
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: github-unsubscribe@arrow.apache.org

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