Reply
Highlighted
New Contributor
Posts: 2
Registered: ‎11-29-2016

Display succinct errors on Hue

Hi there,

 

We're currently trying to figure out how to display only the error message we pass to exceptions. Currently when one is thrown we get a whole stack trace displayed in the red container on Hue. Is there a way to only display the message the exception throws? If possible, could this be thrown in the corner similar to Hue errors such as 'No directory found'?

 

For a user of our system we just want to display the problem, not all of the developer jargon :) 

 

Many thanks,

 

Ciaran

Cloudera Employee
Posts: 723
Registered: ‎07-30-2013

Re: Display succinct errors on Hue

It is what we try to do everywhere in Hue :)

On which page / scenario are you seeing the full trace?
New Contributor
Posts: 2
Registered: ‎11-29-2016

Re: Display succinct errors on Hue

Hi,


We're seeing them in the Hive page, the usual Hue errors come back as one line in the red box, however when we throw exceptions in our SERDE's we get the full stack trace.


Thanks