hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (Updated) (JIRA) <j...@apache.org>
Subject [jira] [Updated] (HIVE-2738) NPE in ExprNodeGenericFuncEvaluator
Date Wed, 25 Jan 2012 10:24:41 GMT

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

Nicolas Lalevée updated HIVE-2738:
----------------------------------

    Attachment: 750c8966-6402-465a-b011-903469fe56da.xml

For what it's worth, here is the plan of the second hadoop job which is been executed. The
two generic udf seems to be declared on ExprNodeGenericFuncDesc (l. 490-538)
                
> NPE in ExprNodeGenericFuncEvaluator
> -----------------------------------
>
>                 Key: HIVE-2738
>                 URL: https://issues.apache.org/jira/browse/HIVE-2738
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Nicolas Lalevée
>         Attachments: 750c8966-6402-465a-b011-903469fe56da.xml, MapMaxUDF.java, MapToJsonUDF.java,
hive_job_logs.txt
>
>
> Here is the query:
> bq. {{SELECT t.lid, '2011-12-12', s_map2json(s_maxmap(UNION_MAP(t.categoryCount), 100))
FROM ( SELECT theme_lid AS theme_lid, MAP(s_host(referer), COUNT( * )) AS categoryCount FROM
PageViewEvent WHERE day >= '20130104' AND day <= '20130112' AND date_ >= '2012-01-04'
AND date_ < '2012-01-13' AND lid IS NOT NULL GROUP BY lid, s_host(referer) ) t GROUP BY
t.lid}}
> Removing the call s_map2json make it work but not by removing s_maxmap, but I don't understand
what could be wrong with the implementation of my udf. And I don't know how to debug remote
hadoop jobs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message