Skip to content

HBASE-28525 Extended REST Documentation: Stateless Scanner, table exists, multiget with filter - #6498

Merged
stoty merged 14 commits into
apache:masterfrom
PDavid:HBASE-28525-document-REST-endpoints
Dec 9, 2024
Merged

HBASE-28525 Extended REST Documentation: Stateless Scanner, table exists, multiget with filter#6498
stoty merged 14 commits into
apache:masterfrom
PDavid:HBASE-28525-document-REST-endpoints

Conversation

@PDavid

@PDavidPDavid commented Nov 28, 2024

Copy link
Copy Markdown
Contributor

Added the following to the REST API documentation:

  • Table exists endpoint (GET /table/exists)
  • Stateless Scanner endpoint (the documentation for this was based on the patch of https://issues.apache.org/jira/browse/HBASE-10346)
  • filter and filter_b64 parameters for multiget endpoint
  • "suffixGlobbing" endpoints (GET /table/row_prefix*/column)
  • append operation
  • increment operation
  • includeStartRow and includeStopRow stateless scanner parameters

Other changes:

  • Updated REST XML Schema and REST Protobufs Schema in documentation
  • Updated XMLSchema.xsd with the latest changes

Do you maybe see some other REST endpoints not documented?

@PDavidPDavid changed the title HBASE-28525 Extended REST DocumentationHBASE-28525 Extended REST Documentation: Stateless Scanner, table exists, multiget with filterNov 28, 2024
@PDavid
PDavid marked this pull request as ready for review December 2, 2024 09:29
@PDavid
PDavidforce-pushed the HBASE-28525-document-REST-endpoints branch from 884dfc8 to c7a04ecCompareDecember 2, 2024 09:30
Comment threadsrc/main/asciidoc/_chapters/external_apis.adoc Outdated
@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@PDavid
PDavid marked this pull request as draft December 3, 2024 09:43
@Apache-HBase

This comment has been minimized.

Comment threadsrc/main/asciidoc/_chapters/external_apis.adoc
@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@PDavid

Copy link
Copy Markdown
ContributorAuthor

The org.apache.hadoop.hbase.regionserver.TestRegionServerReportForDuty unit test failed in the PR build - it is unrelated as the only Java code change was removing two TODO comments.

@PDavid
PDavid marked this pull request as ready for review December 4, 2024 07:37

@stotystoty left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this.

I requested a few changes and clarifications.

Comment threadsrc/main/asciidoc/_chapters/external_apis.adoc Outdated
Comment threadsrc/main/asciidoc/_chapters/external_apis.adoc Outdated
Comment threadsrc/main/asciidoc/_chapters/external_apis.adoc
Comment threadsrc/main/asciidoc/_chapters/external_apis.adoc
@PDavid
PDavidforce-pushed the HBASE-28525-document-REST-endpoints branch from 4ba6020 to 745c5c7CompareDecember 5, 2024 09:05

@stotystoty left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 LGTM

I haven't checked the rendered documents, I assume that you did, and formatting has not been broken.

@PDavid

Copy link
Copy Markdown
ContributorAuthor

+1 LGTM

I haven't checked the rendered documents, I assume that you did, and formatting has not been broken.

Many thanks! 👍
Yes, I generated the book.html from the source and checked it thoroughly. The formatting was good (not broken).

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

Comment threadsrc/main/asciidoc/_chapters/external_apis.adoc Outdated
@NihalJain

Copy link
Copy Markdown
Contributor

+1, LGTM, please fix table # numbering before merging

As it was before so it is more consistent with other table titles.
@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 18sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗codespell0m 0scodespell was not available.
+0 🆗detsecrets0m 0sdetect-secrets was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
_ master Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for branch
+1 💚mvninstall2m 39smaster passed
+1 💚compile7m 18smaster passed
+1 💚checkstyle1m 0smaster passed
+1 💚spotbugs7m 36smaster passed
+0 🆗refguide1m 58sbranch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚spotless0m 39sbranch has no errors when running spotless:check.
_ Patch Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for patch
+1 💚mvninstall2m 33sthe patch passed
+1 💚compile7m 19sthe patch passed
+1 💚javac7m 19sthe patch passed
+1 💚blanks0m 0sThe patch has no blanks issues.
+1 💚checkstyle1m 2sthe patch passed
+1 💚spotbugs7m 50sthe patch passed
+0 🆗refguide1m 55spatch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚hadoopcheck9m 6sPatch does not cause any errors with Hadoop 3.3.6 3.4.0.
+1 💚spotless0m 39spatch has no errors when running spotless:check.
_ Other Tests _
+1 💚asflicense0m 21sThe patch does not generate ASF License warnings.
58m 36s
SubsystemReport/Notes
DockerClientAPI=1.47 ServerAPI=1.47 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6498/6/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#6498
Optional Testsdupname asflicense javac spotbugs checkstyle codespell detsecrets compile hadoopcheck hbaseanti spotless refguide
unameLinux c403d04bf46b 5.4.0-200-generic #220-Ubuntu SMP Fri Sep 27 13:19:16 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 14fef35
Default JavaEclipse Adoptium-17.0.11+9
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-6498/6/yetus-general-check/output/branch-site/book.html
refguidehttps://nightlies.apache.org/hbase/HBase-PreCommit-GitHub-PR/PR-6498/6/yetus-general-check/output/patch-site/book.html
Max. process+thread count192 (vs. ulimit of 30000)
modulesC: hbase-rest . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6498/6/console
versionsgit=2.34.1 maven=3.9.8 spotbugs=4.7.3
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 27sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 24sMaven dependency ordering for branch
+1 💚mvninstall2m 55smaster passed
+1 💚compile2m 1smaster passed
+1 💚javadoc2m 6smaster passed
+1 💚shadedjars5m 34sbranch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for patch
+1 💚mvninstall2m 52sthe patch passed
+1 💚compile2m 2sthe patch passed
+1 💚javac2m 2sthe patch passed
+1 💚javadoc2m 8sthe patch passed
+1 💚shadedjars5m 35spatch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚unit281m 12sroot in the patch passed.
313m 50s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6498/6/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile
GITHUB PR#6498
Optional Testsjavac javadoc unit compile shadedjars
unameLinux 7df418d5ec70 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 14fef35
Default JavaEclipse Adoptium-17.0.11+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6498/6/testReport/
Max. process+thread count8667 (vs. ulimit of 30000)
modulesC: hbase-rest . U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6498/6/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@NihalJain

Copy link
Copy Markdown
Contributor

Hi @PDavid is this good to merge?

@PDavid

Copy link
Copy Markdown
ContributorAuthor

Hi @PDavid is this good to merge?

Hi @NihalJain!
Thanks, yes, I think the PR is ready to merge. @stoty said that he will merge it at latest tomorrow.

@stoty

stoty commented Dec 9, 2024

Copy link
Copy Markdown
Contributor

But of course you are also welcome to merge this @NihalJain .

@NihalJain

Copy link
Copy Markdown
Contributor

Hi @PDavid is this good to merge?

Hi @NihalJain! Thanks, yes, I think the PR is ready to merge. @stoty said that he will merge it at latest tomorrow.

Ah cool. Was just checking!

But of course you are also welcome to merge this @NihalJain .

Please go ahead @stoty.

@stoty
stoty merged commit 126f723 into apache:masterDec 9, 2024
@PDavid
PDavid deleted the HBASE-28525-document-REST-endpoints branch December 9, 2024 09:12
stoty pushed a commit that referenced this pull request Dec 9, 2024
…s, multiget with filter (#6498)
Signed-off-by: Nihal Jain <nihaljain@apache.org>
Signed-off-by: Istvan Toth <stoty@apache.org>
(cherry picked from commit 126f723)
stoty pushed a commit that referenced this pull request Dec 9, 2024
…s, multiget with filter (#6498)
Signed-off-by: Nihal Jain <nihaljain@apache.org>
Signed-off-by: Istvan Toth <stoty@apache.org>
(cherry picked from commit 126f723)
stoty pushed a commit that referenced this pull request Dec 9, 2024
…s, multiget with filter (#6498)
Signed-off-by: Nihal Jain <nihaljain@apache.org>
Signed-off-by: Istvan Toth <stoty@apache.org>
(cherry picked from commit 126f723)
gvprathyusha6 pushed a commit to gvprathyusha6/hbase that referenced this pull request Dec 19, 2024
…s, multiget with filter (apache#6498)
Signed-off-by: Nihal Jain <nihaljain@apache.org>
Signed-off-by: Istvan Toth <stoty@apache.org>
mokai87 pushed a commit to mokai87/hbase that referenced this pull request Aug 7, 2025
…s, multiget with filter (apache#6498)
Signed-off-by: Nihal Jain <nihaljain@apache.org>
Signed-off-by: Istvan Toth <stoty@apache.org>
(cherry picked from commit 126f723)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@PDavid@Apache-HBase@NihalJain@stoty