Hue Forum

Hue 2.3 – REST Exception in Pig queries

  • #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!

to create new topics or reply. | New User Registration

  • Author
  • #55713

    Hi Antonino,

    Can you attach you pig script here?



You must be to reply to this topic. | Create Account

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

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.