Home Forums Hue Hue 2.3 – REST Exception in Pig queries

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Dave 3 months, 1 week ago.

  • Creator
    Topic
  • #55419

    Antonino Virgillito
    Participant

    Hi,

    I have a problem with Hue 2.3.1-385 when issuing any Pig query from the web interface.

    RestException at /pig/start_job/
    {“error”:”Can not create a Path from a null string”} (error 500)

    Exception Location: /usr/lib/hue/desktop/core/src/desktop/lib/rest/http_client.py in execute, line 176
    Python Executable: /usr/bin/python2.6

    Pig runs fine from the shell so it’s evidently an HTTP problem.

    Here’s an excerpt from the traceback:

    Environment:

    Request Method: POST
    Request URL: https://unece-sandbox.ichec.ie:8000/pig/start_job/
    Django Version: 1.2.3
    Python Version: 2.6.6
    Installed Applications:
    [...]
    Installed Middleware:
    [...]

    Traceback:
    File “/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py” in get_response
    100. response = callback(request, *callback_args, **callback_kwargs)
    File “/usr/lib/hue/apps/pig/src/pig/views.py” in start_job
    189. job = t.pig_query(pig_file=script_file, execute=execute, statusdir=statusdir, callback=callback, arg=args)
    File “/usr/lib/hue/apps/pig/src/pig/templeton.py” in pig_query
    99. return self.post(“pig”, data)
    File “/usr/lib/hue/apps/pig/src/pig/templeton.py” in post
    39. response = self.client.execute(“POST”, url, params=params, data=data)
    File “/usr/lib/hue/desktop/core/src/desktop/lib/rest/http_client.py” in execute
    176. raise self._exc_class(ex)

    Exception Type: RestException at /pig/start_job/
    Exception Value: {“error”:”Can not create a Path from a null string”} (error 500)

    Thank you for your help!

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #55713

    Dave
    Moderator

    Hi Antonino,

    Can you attach you pig script here?

    Thanks

    Dave

    Collapse
Viewing 1 replies (of 1 total)