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

Istvan Toth commented on HBASE-28662:
-------------------------------------

The problem is in 
org.apache.hadoop.hbase.rest.ScannerResource.getScannerInstanceResource(String) 
, where we return a dummy scanner instead of an error code when the client 
requests a non-existent scanner.

> Removing missing scanner via REST should return 404
> ---------------------------------------------------
>
>                 Key: HBASE-28662
>                 URL: https://issues.apache.org/jira/browse/HBASE-28662
>             Project: HBase
>          Issue Type: Bug
>          Components: REST
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Minor
>
> We do not handle the case when the user is trying to remove a missing 
> scanner, and let an NPE bubble up to Jersey.
> We should check or catch the error and return 404 instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to