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

Ted Yu updated HBASE-16655:
---------------------------
    Attachment:     (was: 16655.v2.txt)

> 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
>
> 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)

Reply via email to