You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hivemall.apache.org by "Makoto Yui (Jira)" <ji...@apache.org> on 2020/07/27 05:50:00 UTC
[jira] [Created] (HIVEMALL-296) NPE happens in General
classifier/regressor when the number of input records is zero
Makoto Yui created HIVEMALL-296:
-----------------------------------
Summary: NPE happens in General classifier/regressor when the number of input records is zero
Key: HIVEMALL-296
URL: https://issues.apache.org/jira/browse/HIVEMALL-296
Project: Hivemall
Issue Type: Bug
Affects Versions: 0.6.0
Reporter: Makoto Yui
Assignee: Makoto Yui
Fix For: 0.6.2
The following error happens when the number of input records is zero.
{code}
Caused by: java.lang.NullPointerException
at hivemall.GeneralLearnerBaseUDTF.forwardModel(GeneralLearnerBaseUDTF.java:763)
at hivemall.GeneralLearnerBaseUDTF.close(GeneralLearnerBaseUDTF.java:560)
at org.apache.hadoop.hive.ql.exec.UDTFOperator.closeOp(UDTFOperator.java:152)
at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:697)
at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:711)
at org.apache.hadoop.hive.ql.exec.mr.ExecReducer.close(ExecReducer.java:279)
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)