hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chinna Rao Lalam (Commented) (JIRA)" <>
Subject [jira] [Commented] (HIVE-2178) Log related Check style Comments fixes
Date Fri, 21 Oct 2011 17:54:32 GMT


Chinna Rao Lalam commented on HIVE-2178:

In some places chaining the actual exception is like "throw new HiveException(e.toString())"
 so i tried to correct it like "throw new HiveException("ExceptionMessgae",e)" and i verified
the log messages it is comming properly but *.q.out files are not capturing the exception
because org.apache.hadoop.hive.ql.session.SessionState.LogHelper.printError(String, String)
is capturing only the first message in *.q.out file and for logs it is captured both.

Now i have updated the patch like "throw new HiveException(e.toString())" these are changed
to "throw new HiveException(e)" now it is capturing the exception stack trace in *.q.out and
log files also
> Log related Check style Comments fixes
> --------------------------------------
>                 Key: HIVE-2178
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0, 0.8.0
>         Environment: Hadoop 0.20.1, Hive0.8.0 and SUSE Linux Enterprise Server 10 SP2
(i586) - Kernel (5)
>            Reporter: Chinna Rao Lalam
>            Assignee: Chinna Rao Lalam
>         Attachments: HIVE-2178.1.patch, HIVE-2178.2.patch, HIVE-2178.3.patch, HIVE-2178.4.patch,
> Fix Log related Check style Comments

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message