hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Rodionov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16655) hbase backup describe with incorrect backup id results in NPE
Date Mon, 19 Sep 2016 21:13:20 GMT

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

Vladimir Rodionov commented on HBASE-16655:
-------------------------------------------

[~tedyu] please keep only "hbase backup describe with incorrect backup id results in NPE"
related fix and new test in the patch. I have taken care about the rest (progress / describe
with no backupId) in HBASE-16620 addendum6 patch.

> hbase backup describe with incorrect backup id results in NPE
> -------------------------------------------------------------
>
>                 Key: HBASE-16655
>                 URL: https://issues.apache.org/jira/browse/HBASE-16655
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>              Labels: backup
>         Attachments: 16655.v2.txt
>
>
> If the user supplies backup Id which is non-existent, we would get NullPointerException
:
> {code}
> 2016-09-19 10:26:50,771 ERROR [main] backup.BackupDriver(173): Error running command-line
tool
> java.lang.NullPointerException
>   at org.apache.hadoop.hbase.backup.impl.BackupCommands$DescribeCommand.execute(BackupCommands.java:329)
>   at org.apache.hadoop.hbase.backup.BackupDriver.parseAndRun(BackupDriver.java:114)
>   at org.apache.hadoop.hbase.backup.BackupDriver.doWork(BackupDriver.java:135)
>   at org.apache.hadoop.hbase.backup.BackupDriver.run(BackupDriver.java:171)
>   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>   at org.apache.hadoop.hbase.backup.TestBackupDescribe.testBackupDescribe(TestBackupDescribe.java:67)
> {code}



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

Mime
View raw message