hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-19167) RowCounter not working on 2.0.0-alpha3
Date Sun, 05 Nov 2017 04:32:00 GMT

     [ https://issues.apache.org/jira/browse/HBASE-19167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chia-Ping Tsai resolved HBASE-19167.
------------------------------------
    Resolution: Duplicate

The error doesn't happen in alpha4, but there are other classes which are not found in running
RowCounter. see HBASE-19185.

> 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