You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Abhijit Pol <ap...@rocketfuelinc.com> on 2009/09/09 01:18:44 UTC

HWI error message

I can see error code propagated in HWI. Is there a way to propagate
error message all the way up to the user interface?
Often user make an error entering query and they only get to know the
error code (10 or 11). But they don't get any hint on how to fix it...

Thanks,
Abhi

Re: HWI error message

Posted by Edward Capriolo <ed...@gmail.com>.
On Tue, Sep 8, 2009 at 7:18 PM, Abhijit Pol<ap...@rocketfuelinc.com> wrote:
> I can see error code propagated in HWI. Is there a way to propagate
> error message all the way up to the user interface?
> Often user make an error entering query and they only get to know the
> error code (10 or 11). But they don't get any hint on how to fix it...
>
> Thanks,
> Abhi
>
Abhi,

>From memory the CLI handles that by sending the output to
SessionState.err. We also might be able to collect the last exception
and store it. We left a hook open to write the error stream to a
separate file. Open up a Jira, and we can talk about the best way to
implement it.\

Thank you,
Edward