hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dirk.zhang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-13489) ExportSnapshot get ClassCastException
Date Fri, 17 Apr 2015 03:22:58 GMT
dirk.zhang created HBASE-13489:
----------------------------------

             Summary: ExportSnapshot get ClassCastException
                 Key: HBASE-13489
                 URL: https://issues.apache.org/jira/browse/HBASE-13489
             Project: HBase
          Issue Type: Bug
          Components: hbase
    Affects Versions: 0.98.1
         Environment: CentOS release 6.4 (Final)
hadoop-2.3.0
            Reporter: dirk.zhang
            Assignee: dirk.zhang
             Fix For: 0.98.1


running below commed:
bin/hbase org.apache.hadoop.hbase.snapshot.ExportSnapshot -snapshot dirktest_snapshot -copy-to
hdfs://mycluster/user/dirkzhang -mappers 1

get the result like this:
2015-04-17 09:34:39,786 INFO  [main] mapreduce.Job: Task Id : attempt_1429100249397_3909_m_000000_0,
Status : FAILED
Error: java.lang.ClassCastException: org.apache.hadoop.io.BytesWritable cannot be cast to
org.apache.hadoop.io.Text
        at org.apache.hadoop.hbase.snapshot.ExportSnapshot$ExportMapper.map(ExportSnapshot.java:99)
        at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:145)
        at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)
        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:340)
        at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:167)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1554)
        at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)




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

Mime
View raw message