You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jonathan Hsieh (JIRA)" <ji...@apache.org> on 2016/01/21 16:24:40 UTC

[jira] [Created] (HBASE-15152) Automatically include prefix-tree module in MR jobs.

Jonathan Hsieh created HBASE-15152:
--------------------------------------

             Summary: Automatically include prefix-tree module in MR jobs.
                 Key: HBASE-15152
                 URL: https://issues.apache.org/jira/browse/HBASE-15152
             Project: HBase
          Issue Type: Bug
          Components: mapreduce
    Affects Versions: 1.0.0
            Reporter: Jonathan Hsieh
            Assignee: Jonathan Hsieh
             Fix For: 2.0.0, 1.3.0, 1.2.1


I was running some MR jobs tests and ended up with PrefixTreeCodec class not found in the YarnChildren processes.  

{code}
2016-01-21 06:24:26,844 WARN  [main] mapreduce.TableMapReduceUtil(785): The  hbase-prefix-tree module jar containing PrefixTreeCodec is not present.
java.lang.ClassNotFoundException: org.apache.hadoop.hbase.code.prefixtree.PrefixTreeCodec
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
{code}

This is related to HBASE-7434 and HBASE-7936 which address compile time concerns.  This fix makes it so that jar inclusion is done at run time, and continues if it is not present (for mr unit tests that don't depend on it)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)