Hue 2.3 – REST Exception in Pig queries

to create new topics or reply. | New User Registration


This topic contains 1 reply, has 2 voices, and was last updated by  Dave 1 year, 1 month ago.

  • Creator
  • #55419

    Antonino Virgillito


    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/ 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:


    Request Method: POST
    Request URL:
    Django Version: 1.2.3
    Python Version: 2.6.6
    Installed Applications:
    Installed Middleware:

    File “/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/” in get_response
    100. response = callback(request, *callback_args, **callback_kwargs)
    File “/usr/lib/hue/apps/pig/src/pig/” 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/” in pig_query
    99. return“pig”, data)
    File “/usr/lib/hue/apps/pig/src/pig/” in post
    39. response = self.client.execute(“POST”, url, params=params, data=data)
    File “/usr/lib/hue/desktop/core/src/desktop/lib/rest/” 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 to reply to this topic. | Create Account

  • Author
  • #55713


    Hi Antonino,

    Can you attach you pig script here?



Viewing 1 replies (of 1 total)
Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.