hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-17240) ImportTsv encounters ClassNotFoundException for MasterProtos$MasterService$BlockingInterface
Date Fri, 02 Dec 2016 11:28:58 GMT
Ted Yu created HBASE-17240:
------------------------------

             Summary: ImportTsv encounters ClassNotFoundException for MasterProtos$MasterService$BlockingInterface
                 Key: HBASE-17240
                 URL: https://issues.apache.org/jira/browse/HBASE-17240
             Project: HBase
          Issue Type: Bug
            Reporter: Ted Yu


[~romil.choksi] reported the following problem.
With command:
{code}
hbase org.apache.hadoop.hbase.mapreduce.ImportTsv -Dimporttsv.separator=, -Dimporttsv.bulk.output=output
-Dimporttsv.columns=HBASE_ROW_KEY,f:count wordcount word_count.csv
{code}
The following error showed up:
{code}
2016-11-29 06:39:48,861 INFO  [main] mapreduce.Job: Task Id : attempt_1479850535804_0004_m_000000_2,
Status : FAILED
Error: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos$MasterService$BlockingInterface
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
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.client.ConnectionFactory.createConnection(ConnectionFactory.java:225)
at org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:122)
at org.apache.hadoop.hbase.mapreduce.DefaultVisibilityExpressionResolver.init(DefaultVisibilityExpressionResolver.java:75)
at org.apache.hadoop.hbase.mapreduce.CellCreator.<init>(CellCreator.java:48)
at org.apache.hadoop.hbase.mapreduce.TsvImporterMapper.setup(TsvImporterMapper.java:115)
at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:143)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:787)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724)
{code}



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

Mime
View raw message