You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2009/09/30 06:10:32 UTC
[jira] Created: (AVRO-130) "bad file descriptor" error after
shutting down python ipc.SocketServer
"bad file descriptor" error after shutting down python ipc.SocketServer
-----------------------------------------------------------------------
Key: AVRO-130
URL: https://issues.apache.org/jira/browse/AVRO-130
Project: Avro
Issue Type: Bug
Affects Versions: 1.1.0
Environment: python 2.6, ubuntu (jaunty)
Reporter: Patrick Hunt
I see the following error after shutting down the ipc.SocketServer:
--------------
....
Closed: Connection-('127.0.0.1', 35220)
Exception in thread SocketServer on ('localhost', 0):
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
self.run()
File "/home/phunt/dev/workspace/avro-rpc-quickstart/lib/python/avro/ipc.py", line 385, in run
raise e
error: [Errno 9] Bad file descriptor
----------------
If I put a "print("done")" as the last line in:
http://github.com/phunt/avro-rpc-quickstart/blob/master/src/main/python/send_message.py
The above error is printed _after_ the done message it output. It seems that the socketserver is not shutting down correctly during the "close" and subsequently fails.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (AVRO-130) "bad file descriptor" error after
shutting down python ipc.SocketServer
Posted by "Jeff Hammerbacher (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Hammerbacher resolved AVRO-130.
------------------------------------
Resolution: Fixed
Fixed by AVRO-264.
> "bad file descriptor" error after shutting down python ipc.SocketServer
> -----------------------------------------------------------------------
>
> Key: AVRO-130
> URL: https://issues.apache.org/jira/browse/AVRO-130
> Project: Avro
> Issue Type: Bug
> Components: python
> Affects Versions: 1.1.0
> Environment: python 2.6, ubuntu (jaunty)
> Reporter: Patrick Hunt
> Assignee: Jeff Hammerbacher
>
> I see the following error after shutting down the ipc.SocketServer:
> --------------
> ....
> Closed: Connection-('127.0.0.1', 35220)
> Exception in thread SocketServer on ('localhost', 0):
> Traceback (most recent call last):
> File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
> self.run()
> File "/home/phunt/dev/workspace/avro-rpc-quickstart/lib/python/avro/ipc.py", line 385, in run
> raise e
> error: [Errno 9] Bad file descriptor
> ----------------
> If I put a "print("done")" as the last line in:
> http://github.com/phunt/avro-rpc-quickstart/blob/master/src/main/python/send_message.py
> The above error is printed _after_ the done message it output. It seems that the socketserver is not shutting down correctly during the "close" and subsequently fails.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AVRO-130) "bad file descriptor" error after
shutting down python ipc.SocketServer
Posted by "Jeff Hammerbacher (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796263#action_12796263 ]
Jeff Hammerbacher commented on AVRO-130:
----------------------------------------
We handle this correctly (by using Python's SocketServer) in AVRO-264.
> "bad file descriptor" error after shutting down python ipc.SocketServer
> -----------------------------------------------------------------------
>
> Key: AVRO-130
> URL: https://issues.apache.org/jira/browse/AVRO-130
> Project: Avro
> Issue Type: Bug
> Components: python
> Affects Versions: 1.1.0
> Environment: python 2.6, ubuntu (jaunty)
> Reporter: Patrick Hunt
> Assignee: Jeff Hammerbacher
>
> I see the following error after shutting down the ipc.SocketServer:
> --------------
> ....
> Closed: Connection-('127.0.0.1', 35220)
> Exception in thread SocketServer on ('localhost', 0):
> Traceback (most recent call last):
> File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
> self.run()
> File "/home/phunt/dev/workspace/avro-rpc-quickstart/lib/python/avro/ipc.py", line 385, in run
> raise e
> error: [Errno 9] Bad file descriptor
> ----------------
> If I put a "print("done")" as the last line in:
> http://github.com/phunt/avro-rpc-quickstart/blob/master/src/main/python/send_message.py
> The above error is printed _after_ the done message it output. It seems that the socketserver is not shutting down correctly during the "close" and subsequently fails.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (AVRO-130) "bad file descriptor" error after
shutting down python ipc.SocketServer
Posted by "Jeff Hammerbacher (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Hammerbacher reassigned AVRO-130:
--------------------------------------
Assignee: Jeff Hammerbacher
> "bad file descriptor" error after shutting down python ipc.SocketServer
> -----------------------------------------------------------------------
>
> Key: AVRO-130
> URL: https://issues.apache.org/jira/browse/AVRO-130
> Project: Avro
> Issue Type: Bug
> Components: python
> Affects Versions: 1.1.0
> Environment: python 2.6, ubuntu (jaunty)
> Reporter: Patrick Hunt
> Assignee: Jeff Hammerbacher
>
> I see the following error after shutting down the ipc.SocketServer:
> --------------
> ....
> Closed: Connection-('127.0.0.1', 35220)
> Exception in thread SocketServer on ('localhost', 0):
> Traceback (most recent call last):
> File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
> self.run()
> File "/home/phunt/dev/workspace/avro-rpc-quickstart/lib/python/avro/ipc.py", line 385, in run
> raise e
> error: [Errno 9] Bad file descriptor
> ----------------
> If I put a "print("done")" as the last line in:
> http://github.com/phunt/avro-rpc-quickstart/blob/master/src/main/python/send_message.py
> The above error is printed _after_ the done message it output. It seems that the socketserver is not shutting down correctly during the "close" and subsequently fails.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (AVRO-130) "bad file descriptor" error after
shutting down python ipc.SocketServer
Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated AVRO-130:
------------------------------
Component/s: python
> "bad file descriptor" error after shutting down python ipc.SocketServer
> -----------------------------------------------------------------------
>
> Key: AVRO-130
> URL: https://issues.apache.org/jira/browse/AVRO-130
> Project: Avro
> Issue Type: Bug
> Components: python
> Affects Versions: 1.1.0
> Environment: python 2.6, ubuntu (jaunty)
> Reporter: Patrick Hunt
>
> I see the following error after shutting down the ipc.SocketServer:
> --------------
> ....
> Closed: Connection-('127.0.0.1', 35220)
> Exception in thread SocketServer on ('localhost', 0):
> Traceback (most recent call last):
> File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
> self.run()
> File "/home/phunt/dev/workspace/avro-rpc-quickstart/lib/python/avro/ipc.py", line 385, in run
> raise e
> error: [Errno 9] Bad file descriptor
> ----------------
> If I put a "print("done")" as the last line in:
> http://github.com/phunt/avro-rpc-quickstart/blob/master/src/main/python/send_message.py
> The above error is printed _after_ the done message it output. It seems that the socketserver is not shutting down correctly during the "close" and subsequently fails.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.