Details
Description
Regression after 2.1
[19/Dec/2012 14:38:37 +0000] views INFO 127.0.0.1 romain - shell_id:5 - Output: "'ls\n'" [19/Dec/2012 14:38:37 +0000] access INFO 127.0.0.1 romain - "POST /shell/retrieve_output HTTP/1.0" [19/Dec/2012 14:38:37 +0000] views INFO 127.0.0.1 romain - shell_id:5 - Output: "'hdfs://localhost:8020/user/romain/aa<r 1>\t46\nhdfs://localhost:8020/user/romain/conf\t<dir>\nhdfs://localhost:8020/user/romain/demo\t<dir>\nhdfs://localhost:8020/user/romain/dwdwd\t<dir>\nhdfs://localhost:8020/user/romain/examples\t<dir>\nhdfs://localhost:8020/user/romain/hive-wf\t<dir>\nhdfs://localhost:8020/user/romain/lib\t<dir>\nhdfs://localhost:8020/user/romain/oozie-oozi\t<dir>\nhdfs://localhost:8020/user/romain/out\t<dir>\nhdfs://localhost:8020/user/romain/share\t<dir>\nhdfs://localhost:8020/user/romain/test-1.2.3\t<dir>\nhdfs://localhost:8020/user/romain/words\t<dir>\ngrunt> '" [19/Dec/2012 14:38:38 +0000] access INFO 127.0.0.1 romain - "POST /shell/retrieve_output HTTP/1.0" [19/Dec/2012 14:39:14 +0000] shellmanager DEBUG Sending SIGKILL to process with PID 4641 [19/Dec/2012 14:39:14 +0000] shellmanager INFO romain - shell_id:2 pid:4641 - Exited with status 0 [19/Dec/2012 14:39:14 +0000] shellmanager INFO romain - shell_id:2 pid:4641 - Exited with status 0 [19/Dec/2012 14:39:14 +0000] shellmanager INFO romain - shell_id:2 pid:4641 - Exited with status 0 [19/Dec/2012 14:39:33 +0000] middleware INFO Processing exception: argument of type 'bool' is not iterable: Traceback (most recent call last): File "/home/romain/projects/hue/build/env/lib/python2.7/site-packages/Django-1.2.3-py2.7.egg/django/core/handlers/base.py", line 100, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/home/romain/projects/hue/apps/shell/src/shell/views.py", line 116, in retrieve_output if 'output' in result[shell]: TypeError: argument of type 'bool' is not iterable [19/Dec/2012 14:40:35 +0000] access INFO 127.0.0.1 romain - "POST /shell/process_command HTTP/1.0" [19/Dec/2012 14:40:35 +0000] views INFO 127.0.0.1 romain - shell_id:5 - Command:'ls'
Getting a 500 after the POST timeouts 22ms