You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "yuriipalam (via GitHub)" <gi...@apache.org> on 2026/02/09 16:38:35 UTC
[PR] HBASE-29878 Improve the Documentation UI [hbase]
yuriipalam opened a new pull request, #7722:
URL: https://github.com/apache/hbase/pull/7722
As discussed earlier here https://lists.apache.org/thread/0ojmobpnyk44lbghqxh2c231c3bm6t6t
I’m presenting the new documentation website. You can check this out here:
https://hbase-landing.vercel.app/docs/
What’s been done:
- Converted all asciidoc files to mdx (extended markdown). 99% of the content preserved, checked it manually multiple times.
- Multi-page by default, single-page as an alternative option for those who got used to it.
- Multi-page has a powerful search. The whole website is static and pre-rendered at a build time.
- “Edit on GitHub” button is at the bottom of each section that leads directly to the source of the section. Doesn’t work in the demo website because it leads to the original repo, and the change is not merged yet.
- Dark mode support.
- The UI now looks modern and beautiful, the user/dev experience is improved significantly.
- The landing page and documentation are now one application.
- The PDF generation is integrate into the build process. PDFs are also available in both Dark and Light modes.
Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "PDavid (via GitHub)" <gi...@apache.org>.
PDavid commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3926659269
For testing this I published the website with this new documentation to our staging website at: https://hbase-beta.staged.apache.org/docs/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "yuriipalam (via GitHub)" <gi...@apache.org>.
yuriipalam commented on code in PR #7722:
URL: https://github.com/apache/hbase/pull/7722#discussion_r2817932475
##########
README.md:
##########
Review Comment:
Oops, restored it. Thanks @PDavid
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "ndimiduk (via GitHub)" <gi...@apache.org>.
ndimiduk commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3958078143
You might be able to test it by ingesting this new logic into a function override in our personality file. It'll take a bit of bash monkey-patching. Let me see if i can jurry-rig something.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "PDavid (via GitHub)" <gi...@apache.org>.
PDavid commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3951463663
Hi @ndimiduk and @Apache9,
It seems squashing the commits did not helped, the Yetus PR build still fails and summary is not generated. Probably this is because of the very large change-set size? I think it happened in https://github.com/apache/hbase/pull/7419.
Do you maybe know how to overcome this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "PDavid (via GitHub)" <gi...@apache.org>.
PDavid commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3919789715
Can you please look into if these can be fixed?
```
$ mvn clean install -DskipTests && mvn site -pl hbase-website
...
[INFO] 15 vulnerabilities (1 low, 13 moderate, 1 high)
[INFO]
[INFO] To address issues that do not require attention, run:
[INFO] npm audit fix
[INFO]
[INFO] To address all issues (including breaking changes), run:
[INFO] npm audit fix --force
[INFO]
[INFO] Run `npm audit` for details.
...
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "ndimiduk (via GitHub)" <gi...@apache.org>.
ndimiduk commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3884096156
Heya @yuriipalam can you try squishing down your commit history. I've seen Yetus have trouble when there's too many commits. But, I'm 90% sure that these failures were due to a transient failure in the github API... I've been seeing the fail unicorn a lot lately. Anyway, give that a try, hopefully at least the general check will run. Thank boss!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "PDavid (via GitHub)" <gi...@apache.org>.
PDavid commented on code in PR #7722:
URL: https://github.com/apache/hbase/pull/7722#discussion_r2786426829
##########
README.md:
##########
Review Comment:
Can I ask why the top-level README was deleted? I guess we should restore it?
##########
pom.xml:
##########
@@ -2430,7 +2399,7 @@
HBase requires at least version ${maven.min.version} of Maven to properly build from source.
You appear to be using an older version. You can use either "mvn -version" or
"mvn enforcer:display-info" to verify what version is active.
- See the reference guide on building for more information: https://hbase.apache.org/book.html#build</message>
+ See the documentation for more information: https://hbase.apache.org/docs/</message>
Review Comment:
Can we maybe link to the relevant chapter here? e.g.
https://hbase-landing.vercel.app/docs/building-and-developing/building
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "PDavid (via GitHub)" <gi...@apache.org>.
PDavid commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3926280794
Many thanks Yurii for the improvements. :+1:
When I build the website (`mvn clean install -DskipTests && mvn site -DskipTests -pl hbase-website`) these playwright e2e tests seems to be flaky - sometimes they fails, sometimes they are successful (The PDF-s are generated though successfully):
```
[INFO] > test:e2e
[INFO] > playwright test
[INFO]
[INFO]
[INFO] Running 105 tests using 10 workers
1) [chromium] › e2e-tests/docs.spec.ts:113:3 › Documentation Page - Search Functionality › can open search dialog by clicking button
[INFO]
[INFO] Error: expect(locator).toBeVisible() failed
[INFO]
[INFO] Locator: getByRole('dialog', { name: /Search/i })
[INFO] Expected: visible
[INFO] Timeout: 5000ms
[INFO] Error: element(s) not found
[INFO]
[INFO] Call log:
[INFO] - Expect "toBeVisible" with timeout 5000ms
[INFO] - waiting for getByRole('dialog', { name: /Search/i })
[INFO]
[INFO]
[INFO] 124 | // Verify dialog opened
[INFO] 125 | const searchDialog = page.getByRole("dialog", { name: /Search/i });
[INFO] > 126 | await expect(searchDialog).toBeVisible();
[INFO] | ^
[INFO] 127 | });
[INFO] 128 |
[INFO] 129 | test("can type in search input", async ({ page }) => {
[INFO] at /home/david/projects/upstream/hbase/hbase-website/e2e-tests/docs.spec.ts:126:32
[INFO]
[INFO] Error Context: test-results/docs-Documentation-Page----2120c-h-dialog-by-clicking-button-chromium/error-context.md
[INFO]
2) [chromium] › e2e-tests/docs.spec.ts:129:3 › Documentation Page - Search Functionality › can type in search input
[INFO]
[INFO] Error: expect(locator).toBeVisible() failed
[INFO]
[INFO] Locator: getByRole('textbox', { name: /Search/i })
[INFO] Expected: visible
[INFO] Timeout: 5000ms
[INFO] Error: element(s) not found
[INFO]
[INFO] Call log:
[INFO] - Expect "toBeVisible" with timeout 5000ms
[INFO] - waiting for getByRole('textbox', { name: /Search/i })
[INFO]
[INFO]
[INFO] 138 | // Find and type in search input
[INFO] 139 | const searchInput = page.getByRole("textbox", { name: /Search/i });
[INFO] > 140 | await expect(searchInput).toBeVisible();
[INFO] | ^
[INFO] 141 |
[INFO] 142 | await searchInput.fill("configuration");
[INFO] 143 | await expect(searchInput).toHaveValue("configuration");
[INFO] at /home/david/projects/upstream/hbase/hbase-website/e2e-tests/docs.spec.ts:140:31
[INFO]
[INFO] Error Context: test-results/docs-Documentation-Page----ec9a6-ty-can-type-in-search-input-chromium/error-context.md
[INFO]
3) [chromium] › e2e-tests/docs.spec.ts:146:3 › Documentation Page - Search Functionality › can close search with ESC key
[INFO]
[INFO] Error: expect(locator).toBeVisible() failed
[INFO]
...
[INFO] ✅ All PDF exports validated successfully!
Light: 921 pages
Dark: 921 pages
3 failed
[INFO] [chromium] › e2e-tests/docs.spec.ts:113:3 › Documentation Page - Search Functionality › can open search dialog by clicking button
[INFO] [chromium] › e2e-tests/docs.spec.ts:129:3 › Documentation Page - Search Functionality › can type in search input
[INFO] [chromium] › e2e-tests/docs.spec.ts:146:3 › Documentation Page - Search Functionality › can close search with ESC key
[INFO] 2 skipped
[INFO] 100 passed (2.4m)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:44 min
[INFO] Finished at: 2026-02-19T11:21:21+01:00
[INFO] ------------------------------------------------------------------------
```
Is there a way to skip the tests in the hbase-website build? Adding `-DskipTests` does not seems to do that. :thinking:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "yuriipalam (via GitHub)" <gi...@apache.org>.
yuriipalam commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3921247194
> Can you please look into if these can be fixed?
>
> ```
> $ mvn clean install -DskipTests && mvn site -pl hbase-website
>
> ...
>
> [INFO] 15 vulnerabilities (1 low, 13 moderate, 1 high)
> [INFO]
> [INFO] To address issues that do not require attention, run:
> [INFO] npm audit fix
> [INFO]
> [INFO] To address all issues (including breaking changes), run:
> [INFO] npm audit fix --force
> [INFO]
> [INFO] Run `npm audit` for details.
>
> ...
> ```
I looked and seems like at the moment they can't be. These are new and packages that rely on these packages didn't release a newer fix version yet. We should check in a few days. Nevertheless, we're not really affected by that. We just return static assets and do not accept any input from the user. Theoretically, we could have just put the whole website on CDN because it has no server behind. So no worries :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "ndimiduk (via GitHub)" <gi...@apache.org>.
ndimiduk commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3952924773
> Hi @ndimiduk and @Apache9, It seems squashing the commits did not helped, the Yetus PR build still fails and summary is not generated. Probably this is because of the very large change-set size? I think it happened in #7419. Do you maybe know how to overcome this?
```
{
"message": "Sorry, the diff exceeded the maximum number of files (300). Consider using 'List pull requests files' API or locally cloning the repository instead.",
"errors": [{"resource": "PullRequest", "field": "diff", "code": "too_large"}],
"status": "406"
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "ndimiduk (via GitHub)" <gi...@apache.org>.
ndimiduk commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3986277709
Looks like we need to update the jenkins job: https://ci-hbase.apache.org/job/hbase_generate_website/907/console
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "PDavid (via GitHub)" <gi...@apache.org>.
PDavid commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3983223132
> Done @PDavid The file is generated based on `hbase-defautls.xml`, so no need to modify resolve any conflicts.
I see, many thanks Yurii. :+1: In the meantime I merged some dependabot dependency update PR-s so now there is a conflicts again, just in hbase-website/package-lock.json.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "PDavid (via GitHub)" <gi...@apache.org>.
PDavid commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3983558990
Many thanks Yurii. :+1:
I executed a build locally as Yetus PR build is not able to handle this huge changeset and the build is successful. The built website and the docs are looking good.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "PDavid (via GitHub)" <gi...@apache.org>.
PDavid merged PR #7722:
URL: https://github.com/apache/hbase/pull/7722
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "Jaehui-Lee (via GitHub)" <gi...@apache.org>.
Jaehui-Lee commented on code in PR #7722:
URL: https://github.com/apache/hbase/pull/7722#discussion_r2791449230
##########
hbase-website/scripts/extract-hbase-config.js:
##########
@@ -0,0 +1,222 @@
+#!/usr/bin/env node
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import fs from 'fs';
+import path from 'path';
+import { fileURLToPath } from 'url';
+
+/**
+ * Extracts a field value from a property XML block
+ * @param {string} block - The XML block containing property information
+ * @param {string} fieldName - The name of the field to extract
+ * @returns {string} The field value or empty string if not present
+ */
+export function extractField(block, fieldName) {
+ const fieldRegex = new RegExp(`<${fieldName}>(.*?)<\/${fieldName}>`, 's');
+ const fieldMatch = block.match(fieldRegex);
+ return fieldMatch ? fieldMatch[1].trim() : '';
+}
+
+/**
+ * Checks if a property block has skipInDoc attribute set to true
+ * @param {string} block - The full property XML block including the opening tag
+ * @returns {boolean} True if the property should be skipped
+ */
+export function shouldSkipProperty(block) {
+ return /skipInDoc\s*=\s*["']true["']/.test(block);
+}
+
+/**
+ * Parses properties from hbase-default.xml content
+ * @param {string} xmlContent - The content of the hbase-default.xml file
+ * @returns {Array<Object>} Array of property objects
+ */
+export function parseProperties(xmlContent) {
Review Comment:
nit: hbase-default.md has a duplicate entry for `hbase.zookeeper.property.initLimit`. This is because `parseProperties()` also picks up the example <property> block inside an XML comment in hbase-default.xml. How about stripping comments before parsing?
##########
hbase-website/app/pages/_docs/docs/index.tsx:
##########
@@ -0,0 +1,301 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+import { docs } from "@/.source";
+import { toClientRenderer } from "fumadocs-mdx/runtime/vite";
+import { DocsLayout } from "@/components/docs/layout/docs";
+import {
+ DocsBody as FumaDocsBody,
+ DocsDescription as FumaDocsDescription,
+ DocsPage as FumaDocsPage,
+ DocsTitle as FumaDocsTitle
+} from "@/components/docs/layout/docs/page";
+import defaultMdxComponents from "fumadocs-ui/mdx";
Review Comment:
nit: A link icon appears on heading hover, but it's not clickable since it disappears when moving the cursor toward it. It might be better to just hide it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "ndimiduk (via GitHub)" <gi...@apache.org>.
ndimiduk commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3986288111
Chasing the logs is a real chore. I think this is what you need:
https://ci-hbase.apache.org/job/hbase_generate_website/907/artifact/hbase-install-log-8021eedabba65e23b3fe2f39a3520bac4429892e.txt
```
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:37 min
[INFO] Finished at: 2026-03-02T14:42:47Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:xml-maven-plugin:1.2.1:transform (modify-archetype-pom-files-via-xslt) on project hbase-archetype-builder: The directory /home/jenkins/70ad3735/workspace/hbase_generate_website/hbase/hbase-archetypes/hbase-archetype-builder/../hbase-client-project/target/temp-arch, which is a base directory of a ValidationSet or TransformationSet, does not exist. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:xml-maven-plugin:1.2.1:transform (modify-archetype-pom-files-via-xslt) on project hbase-archetype-builder: The directory /home/jenkins/70ad3735/workspace/hbase_generate_website/hbase/hbase-archetypes/hbase-archetype-builder/../hbase-client-project/target/temp-arch, which is a base directory of a ValidationSet or TransformationSet, does not exist.
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:569)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: org.apache.maven.plugin.MojoExecutionException: The directory /home/jenkins/70ad3735/workspace/hbase_generate_website/hbase/hbase-archetypes/hbase-archetype-builder/../hbase-client-project/target/temp-arch, which is a base directory of a ValidationSet or TransformationSet, does not exist.
at org.codehaus.mojo.xml.AbstractXmlMojo.getFileNames (AbstractXmlMojo.java:222)
at org.codehaus.mojo.xml.TransformMojo.transform (TransformMojo.java:374)
at org.codehaus.mojo.xml.TransformMojo.execute (TransformMojo.java:521)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:569)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "ndimiduk (via GitHub)" <gi...@apache.org>.
ndimiduk commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3958070629
Maybe a fix? I don't have a great system for testing this... https://github.com/apache/yetus/pull/365
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "PDavid (via GitHub)" <gi...@apache.org>.
PDavid commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3921349122
It seems even though you squashed your commits - now we don't have too many commits - Yetus PR build still fails - summary is not generated. Probably this is because of the very large change-set size.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "yuriipalam (via GitHub)" <gi...@apache.org>.
yuriipalam commented on code in PR #7722:
URL: https://github.com/apache/hbase/pull/7722#discussion_r2817931416
##########
hbase-website/app/pages/_docs/docs/index.tsx:
##########
@@ -0,0 +1,301 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+import { docs } from "@/.source";
+import { toClientRenderer } from "fumadocs-mdx/runtime/vite";
+import { DocsLayout } from "@/components/docs/layout/docs";
+import {
+ DocsBody as FumaDocsBody,
+ DocsDescription as FumaDocsDescription,
+ DocsPage as FumaDocsPage,
+ DocsTitle as FumaDocsTitle
+} from "@/components/docs/layout/docs/page";
+import defaultMdxComponents from "fumadocs-ui/mdx";
Review Comment:
That's by the framework design. I think there is a UX reason behind this
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "yuriipalam (via GitHub)" <gi...@apache.org>.
yuriipalam commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3915728298
@ndimiduk thanks, done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "yuriipalam (via GitHub)" <gi...@apache.org>.
yuriipalam commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3983397799
> I see, many thanks Yurii. 👍 In the meantime I merged some dependabot dependency update PR-s so now there is a conflicts again, just in hbase-website/package-lock.json.
Done @PDavid
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "PDavid (via GitHub)" <gi...@apache.org>.
PDavid commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3989274529
> Chasing the logs is a real chore. I think this is what you need:
>
> https://ci-hbase.apache.org/job/hbase_generate_website/907/artifact/hbase-install-log-8021eedabba65e23b3fe2f39a3520bac4429892e.txt
>
> ```
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 08:37 min
> [INFO] Finished at: 2026-03-02T14:42:47Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:xml-maven-plugin:1.2.1:transform (modify-archetype-pom-files-via-xslt) on project hbase-archetype-builder: The directory /home/jenkins/70ad3735/workspace/hbase_generate_website/hbase/hbase-archetypes/hbase-archetype-builder/../hbase-client-project/target/temp-arch, which is a base directory of a ValidationSet or TransformationSet, does not exist. -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:xml-maven-plugin:1.2.1:transform (modify-archetype-pom-files-via-xslt) on project hbase-archetype-builder: The directory /home/jenkins/70ad3735/workspace/hbase_generate_website/hbase/hbase-archetypes/hbase-archetype-builder/../hbase-client-project/target/temp-arch, which is a base directory of a ValidationSet or TransformationSet, does not exist.
> at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
> at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
> at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
> at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
> at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
> at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
> at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:569)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
> Caused by: org.apache.maven.plugin.MojoExecutionException: The directory /home/jenkins/70ad3735/workspace/hbase_generate_website/hbase/hbase-archetypes/hbase-archetype-builder/../hbase-client-project/target/temp-arch, which is a base directory of a ValidationSet or TransformationSet, does not exist.
> at org.codehaus.mojo.xml.AbstractXmlMojo.getFileNames (AbstractXmlMojo.java:222)
> at org.codehaus.mojo.xml.TransformMojo.transform (TransformMojo.java:374)
> at org.codehaus.mojo.xml.TransformMojo.execute (TransformMojo.java:521)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
> at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
> at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
> at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
> at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
> at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
> at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
> at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:569)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
> ```
Many thanks @ndimiduk. :+1: I pushed a fixing addendum commit to master which fixes the Maven build error: https://github.com/apache/hbase/commit/7fcd7c1045dbdc9cb70c00f691241b67416274fb
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "liuxiaocs7 (via GitHub)" <gi...@apache.org>.
liuxiaocs7 commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3984761798
Thanks @yuriipalam and @PDavid for the great work!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "ndimiduk (via GitHub)" <gi...@apache.org>.
ndimiduk commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3952946398
Looks like yetus naively assumes that it can fetch a patch file. I'm afraid we need a patch to yetus. https://issues.apache.org/jira/browse/YETUS-1263
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "yuriipalam (via GitHub)" <gi...@apache.org>.
yuriipalam commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3926373541
> It seems even though you squashed your commits - now we don't have too many commits - Yetus PR build still fails - summary is not generated. Probably this is because of the very large change-set size.
Sure, but what can we do about it?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] HBASE-29878 Improve the Documentation UI [hbase]
Posted by "yuriipalam (via GitHub)" <gi...@apache.org>.
yuriipalam commented on PR #7722:
URL: https://github.com/apache/hbase/pull/7722#issuecomment-3926375868
> Is there a way to skip the tests in the hbase-website build? Adding -DskipTests does not seems to do that. 🤔
I can add that
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org