hbase-issues 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-19355) Missing dependency on hbase-zookeeper module causes CopyTable to fail
Date Tue, 28 Nov 2017 00:08:01 GMT
Ted Yu created HBASE-19355:
------------------------------

             Summary: Missing dependency on hbase-zookeeper module causes CopyTable to fail
                 Key: HBASE-19355
                 URL: https://issues.apache.org/jira/browse/HBASE-19355
             Project: HBase
          Issue Type: Bug
            Reporter: Romil Choksi
            Assignee: Ted Yu


Romil reported seeing the following error when running CopyTable:
{code}
2017-11-27 23:14:38,003 INFO  [main] mapreduce.Job: Task Id : attempt_1511805117287_0023_m_000000_1,
Status : FAILED
Error: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.zookeeper.ZKWatcher
  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 org.apache.hadoop.hbase.mapreduce.Import$Importer.setup(Import.java:614)
  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)
  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:1962)
  at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:168)
{code}
This was due to missing dependency on hbase-zookeeper module.
Once dependency is added through ZKWatcher.class, the CopyTable  job can succeed.



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

Mime
View raw message