Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HBASE-24271 Set values in conf/hbase-site.xml that enable running on LocalFileSystem out of the box #1597

Conversation

ndimiduk
Copy link
Member

Simplify the new user experience shipping a configuration that enables
a fresh checkout or tarball distribution to run in standalone mode
without direct user configuration. This change restores the behavior
we had when running on Hadoop 2.8 and earlier.

Patch for master includes an update to the book. This change will be
omitted when backporting to earlier branches.

@ndimiduk
Copy link
Member Author

I tried to include everyone who brought opinions to the previous PRs, Jiras, and dev thread.

@ndimiduk ndimiduk force-pushed the 24271-update-hbase-site.xml-for-LocalFileSystem branch from 9797287 to 5f7bd77 Compare April 27, 2020 20:49
Copy link
Member

@joshelser joshelser left a comment

Choose a reason for hiding this comment

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

I'm surprised to not see the switch to change file:// to refer to RawLocalFileSystem instead of LocalFileSystem here. I assume that means that the system generally works OK? My memory is that doing WAL replay will cause trouble w/o RawLocalFS.

If you're just laying groundwork, that's also fine.

conf/hbase-site.xml Show resolved Hide resolved
Copy link
Contributor

@saintstack saintstack left a comment

Choose a reason for hiding this comment

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

Nits. See below. Appreciate the edit on startup section.

conf/hbase-site.xml Show resolved Hide resolved
final boolean value = false;
LOG.warn("Cannot enforce durability guarantees while running on {}. Setting {}={} for"
+ " this FileSystem.", fs.getUri(), UNSAFE_STREAM_CAPABILITY_ENFORCE, value);
fs.getConf().setBoolean(UNSAFE_STREAM_CAPABILITY_ENFORCE, value);
Copy link
Contributor

Choose a reason for hiding this comment

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

Hurray

@@ -426,7 +386,7 @@ You can stop HBase the same way as in the <<quickstart,quickstart>> procedure, u


[[quickstart_fully_distributed]]
=== Advanced - Fully Distributed
=== Fully Distributed for Production
Copy link
Contributor

Choose a reason for hiding this comment

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

Good

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 8m 20s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 32s Maven dependency ordering for branch
+1 💚 mvninstall 4m 7s master passed
+1 💚 checkstyle 2m 23s master passed
+0 🆗 refguide 5m 25s branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚 spotbugs 11m 41s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
+1 💚 mvninstall 3m 44s the patch passed
-0 ⚠️ checkstyle 2m 32s root: The patch generated 2 new + 2 unchanged - 0 fixed = 4 total (was 2)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 1s The patch has no ill-formed XML file.
+0 🆗 refguide 6m 14s patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚 hadoopcheck 13m 29s Patch does not cause any errors with Hadoop 3.1.2 3.2.1.
+1 💚 spotbugs 12m 29s the patch passed
_ Other Tests _
+1 💚 asflicense 0m 28s The patch does not generate ASF License warnings.
80m 43s
Subsystem Report/Notes
Docker Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #1597
Optional Tests dupname asflicense xml spotbugs hadoopcheck hbaseanti checkstyle refguide
uname Linux 83567a791fd6 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 6eb5caf
refguide https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/1/artifact/yetus-general-check/output/branch-site/book.html
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/1/artifact/yetus-general-check/output/diff-checkstyle-root.txt
refguide https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/1/artifact/yetus-general-check/output/patch-site/book.html
Max. process+thread count 122 (vs. ulimit of 12500)
modules C: hbase-common . U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/1/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@ndimiduk
Copy link
Member Author

I'm surprised to not see the switch to change file:// to refer to RawLocalFileSystem instead of LocalFileSystem here. I assume that means that the system generally works OK? My memory is that doing WAL replay will cause trouble w/o RawLocalFS.

If you're just laying groundwork, that's also fine.

Nope, not touching any of that. I have no intention of making a LocalFileSystem or friend that's "safe for production". All I'm trying to do is get an out-of-the-box experience that's not wretched, and behaves roughly as friendly as it used to be on hadoop2.8.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 6m 40s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 31s Maven dependency ordering for branch
+1 💚 mvninstall 4m 36s master passed
+1 💚 compile 3m 2s master passed
+1 💚 shadedjars 5m 44s branch has no errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 16s hbase-common in master failed.
-0 ⚠️ javadoc 0m 17s root in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
+1 💚 mvninstall 4m 19s the patch passed
+1 💚 compile 2m 58s the patch passed
+1 💚 javac 2m 58s the patch passed
+1 💚 shadedjars 5m 44s patch has no errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 15s hbase-common in the patch failed.
-0 ⚠️ javadoc 0m 17s root in the patch failed.
_ Other Tests _
+1 💚 unit 221m 30s root in the patch passed.
258m 44s
Subsystem Report/Notes
Docker Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #1597
Optional Tests javac javadoc unit shadedjars compile
uname Linux 49a8f9f31603 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 6eb5caf
Default Java 2020-01-14
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-common.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-root.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-common.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-root.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/1/testReport/
Max. process+thread count 4773 (vs. ulimit of 12500)
modules C: hbase-common . U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/1/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 8m 19s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 32s Maven dependency ordering for branch
+1 💚 mvninstall 4m 6s master passed
+1 💚 compile 2m 35s master passed
+1 💚 shadedjars 5m 36s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 3m 24s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 12s Maven dependency ordering for patch
+1 💚 mvninstall 4m 2s the patch passed
+1 💚 compile 2m 53s the patch passed
+1 💚 javac 2m 53s the patch passed
+1 💚 shadedjars 5m 37s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 31s the patch passed
_ Other Tests _
+1 💚 unit 349m 38s root in the patch passed.
392m 10s
Subsystem Report/Notes
Docker Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #1597
Optional Tests javac javadoc unit shadedjars compile
uname Linux 2903593e6f4c 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 6eb5caf
Default Java 1.8.0_232
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/1/testReport/
Max. process+thread count 4998 (vs. ulimit of 12500)
modules C: hbase-common . U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/1/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 24s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 34s Maven dependency ordering for branch
+1 💚 mvninstall 3m 31s master passed
+1 💚 checkstyle 1m 59s master passed
+0 🆗 refguide 4m 50s branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚 spotbugs 8m 57s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
+1 💚 mvninstall 3m 17s the patch passed
-0 ⚠️ checkstyle 1m 58s root: The patch generated 2 new + 2 unchanged - 0 fixed = 4 total (was 2)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 1s The patch has no ill-formed XML file.
+0 🆗 refguide 4m 53s patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚 hadoopcheck 11m 8s Patch does not cause any errors with Hadoop 3.1.2 3.2.1.
+1 💚 spotbugs 9m 19s the patch passed
_ Other Tests _
+1 💚 asflicense 0m 29s The patch does not generate ASF License warnings.
60m 1s
Subsystem Report/Notes
Docker Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #1597
Optional Tests dupname asflicense xml spotbugs hadoopcheck hbaseanti checkstyle refguide
uname Linux c42adf1e15ac 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 6eb5caf
refguide https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/2/artifact/yetus-general-check/output/branch-site/book.html
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/2/artifact/yetus-general-check/output/diff-checkstyle-root.txt
refguide https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/2/artifact/yetus-general-check/output/patch-site/book.html
Max. process+thread count 137 (vs. ulimit of 12500)
modules C: hbase-common . U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/2/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 2m 46s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 33s Maven dependency ordering for branch
+1 💚 mvninstall 5m 9s master passed
+1 💚 compile 3m 17s master passed
+1 💚 shadedjars 6m 19s branch has no errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 20s hbase-common in master failed.
-0 ⚠️ javadoc 0m 17s root in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
+1 💚 mvninstall 4m 57s the patch passed
+1 💚 compile 3m 9s the patch passed
+1 💚 javac 3m 9s the patch passed
+1 💚 shadedjars 6m 2s patch has no errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 16s hbase-common in the patch failed.
-0 ⚠️ javadoc 0m 19s root in the patch failed.
_ Other Tests _
+1 💚 unit 240m 16s root in the patch passed.
276m 36s
Subsystem Report/Notes
Docker Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #1597
Optional Tests javac javadoc unit shadedjars compile
uname Linux 2719a356dedd 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 6eb5caf
Default Java 2020-01-14
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/2/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-common.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/2/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-root.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/2/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-common.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/2/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-root.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/2/testReport/
Max. process+thread count 5134 (vs. ulimit of 12500)
modules C: hbase-common . U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/2/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 24s Docker mode activated.
-0 ⚠️ yetus 0m 2s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 31s Maven dependency ordering for branch
+1 💚 mvninstall 3m 51s master passed
+1 💚 compile 2m 26s master passed
+1 💚 shadedjars 5m 24s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 24s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
+1 💚 mvninstall 3m 34s the patch passed
+1 💚 compile 2m 25s the patch passed
+1 💚 javac 2m 25s the patch passed
+1 💚 shadedjars 5m 29s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 24s the patch passed
_ Other Tests _
+1 💚 unit 340m 14s root in the patch passed.
371m 28s
Subsystem Report/Notes
Docker Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/2/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #1597
Optional Tests javac javadoc unit shadedjars compile
uname Linux 447dcae8cc7f 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 6eb5caf
Default Java 1.8.0_232
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/2/testReport/
Max. process+thread count 4812 (vs. ulimit of 12500)
modules C: hbase-common . U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/2/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Copy link
Member Author

@ndimiduk ndimiduk left a comment

Choose a reason for hiding this comment

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

Will make the above change, and restore all the cleanup you guys liked from the reverted commits.

conf/hbase-site.xml Show resolved Hide resolved
-->
<property>
<name>hbase.tmp.dir</name>
<value>./tmp</value>
Copy link
Member Author

Choose a reason for hiding this comment

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

Hadoop Configuration supports environment variables. Let me make this even my explicit by changing this value to ${env.HBASE_HOME:-.}/tmp.

@ndimiduk ndimiduk force-pushed the 24271-update-hbase-site.xml-for-LocalFileSystem branch from 5f7bd77 to 69a9386 Compare April 29, 2020 19:47
@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 29s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 32s Maven dependency ordering for branch
+1 💚 mvninstall 3m 27s master passed
+1 💚 checkstyle 1m 59s master passed
+0 🆗 refguide 4m 49s branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚 spotbugs 8m 56s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
+1 💚 mvninstall 3m 19s the patch passed
-0 ⚠️ checkstyle 1m 59s root: The patch generated 2 new + 2 unchanged - 0 fixed = 4 total (was 2)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 1s The patch has no ill-formed XML file.
+0 🆗 refguide 4m 42s patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚 hadoopcheck 11m 1s Patch does not cause any errors with Hadoop 3.1.2 3.2.1.
+1 💚 spotbugs 9m 25s the patch passed
_ Other Tests _
+1 💚 asflicense 0m 28s The patch does not generate ASF License warnings.
58m 53s
Subsystem Report/Notes
Docker Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #1597
Optional Tests dupname asflicense xml spotbugs hadoopcheck hbaseanti checkstyle refguide
uname Linux b734d6a8c0fc 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 9cff7a4
refguide https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/3/artifact/yetus-general-check/output/branch-site/book.html
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/3/artifact/yetus-general-check/output/diff-checkstyle-root.txt
refguide https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/3/artifact/yetus-general-check/output/patch-site/book.html
Max. process+thread count 137 (vs. ulimit of 12500)
modules C: hbase-common . U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/3/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 4s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 23s Maven dependency ordering for branch
+1 💚 mvninstall 4m 25s master passed
+1 💚 compile 2m 56s master passed
+1 💚 shadedjars 5m 35s branch has no errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 16s hbase-common in master failed.
-0 ⚠️ javadoc 0m 16s root in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
+1 💚 mvninstall 4m 21s the patch passed
+1 💚 compile 2m 56s the patch passed
+1 💚 javac 2m 56s the patch passed
+1 💚 shadedjars 5m 37s patch has no errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 15s hbase-common in the patch failed.
-0 ⚠️ javadoc 0m 16s root in the patch failed.
_ Other Tests _
+1 💚 unit 243m 18s root in the patch passed.
274m 29s
Subsystem Report/Notes
Docker Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/3/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #1597
Optional Tests javac javadoc unit shadedjars compile
uname Linux 6521f38eec62 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 9cff7a4
Default Java 2020-01-14
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/3/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-common.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/3/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-root.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/3/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-common.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/3/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-root.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/3/testReport/
Max. process+thread count 5147 (vs. ulimit of 12500)
modules C: hbase-common . U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/3/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 28s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 35s Maven dependency ordering for branch
+1 💚 mvninstall 3m 50s master passed
+1 💚 compile 2m 26s master passed
+1 💚 shadedjars 5m 18s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 20s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
+1 💚 mvninstall 3m 38s the patch passed
+1 💚 compile 2m 23s the patch passed
+1 💚 javac 2m 23s the patch passed
+1 💚 shadedjars 5m 21s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 20s the patch passed
_ Other Tests _
+1 💚 unit 334m 31s root in the patch passed.
365m 26s
Subsystem Report/Notes
Docker Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/3/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #1597
Optional Tests javac javadoc unit shadedjars compile
uname Linux ebaa9ae05121 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 9cff7a4
Default Java 1.8.0_232
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/3/testReport/
Max. process+thread count 4909 (vs. ulimit of 12500)
modules C: hbase-common . U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/3/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@ndimiduk
Copy link
Member Author

@joshelser @busbey other thoughts here?

Copy link
Member

@joshelser joshelser left a comment

Choose a reason for hiding this comment

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

You're doing good work :)

I think the natural progression is to keep pulling on this thread. With LocalFileSystem, things will assuredly be finicky around stop/start of RegionServers (especially by our tests) with the lack of that hflush. I understand if that's not your goal now, but it sounds like it could be a big win to try to flip some tests over and run with less overhead (from minidfscluster). If not you, someone else we can convince, maybe :)

Copy link
Contributor

@busbey busbey left a comment

Choose a reason for hiding this comment

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

I am not willing to veto this change. I agree that it is an improvement to ship configuration settings that get this behavior rather than hard code a change when we see LocalFileSystem.

@@ -426,7 +386,7 @@ You can stop HBase the same way as in the <<quickstart,quickstart>> procedure, u


[[quickstart_fully_distributed]]
=== Advanced - Fully Distributed
=== Fully Distributed for Production

In reality, you need a fully-distributed configuration to fully test HBase and to use it in real-world scenarios.
In a distributed configuration, the cluster contains multiple nodes, each of which runs one or more HBase daemon.
Copy link
Contributor

Choose a reason for hiding this comment

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

We should make clear in this paragraph that this quickstart covers a necessary but not sufficient topic for a system that is "production ready."

Just to be clear that we are only explaining how to get a distributed HBase on top of a distributed filesystem and there exist other topics that need to be considered for a production deployment. Folks should still read through the section "The Important Configurations" and should ensure they have monitoring of metrics and log aggregation, for example.

Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe drop my addition of "for Production" then? I thought it odd that our default operating configuration was flagged as "advanced". I agree there's more to a production deploy than just these configs. However, I also don't think it's our job to be prescriptive of what a production deployment looks like, re: monitoring, metrics, log aggregation, &c. I think anything more than a paragraph or two of "recommended" or "strongly encouraged" supporting infrastructure is beyond the scope of our document.

@ndimiduk
Copy link
Member Author

ndimiduk commented May 4, 2020

I am not willing to veto this change. I agree that it is an improvement to ship configuration settings that get this behavior rather than hard code a change when we see LocalFileSystem.

Any further input re: what you would like to see for a +1 @busbey ? It sounds to me from your comment that there's a last mile that I'm missing. I'd rather put this to bed than need revisit it.

@ndimiduk ndimiduk force-pushed the 24271-update-hbase-site.xml-for-LocalFileSystem branch from 69a9386 to f825b91 Compare May 14, 2020 20:12
…n `LocalFileSystem` out of the box

Simplify the new user experience shipping a configuration that enables
a fresh checkout or tarball distribution to run in standalone mode
without direct user configuration. This change restores the behavior
we had when running on Hadoop 2.8 and earlier.

Patch for master includes an update to the book. This change will be
omitted when backporting to earlier branches.

Signed-off-by: stack <stack@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
@ndimiduk ndimiduk force-pushed the 24271-update-hbase-site.xml-for-LocalFileSystem branch from f825b91 to 9e8107b Compare May 14, 2020 20:17
@ndimiduk ndimiduk merged commit 7e295e7 into apache:master May 14, 2020
@ndimiduk ndimiduk deleted the 24271-update-hbase-site.xml-for-LocalFileSystem branch May 14, 2020 20:18
@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 30s Docker mode activated.
-0 ⚠️ yetus 0m 4s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 21s Maven dependency ordering for branch
+1 💚 mvninstall 4m 10s master passed
+1 💚 compile 2m 42s master passed
+1 💚 shadedjars 6m 13s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 41s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 14s Maven dependency ordering for patch
+1 💚 mvninstall 3m 57s the patch passed
+1 💚 compile 2m 39s the patch passed
+1 💚 javac 2m 39s the patch passed
+1 💚 shadedjars 6m 10s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 2m 37s the patch passed
_ Other Tests _
-1 ❌ unit 1m 33s root in the patch failed.
36m 1s
Subsystem Report/Notes
Docker Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/4/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #1597
Optional Tests javac javadoc unit shadedjars compile
uname Linux 5a13f011486c 4.15.0-91-generic #92-Ubuntu SMP Fri Feb 28 11:09:48 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 32e2682
Default Java 1.8.0_232
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/4/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/4/testReport/
Max. process+thread count 222 (vs. ulimit of 12500)
modules C: hbase-common . U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/4/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 9s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 20s Maven dependency ordering for branch
+1 💚 mvninstall 3m 54s master passed
+1 💚 checkstyle 2m 18s master passed
+0 🆗 refguide 5m 27s branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚 spotbugs 10m 18s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 12s Maven dependency ordering for patch
+1 💚 mvninstall 3m 41s the patch passed
-0 ⚠️ checkstyle 2m 15s root: The patch generated 2 new + 2 unchanged - 0 fixed = 4 total (was 2)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 1s The patch has no ill-formed XML file.
+0 🆗 refguide 5m 16s patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.
+1 💚 hadoopcheck 12m 15s Patch does not cause any errors with Hadoop 3.1.2 3.2.1.
+1 💚 spotbugs 10m 35s the patch passed
_ Other Tests _
+1 💚 asflicense 0m 24s The patch does not generate ASF License warnings.
66m 2s
Subsystem Report/Notes
Docker Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #1597
Optional Tests dupname asflicense xml spotbugs hadoopcheck hbaseanti checkstyle refguide
uname Linux dbd085944064 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 32e2682
refguide https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/4/artifact/yetus-general-check/output/branch-site/book.html
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/4/artifact/yetus-general-check/output/diff-checkstyle-root.txt
refguide https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/4/artifact/yetus-general-check/output/patch-site/book.html
Max. process+thread count 122 (vs. ulimit of 12500)
modules C: hbase-common . U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/4/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 31s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 20s Maven dependency ordering for branch
+1 💚 mvninstall 5m 4s master passed
+1 💚 compile 3m 13s master passed
+1 💚 shadedjars 6m 48s branch has no errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 17s root in master failed.
-0 ⚠️ javadoc 0m 19s hbase-common in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
+1 💚 mvninstall 4m 46s the patch passed
+1 💚 compile 3m 10s the patch passed
+1 💚 javac 3m 10s the patch passed
+1 💚 shadedjars 6m 46s patch has no errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 20s hbase-common in the patch failed.
-0 ⚠️ javadoc 0m 15s root in the patch failed.
_ Other Tests _
+1 💚 unit 236m 34s root in the patch passed.
271m 57s
Subsystem Report/Notes
Docker Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/4/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #1597
Optional Tests javac javadoc unit shadedjars compile
uname Linux 25883a3c10f2 4.15.0-91-generic #92-Ubuntu SMP Fri Feb 28 11:09:48 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 32e2682
Default Java 2020-01-14
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/4/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-root.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/4/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-common.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/4/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-common.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/4/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-root.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/4/testReport/
Max. process+thread count 4821 (vs. ulimit of 12500)
modules C: hbase-common . U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1597/4/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants