hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vaibhav Gumashta (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-8382) ConstantPropagateProcFactory#isDeterministicUdf adds a lot of ERROR level logs
Date Tue, 07 Oct 2014 19:55:34 GMT

     [ https://issues.apache.org/jira/browse/HIVE-8382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vaibhav Gumashta updated HIVE-8382:
-----------------------------------
    Description: 
Makes it hard to go over the hive log to figure out real errors:

{code}
try {
        UDF udfInternal =
            (UDF) Class.forName(bridge.getUdfClassName(), true, Utilities.getSessionSpecifiedClassLoader())
                .newInstance();
        files = udfInternal.getRequiredFiles();
        jars = udf.getRequiredJars();
      } catch (Exception e) {
        LOG.error("The UDF implementation class '" + udfClassName
            + "' is not present in the class path");
        return false;
      }
{code}

I think we should either log this at INFO or DEBUG level.


  was:
Makes it hard to go over the hive log to figure out real errors. I think we should either
log this at INFO or DEBUG level.





> ConstantPropagateProcFactory#isDeterministicUdf adds a lot of ERROR level logs
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-8382
>                 URL: https://issues.apache.org/jira/browse/HIVE-8382
>             Project: Hive
>          Issue Type: Bug
>          Components: Logical Optimizer
>    Affects Versions: 0.14.0
>            Reporter: Vaibhav Gumashta
>
> Makes it hard to go over the hive log to figure out real errors:
> {code}
> try {
>         UDF udfInternal =
>             (UDF) Class.forName(bridge.getUdfClassName(), true, Utilities.getSessionSpecifiedClassLoader())
>                 .newInstance();
>         files = udfInternal.getRequiredFiles();
>         jars = udf.getRequiredJars();
>       } catch (Exception e) {
>         LOG.error("The UDF implementation class '" + udfClassName
>             + "' is not present in the class path");
>         return false;
>       }
> {code}
> I think we should either log this at INFO or DEBUG level.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message