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

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

[~tedyu], the default behavior of progress command w/o attributes is to lookup 
current RUNNING backup session from hbase:backup table and present progress 
info for that session. Is this still valid?

> 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, 16655.v3.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)

Reply via email to