Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Can not start Ray with Apache Arrow flight on mac #20068

Closed
mmuru opened this issue Nov 4, 2021 · 7 comments
Closed

[Bug] Can not start Ray with Apache Arrow flight on mac #20068

mmuru opened this issue Nov 4, 2021 · 7 comments
Assignees
Labels
bug Something that is supposed to be working; but isn't triage Needs triage (eg: priority, bug/not-bug, and owning component)
Milestone

Comments

@mmuru
Copy link

mmuru commented Nov 4, 2021

Using Ray 1.8.0 and PyArrow 6.0.0 (or 5.0.0) - Ray throws below error message on Mac.

self.global_state_accessor.connect() in _really_init_global_state method throws Abort trap: 6.

However, it works on Linux environment. Please, see https://discuss.ray.io/t/can-not-start-ray-with-arrow-flight-segmentation-fault-11/3898 for more information.

I think, it is a bug on Mac platform. Please, let me know how to resolve it. Thanks.

@mmuru mmuru changed the title Can not start Ray with Apache Arrow flight on mac [Bug]: Can not start Ray with Apache Arrow flight on mac Nov 4, 2021
@mmuru mmuru changed the title [Bug]: Can not start Ray with Apache Arrow flight on mac [Bug] Can not start Ray with Apache Arrow flight on mac Nov 4, 2021
@infzo
Copy link

infzo commented Nov 11, 2021

I had the same problem. It is clear that:

  1. In the Linux environment
  2. PyArrow is installed using conda, but PIP does not have this problem.
  3. This problem exists in both PyArrow 5.0.0 and PyArrow 6.0.0.
  4. The Ray version is the latest version, including the preview version.
Python 3.8.12 (default, Oct 12 2021, 13:49:34)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyarrow.flight
>>> import ray
>>> ray.init()
2021-11-11 11:20:16,367 INFO services.py:1331 -- View the Ray dashboard at http://127.0.0.1:8265
Aborted (core dumped)

@mmuru
Copy link
Author

mmuru commented Nov 11, 2021

@architkulkarni: Please, review this issue and provide an update. Thanks.

@architkulkarni
Copy link
Contributor

I don't know much about PyArrow unfortunately, @clarkzinzow @jjyao do you have any ideas about this or know who should triage it?

@architkulkarni architkulkarni added bug Something that is supposed to be working; but isn't triage Needs triage (eg: priority, bug/not-bug, and owning component) labels Nov 11, 2021
@jjyao
Copy link
Contributor

jjyao commented Nov 13, 2021

Sorry for the late reply. I'll take a look.

@jjyao jjyao added this to the Core Backlog milestone Nov 13, 2021
@jjyao
Copy link
Contributor

jjyao commented Nov 14, 2021

@mmuru Could you try the latest daily build, seems the issue has been fixed in master.

@mmuru
Copy link
Author

mmuru commented Nov 14, 2021

@jjyao: Yes, it works now with the latest daily build. Thanks for your help. Could you tell me what was the issue?

@jjyao
Copy link
Contributor

jjyao commented Nov 14, 2021

I think it's related to #20132

@jjyao jjyao self-assigned this Nov 14, 2021
@jjyao jjyao closed this as completed Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that is supposed to be working; but isn't triage Needs triage (eg: priority, bug/not-bug, and owning component)
Projects
None yet
Development

No branches or pull requests

4 participants