Github user myui commented on the issue:

    https://github.com/apache/incubator-hivemall/pull/95
  
    @maropu 
    
    MapReduce context could be null when a job runs in a [uber/local 
mode](https://stackoverflow.com/questions/30284237/what-is-the-purpose-of-uber-mode-in-hadoop).
    
    Please use `RandomUtils.getUUID();` for ID generation. Throwing an 
exception in `taskid()` UDF is expected behavior.
    
    - BTW, `throw new HiveException(e.getMessage());` should be `throw new 
HiveException(e);` to get the message and the root cause. Other parts as well.
    
    - `createXGBooster` should not return null (add `@Nonnull` ) and should 
throw Exception instead of suppressing to stderr.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to