[ 
https://issues.apache.org/jira/browse/HBASE-20086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16378029#comment-16378029
 ] 

ramkrishna.s.vasudevan commented on HBASE-20086:
------------------------------------------------

[~yuzhih...@gmail.com]
So this change will work only if the PE tool is ran with map reduce mode? If we 
are running with 'nomapred' - the FilterAllFilter gets loaded and works  fine? 
If so this patch is fine. Thanks.

> PE randomSeekScan fails with ClassNotFoundException
> ---------------------------------------------------
>
>                 Key: HBASE-20086
>                 URL: https://issues.apache.org/jira/browse/HBASE-20086
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Major
>             Fix For: 2.0.0-beta-2
>
>         Attachments: 20086.v1.txt, 20086.v2.txt, 20086.v3.txt
>
>
> When running PE randomSeekScan against hadoop 3 cluster, I got the following 
> error:
> {code}
> 2018-02-26 17:11:09,548 INFO  [main] mapreduce.Job: Task Id : 
> attempt_1519408774395_0003_m_000004_0, Status : FAILED
> Error: java.lang.ClassNotFoundException: 
> org.apache.hadoop.hbase.filter.FilterAllFilter
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:264)
>         at 
> org.apache.hadoop.hbase.PerformanceEvaluation$EvaluationMapTask.forName(PerformanceEvaluation.java:291)
>         at 
> org.apache.hadoop.hbase.PerformanceEvaluation$EvaluationMapTask.setup(PerformanceEvaluation.java:276)
>         at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:143)
>         at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:794)
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:342)
>         at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:174)
> {code}
> This is due to FilterAllFilter being inside hbase-server tests jar, hence not 
> added as dependency for PE job.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to