You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/asciidoc/_chapters/community.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,13 +37,13 @@ Just request the name of your branch be added to JIRA up on the developer's mail
37
37
Thereafter you can file issues against your feature branch in Apache HBase JIRA.
38
38
Your code you keep elsewhere -- it should be public so it can be observed -- and you can update dev mailing list on progress.
39
39
When the feature is ready for commit, 3 +1s from committers will get your feature merged.
40
-
See link:http://search-hadoop.com/m/asM982C5FkS1[HBase, mail # dev - Thoughts
40
+
See link:https://lists.apache.org/thread.html/200513c7e7e4df23c8b9134eeee009d61205c79314e77f222d396006%401346870308%40%3Cdev.hbase.apache.org%3E[HBase, mail # dev - Thoughts
41
41
about large feature dev branches]
42
42
43
43
[[hbase.fix.version.in.jira]]
44
44
.How to set fix version in JIRA on issue resolve
45
45
46
-
Here is how link:http://search-hadoop.com/m/azemIi5RCJ1[we agreed] to set versions in JIRA when we resolve an issue.
46
+
Here is how we agreed to set versions in JIRA when we resolve an issue.
47
47
If master is going to be 2.0.0, and branch-1 1.4.0 then:
48
48
49
49
* Commit only to master: Mark with 2.0.0
@@ -54,7 +54,7 @@ If master is going to be 2.0.0, and branch-1 1.4.0 then:
54
54
[[hbase.when.to.close.jira]]
55
55
.Policy on when to set a RESOLVED JIRA as CLOSED
56
56
57
-
We link:http://search-hadoop.com/m/4cIKs1iwXMS1[agreed] that for issues that list multiple releases in their _Fix Version/s_ field, CLOSE the issue on the release of any of the versions listed; subsequent change to the issue must happen in a new JIRA.
57
+
We agreed that for issues that list multiple releases in their _Fix Version/s_ field, CLOSE the issue on the release of any of the versions listed; subsequent change to the issue must happen in a new JIRA.
58
58
59
59
[[no.permanent.state.in.zk]]
60
60
.Only transient state in ZooKeeper!
@@ -105,7 +105,7 @@ NOTE: End-of-life releases are not included in this list.
105
105
[[hbase.commit.msg.format]]
106
106
== Commit Message format
107
107
108
-
We link:http://search-hadoop.com/m/Gwxwl10cFHa1[agreed] to the following Git commit message format:
108
+
We agreed to the following Git commit message format:
Copy file name to clipboardExpand all lines: src/main/asciidoc/_chapters/compression.adoc
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,8 +31,6 @@
31
31
NOTE: Codecs mentioned in this section are for encoding and decoding data blocks or row keys.
32
32
For information about replication codecs, see <<cluster.replication.preserving.tags,cluster.replication.preserving.tags>>.
33
33
34
-
Some of the information in this section is pulled from a link:http://search-hadoop.com/m/lL12B1PFVhp1/v=threaded[discussion] on the HBase Development mailing list.
35
-
36
34
HBase supports several different compression algorithms which can be enabled on a ColumnFamily.
37
35
Data block encoding attempts to limit duplication of information in keys, taking advantage of some of the fundamental designs and patterns of HBase, such as sorted row keys and the schema of a given table.
38
36
Compressors reduce the size of large, opaque byte arrays in cells, and can significantly reduce the storage space needed to store uncompressed data.
@@ -122,7 +120,7 @@ Prefix Tree::
122
120
123
121
The compression or codec type to use depends on the characteristics of your data. Choosing the wrong type could cause your data to take more space rather than less, and can have performance implications.
124
122
125
-
In general, you need to weigh your options between smaller size and faster compression/decompression. Following are some general guidelines, expanded from a discussion at link:http://search-hadoop.com/m/lL12B1PFVhp1[Documenting Guidance on compression and codecs].
123
+
In general, you need to weigh your options between smaller size and faster compression/decompression. Following are some general guidelines, expanded from a discussion at link:https://lists.apache.org/thread.html/481e67a61163efaaf4345510447a9244871a8d428244868345a155ff%401378926618%40%3Cdev.hbase.apache.org%3E[Documenting Guidance on compression and codecs].
126
124
127
125
* If you have long keys (compared to the values) or many columns, use a prefix encoder.
Copy file name to clipboardExpand all lines: src/main/asciidoc/_chapters/configuration.adoc
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -892,8 +892,12 @@ If your working set is such that block cache does you no good, at least size the
892
892
==== link:http://en.wikipedia.org/wiki/Nagle's_algorithm[Nagle's] or the small package problem
893
893
894
894
If a big 40ms or so occasional delay is seen in operations against HBase, try the Nagles' setting.
895
-
For example, see the user mailing list thread, link:http://search-hadoop.com/m/pduLg2fydtE/Inconsistent+scan+performance+with+caching+set+&subj=Re+Inconsistent+scan+performance+with+caching+set+to+1[Inconsistent scan performance with caching set to 1] and the issue cited therein where setting `notcpdelay` improved scan speeds.
896
-
You might also see the graphs on the tail of link:https://issues.apache.org/jira/browse/HBASE-7008[HBASE-7008 Set scanner caching to a better default] where our Lars Hofhansl tries various data sizes w/ Nagle's on and off measuring the effect.
895
+
For example, see the user mailing list thread,
896
+
link:https://lists.apache.org/thread.html/3d7ceb41c04a955b1b1c80480cdba95208ca3e97bf6895a40e0c1bbb%401346186127%40%3Cuser.hbase.apache.org%3E[Inconsistent scan performance with caching set to 1]
897
+
and the issue cited therein where setting `notcpdelay` improved scan speeds. You might also see the
898
+
graphs on the tail of
899
+
link:https://issues.apache.org/jira/browse/HBASE-7008[HBASE-7008 Set scanner caching to a better default]
900
+
where our Lars Hofhansl tries various data sizes w/ Nagle's on and off measuring the effect.
Copy file name to clipboardExpand all lines: src/main/asciidoc/_chapters/developer.adoc
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ Being familiar with these guidelines will help the HBase committers to use your
35
35
36
36
Apache HBase gets better only when people contribute! If you are looking to contribute to Apache HBase, look for link:https://issues.apache.org/jira/issues/?jql=project%20%3D%20HBASE%20AND%20labels%20in%20(beginner)%20AND%20status%20in%20(Open%2C%20%22In%20Progress%22%2C%20Reopened)[issues in JIRA tagged with the label 'beginner'].
37
37
These are issues HBase contributors have deemed worthy but not of immediate priority and a good way to ramp on HBase internals.
38
-
See link:http://search-hadoop.com/m/DHED43re96[What label
38
+
See link:https://lists.apache.org/thread.html/b122265f4e4054cf08f8cd38609fb06af72f398c44f9086b05ef4e21%401407246237%40%3Cdev.hbase.apache.org%3E[What label
39
39
is used for issues that are good on ramps for new contributors?] from the dev mailing list for background.
40
40
41
41
Before you get started submitting code to HBase, please refer to <<developing,developing>>.
@@ -873,7 +873,7 @@ requirements of the ASF policy on releases.
873
873
____
874
874
875
875
Regards the latter, run `mvn apache-rat:check` to verify all files are suitably licensed.
876
-
See link:http://search-hadoop.com/m/DHED4dhFaU[HBase, mail # dev - On recent discussion clarifying ASF release policy]
876
+
See link:https://mail-archives.apache.org/mod_mbox/hbase-dev/201406.mbox/%3CCA%2BRK%3D_B8EP0JMFV%2Bdt-k1g%3DBmedzyq2z1GSqrnMMiH6%3DcdoiAA%40mail.gmail.com%3E[HBase, mail # dev - On recent discussion clarifying ASF release policy]
877
877
for how we arrived at this process.
878
878
879
879
[[hbase.release.announcement]]
@@ -2290,10 +2290,8 @@ We've established the practice of committing to master and then cherry picking b
2290
2290
2291
2291
When there is a minor conflict we can fix it up and just proceed with the commit.
2292
2292
The resulting commit retains the original author.
2293
-
When the amending author is different from the original committer, add notice of this at the end of the commit message as: `Amending-Author: Author
2294
-
<committer&apache>` See discussion at link:http://search-hadoop.com/m/DHED4wHGYS[HBase, mail # dev
2295
-
- [DISCUSSION] Best practice when amending commits cherry picked
2296
-
from master to branch].
2293
+
When the amending author is different from the original committer, add notice of this at the end of the commit message as:
2294
+
`Amending-Author: Author <committer&apache>`. See discussion at link:https://lists.apache.org/thread.html/7f514da8b24785a4a64b9f023692ce1b345eba215e1f622820551ca1%401401821274%40%3Cdev.hbase.apache.org%3E[HBase, mail # dev - [DISCUSSION] Best practice when amending commits cherry picked from master to branch].
2297
2295
2298
2296
====== Close related GitHub PRs
2299
2297
@@ -2311,7 +2309,7 @@ A committer should.
2311
2309
[[git.patch.flow]]
2312
2310
====== Patching Etiquette
2313
2311
2314
-
In the thread link:http://search-hadoop.com/m/DHED4EiwOz[HBase, mail # dev - ANNOUNCEMENT: Git Migration In Progress (WAS =>
2312
+
In the thread link:https://lists.apache.org/thread.html/186fcd5eb71973a7b282ecdba41606d3d221efd505d533bb729e1fad%401400648690%40%3Cdev.hbase.apache.org%3E[HBase, mail # dev - ANNOUNCEMENT: Git Migration In Progress (WAS =>
2315
2313
Re: Git Migration)], it was agreed on the following patch flow
2316
2314
2317
2315
. Develop and commit the patch against master first.
@@ -2333,7 +2331,7 @@ However any substantive discussion (as with any off-list project-related discuss
2333
2331
2334
2332
==== Do not edit JIRA comments
2335
2333
2336
-
Misspellings and/or bad grammar is preferable to the disruption a JIRA comment edit causes: See the discussion at link:http://search-hadoop.com/?q=%5BReopened%5D+%28HBASE-451%29+Remove+HTableDescriptor+from+HRegionInfo&fc_project=HBase[Re:(HBASE-451) Remove HTableDescriptor from HRegionInfo]
2334
+
Misspellings and/or bad grammar is preferable to the disruption a JIRA comment edit causes.
2337
2335
2338
2336
[[thirdparty]]
2339
2337
=== The hbase-thirdparty dependency and shading/relocation
Copy file name to clipboardExpand all lines: src/main/asciidoc/_chapters/performance.adoc
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -593,7 +593,6 @@ See <<precreate.regions>>, as well as <<perf.configurations>>
593
593
== Reading from HBase
594
594
595
595
The mailing list can help if you are having performance issues.
596
-
For example, here is a good general thread on what to look at addressing read-time issues: link:http://search-hadoop.com/m/qOo2yyHtCC1[HBase Random Read latency > 100ms]
597
596
598
597
[[perf.hbase.client.caching]]
599
598
=== Scan Caching
@@ -844,7 +843,7 @@ See the link:https://issues.apache.org/jira/browse/HDFS-1599[Umbrella Jira Ticke
844
843
Since Hadoop 1.0.0 (also 0.22.1, 0.23.1, CDH3u3 and HDP 1.0) via link:https://issues.apache.org/jira/browse/HDFS-2246[HDFS-2246], it is possible for the DFSClient to take a "short circuit" and read directly from the disk instead of going through the DataNode when the data is local.
845
844
What this means for HBase is that the RegionServers can read directly off their machine's disks instead of having to open a socket to talk to the DataNode, the former being generally much faster.
846
845
See JD's link:http://files.meetup.com/1350427/hug_ebay_jdcryans.pdf[Performance Talk].
847
-
Also see link:http://search-hadoop.com/m/zV6dKrLCVh1[HBase, mail # dev - read short circuit] thread for more discussion around short circuit reads.
846
+
Also see link:https://lists.apache.org/thread.html/ce2ce3a3bbd20806d0c017b2e7528e78a46ccb87c063831db051949d%401347548325%40%3Cdev.hbase.apache.org%3E[HBase, mail # dev - read short circuit] thread for more discussion around short circuit reads.
848
847
849
848
To enable "short circuit" reads, it will depend on your version of Hadoop.
850
849
The original shortcircuit read patch was much improved upon in Hadoop 2 in link:https://issues.apache.org/jira/browse/HDFS-347[HDFS-347].
Copy file name to clipboardExpand all lines: src/main/asciidoc/_chapters/schema_design.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -250,7 +250,7 @@ If your rows and column names are large, especially compared to the size of the
250
250
One such is the case described by Marc Limotte at the tail of link:https://issues.apache.org/jira/browse/HBASE-3551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005272#comment-13005272[HBASE-3551] (recommended!). Therein, the indices that are kept on HBase storefiles (<<hfile>>) to facilitate random access may end up occupying large chunks of the HBase allotted RAM because the cell value coordinates are large.
251
251
Mark in the above cited comment suggests upping the block size so entries in the store file index happen at a larger interval or modify the table schema so it makes for smaller rows and column names.
252
252
Compression will also make for larger indices.
253
-
See the thread link:http://search-hadoop.com/m/hemBv1LiN4Q1/a+question+storefileIndexSize&subj=a+question+storefileIndexSize[a question storefileIndexSize] up on the user mailing list.
253
+
See the thread link:https://lists.apache.org/thread.html/b158eae5d8888d3530be378298bca90c17f80982fdcdfa01d0844c3d%401306240189%40%3Cuser.hbase.apache.org%3E[a question storefileIndexSize] up on the user mailing list.
254
254
255
255
Most of the time small inefficiencies don't matter all that much. Unfortunately, this is a case where they do.
256
256
Whatever patterns are selected for ColumnFamilies, attributes, and rowkeys they could be repeated several billion times in your data.
@@ -639,7 +639,7 @@ However, HBase scales better at larger data volumes, so this is a feature trade-
639
639
640
640
Pay attention to <<performance>> when implementing any of these approaches.
641
641
642
-
Additionally, see the David Butler response in this dist-list thread link:http://search-hadoop.com/m/nvbiBp2TDP/Stargate%252Bhbase&subj=Stargate+hbase[HBase, mail # user - Stargate+hbase]
642
+
Additionally, see the David Butler response in this dist-list thread link:https://lists.apache.org/thread.html/b0ca33407f010d5b1be67a20d1708e8d8bb1e147770f2cb7182a2e37%401300972712%40%3Cuser.hbase.apache.org%3E[HBase, mail # user - Stargate+hbase]
Copy file name to clipboardExpand all lines: src/main/asciidoc/_chapters/troubleshooting.adoc
+3-13Lines changed: 3 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@
32
32
33
33
Always start with the master log (TODO: Which lines?). Normally it's just printing the same lines over and over again.
34
34
If not, then there's an issue.
35
-
Google or link:http://search-hadoop.com[search-hadoop.com] should return some hits for those exceptions you're seeing.
35
+
Google should return some hits for those exceptions you're seeing.
36
36
37
37
An error rarely comes alone in Apache HBase, usually when something gets screwed up what will follow may be hundreds of exceptions and stack traces coming from all over the place.
38
38
The best way to approach this type of problem is to walk the log up to where it all began, for example one trick with RegionServers is that they will print some metrics when aborting so grepping for _Dump_ should get you around the start of the problem.
@@ -221,12 +221,6 @@ For more information on GC pauses, see the link:https://blog.cloudera.com/blog/2
221
221
[[trouble.resources]]
222
222
== Resources
223
223
224
-
[[trouble.resources.searchhadoop]]
225
-
=== search-hadoop.com
226
-
227
-
link:http://search-hadoop.com[search-hadoop.com] indexes all the mailing lists and is great for historical searches.
228
-
Search here first when you have an issue as its more than likely someone has already had your problem.
229
-
230
224
[[trouble.resources.lists]]
231
225
=== Mailing Lists
232
226
@@ -235,7 +229,6 @@ The 'dev' mailing list is aimed at the community of developers actually building
235
229
Before going to the mailing list, make sure your question has not already been answered by searching the mailing list
236
230
archives first. For those who prefer to communicate in Chinese, they can use the 'user-zh' mailing list instead of the
237
231
'user' list.
238
-
Use <<trouble.resources.searchhadoop>>.
239
232
Take some time crafting your question.
240
233
See link:http://www.mikeash.com/getting_answers.html[Getting Answers] for ideas on crafting good questions.
241
234
A quality question that includes all context and exhibits evidence the author has tried to find answers in the manual and out on lists is more likely to get a prompt response.
@@ -639,8 +632,6 @@ The upside is that more data is packed into the same region, but performance is
639
632
And smaller StoreFiles become targets for compaction.
640
633
Without compression the files are much bigger and don't need as much compaction, however this is at the expense of I/O.
641
634
642
-
For additional information, see this thread on link:http://search-hadoop.com/m/WUnLM6ojHm1/Long+client+pauses+with+compression&subj=Long+client+pauses+with+compression[Long client pauses with compression].
643
-
644
635
[[trouble.client.security.rpc.krb]]
645
636
=== Secure Client Connect ([Caused by GSSException: No valid credentials provided...])
646
637
@@ -693,7 +684,7 @@ The utility <<trouble.tools.builtin.zkcli>> may help investigate ZooKeeper issue
693
684
[[trouble.client.oome.directmemory.leak]]
694
685
=== Client running out of memory though heap size seems to be stable (but the off-heap/direct heap keeps growing)
695
686
696
-
You are likely running into the issue that is described and worked through in the mail thread link:http://search-hadoop.com/m/ubhrX8KvcH/Suspected+memory+leak&subj=Re+Suspected+memory+leak[HBase, mail # user - Suspected memory leak] and continued over in link:http://search-hadoop.com/m/p2Agc1Zy7Va/MaxDirectMemorySize+Was%253A+Suspected+memory+leak&subj=Re+FeedbackRe+Suspected+memory+leak[HBase, mail # dev - FeedbackRe: Suspected memory leak].
687
+
You are likely running into the issue that is described and worked through in the mail thread link:https://lists.apache.org/thread.html/d12bbe56be95cf68478d1528263042730670ff39159a01eaf06d8bc8%401322622090%40%3Cuser.hbase.apache.org%3E[HBase, mail # user - Suspected memory leak] and continued over in link:https://lists.apache.org/thread.html/621dde35479215f0b07b23af93b8fac52ff4729949b5c9af18e3a85b%401322971078%40%3Cuser.hbase.apache.org%3E[HBase, mail # dev - FeedbackRe: Suspected memory leak].
697
688
A workaround is passing your client-side JVM a reasonable value for `-XX:MaxDirectMemorySize`.
698
689
By default, the `MaxDirectMemorySize` is equal to your `-Xmx` max heapsize setting (if `-Xmx` is set). Try setting it to something smaller (for example, one user had success setting it to `1g` when they had a client-side heap of `12g`). If you set it too small, it will bring on `FullGCs` so keep it a bit hefty.
699
690
You want to make this setting client-side only especially if you are running the new experimental server-side off-heap cache since this feature depends on being able to use big direct buffers (You may have to keep separate client-side and server-side config dirs).
@@ -1322,12 +1313,11 @@ Use the internal EC2 host names when configuring the ZooKeeper quorum peer list.
1322
1313
=== Instability on Amazon EC2
1323
1314
1324
1315
Questions on HBase and Amazon EC2 come up frequently on the HBase dist-list.
1325
-
Search for old threads using link:http://search-hadoop.com/[Search Hadoop]
1326
1316
1327
1317
[[trouble.ec2.connection]]
1328
1318
=== Remote Java Connection into EC2 Cluster Not Working
1329
1319
1330
-
See Andrew's answer here, up on the user list: link:http://search-hadoop.com/m/sPdqNFAwyg2[Remote Java client connection into EC2 instance].
1320
+
See Andrew's answer here, up on the user list: link:https://lists.apache.org/thread.html/666bfa863bc2eb2ec7bbe5ecfbee345e0cbf1d58aaa6c1636dfcb527%401269010842%40%3Cuser.hbase.apache.org%3E[Remote Java client connection into EC2 instance].
0 commit comments