hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19167) RowCounter not working on 2.0.0-alpha3
Date Fri, 03 Nov 2017 21:56:00 GMT

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

Andrew Purtell commented on HBASE-19167:
----------------------------------------

Maybe there's a typo in an include somewhere where we meant o.a.commons.lang but specified
o.a.commons.lang3 instead?

> RowCounter not working on 2.0.0-alpha3
> --------------------------------------
>
>                 Key: HBASE-19167
>                 URL: https://issues.apache.org/jira/browse/HBASE-19167
>             Project: HBase
>          Issue Type: Bug
>          Components: hadoop2, mapreduce, shell
>    Affects Versions: 2.0.0-alpha-3
>         Environment: Ubuntu 16.04, Distributed 3-Node Deployment, all running 2.0.0-alpha3
>            Reporter: Silvan Heller
>            Priority: Blocker
>             Fix For: 2.0.0-beta-1
>
>
> Steps to reproduce:
> * Create a table 'w' (or any other name)
> * Execute in shell: ./hbase org.apache.hadoop.hbase.mapreduce.RowCounter w (Where 'w'
is my tablename)
> Expected Behavior:
> * I receive how many rows my table has
> Actual Behavior:
> *  Jobs fail because org.apache.commons.lang3.ArrayUtils is not present on the classpath.
Detailed Stacktrace below.
> ============== STACKTRACE
> 2017-11-03 10:26:26,773 INFO  [main] mapreduce.Job: Task Id : attempt_1507127903800_0002_m_000001_2,
Status : FAILED
> Error: java.lang.ClassNotFoundException: org.apache.commons.lang3.ArrayUtils
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> 	at org.apache.hadoop.hbase.HConstants.<clinit>(HConstants.java:1144)
> 	at org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil.toScan(ProtobufUtil.java:1091)
> 	at org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.convertStringToScan(TableMapReduceUtil.java:576)
> 	at org.apache.hadoop.hbase.mapreduce.TableInputFormat.setConf(TableInputFormat.java:122)
> 	at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:76)
> 	at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:136)
> 	at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:749)
> 	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
> 	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:175)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message