Istvan Toth created HBASE-28650: ----------------------------------- Summary: REST multiget endpoint returns 500 error if no rows are specified Key: HBASE-28650 URL: https://issues.apache.org/jira/browse/HBASE-28650 Project: HBase Issue Type: Bug Components: REST Reporter: Istvan Toth
Should return 404 instead. Need to check if there are any "row" params before trying to iterate over them {noformat} Caused by: java.lang.NullPointerException at org.apache.hadoop.hbase.rest.MultiRowResource.get(MultiRowResource.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.hbase.thirdparty.org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52) at org.apache.hbase.thirdparty.org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:134) at org.apache.hbase.thirdparty.org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:177) at {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)