File tree Expand file tree Collapse file tree
tutorials/hive_udf_template Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,14 +165,15 @@ To use the template:
1651654 . Compile
166166
167167### Copy the java from H2O into the project
168- From the ` generated_model ` directory:
169168
170- * copy the ` h2o-model.jar ` file into the project's ` localjars ` directory
171- * copy the ` GBMModel.java ` file into ` src/main/java/com/h2o/hive/udf/ `
169+ ``` bash
170+ $ cp generated_model/h2o-genmodel.jar localjars
171+ $ cp generated_model/GBMModel.java src/main/java/ai/h2o/hive/udf/GBMModel.java
172+ ```
172173
173174### Update the POJO to Be a Part of the Same Package as the UDF ###
174175
175- To the top of ` GBMModel.java ` , add:
176+ To the top of ` GBMModel.java ` , add:
176177
177178``` Java
178179package ai.h2o.hive.udf ;
@@ -191,7 +192,7 @@ And plug these into the `<properties>` section of the `pom.xml` file. Currentl
191192
192193###Compile
193194
194- ``` Bash
195+ ``` bash
195196$ mvn compile
196197$ mvn package
197198```
You can’t perform that action at this time.
0 commit comments