Uploaded image for project: 'Hivemall'
  1. Hivemall
  2. HIVEMALL-268

train_ffm(features,label) causes NPE while train_ffm(features,label,'') works fine

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.5.2
    • Fix Version/s: 0.6.0
    • Labels:
      None

      Description

      train_ffm(features,label) causes NPE while train_ffm(features,label,'') works fine.

      Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Exception caused in the 1-th call of train()
      	at hivemall.fm.FactorizationMachineUDTF.train(FactorizationMachineUDTF.java:404)
      	at hivemall.fm.FactorizationMachineUDTF.process(FactorizationMachineUDTF.java:314)
      	at org.apache.hadoop.hive.ql.exec.UDTFOperator.processOp(UDTFOperator.java:107)
      	at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:793)
      	at org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:87)
      	at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:793)
      	at org.apache.hadoop.hive.ql.exec.ExtractOperator.processOp(ExtractOperator.java:45)
      	at org.apache.hadoop.hive.ql.exec.mr.ExecReducer.reduce(ExecReducer.java:262)
      	... 11 more
      Caused by: java.lang.NullPointerException
      	at hivemall.fm.FactorizationMachineModel.initV(FactorizationMachineModel.java:391)
      	at hivemall.fm.FFMStringFeatureMapModel.getV(FFMStringFeatureMapModel.java:152)
      	at hivemall.fm.FieldAwareFactorizationMachineModel.predict(FieldAwareFactorizationMachineModel.java:98)
      	at hivemall.fm.FieldAwareFactorizationMachineUDTF.trainTheta(FieldAwareFactorizationMachineUDTF.java:195)
      	at hivemall.fm.FactorizationMachineUDTF.train(FactorizationMachineUDTF.java:401)
      	... 18 more 
      

        Attachments

          Activity

            People

            • Assignee:
              myui Makoto Yui
              Reporter:
              myui Makoto Yui

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment