Commit Graph

5237 Commits

Author SHA1 Message Date
Peter Somogyi 1beddaebe5 HBASE-18259 HBase book link to "beginner" issues includes resolved issues
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-19 23:21:39 +08:00
Michael Stack 2fbb6c944b HBASE-18258 Take down hbasecon2017 logo from hbase.apache.org and put up hbaseconasia2017 instead
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-19 23:16:58 +08:00
Chia-Ping Tsai e1ca4e77c7 HBASE-17853 Link to "Why does HBase care about /etc/hosts?" does not work 2017-12-19 23:04:51 +08:00
Evgeny Kincharov 721b9576d8 HBASE-17839 fixed missing column in table 1 from section "Data Model" of the ref guide.
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-19 23:03:15 +08:00
Jan Hentschel 48ee5e1d7b HBASE-16722 Fixed broken link in CatalogJanitor doc
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-19 23:00:45 +08:00
Yung-An He a9e0ae6dfc HBASE-19068 Change all url of apache.org from HTTP to HTTPS in HBase book
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-18 19:22:57 +08:00
Michael Stack 811b88a877 HBASE-18700 Document the new changes on mapreduce stuffs
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-18 19:15:11 +08:00
zhangduo 73942e37da HBASE-18213 Add documentation about the new async client
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-18 18:52:06 +08:00
sahil aggarwal 67029f93ea HBASE-16390 Fix documentation around setAutoFlush
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-18 18:42:12 +08:00
Yung-An He 929ef42591 HBASE-18922 Fix all dead links in our HBase book
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-18 18:27:11 +08:00
Michael Stack dff298519a HBASE-18302 Protobuf section in the docs needs some clean up (Artem Ervits) 2017-12-18 17:53:46 +08:00
Chia-Ping Tsai b646d7249b HBASE-18750 Cleanup the docs saying "HTable use write buffer" 2017-12-18 17:44:28 +08:00
Chia-Ping Tsai 81f05bd943 HBASE-17967 clean up documentation references to -ROOT- table. 2017-12-18 17:43:44 +08:00
Chia-Ping Tsai 2cfb89c54d HBASE-18787 Fix the "dependencies connecting to an HBase cluster" 2017-12-18 17:26:32 +08:00
Chia-Ping Tsai 6f98b7e4df HBASE-18421 update hadoop prerequisites docs to call out 2.8.1 2017-12-18 17:15:01 +08:00
Chia-Ping Tsai 379f4fe5a0 HBASE-13868 Correct "Disable automatic splitting" section in HBase book 2017-12-18 17:10:30 +08:00
Apekshit Sharma 6616a3fd2d HBASE-19526 Update hadoop version to 3.0 GA 2017-12-17 22:52:54 -08:00
Peter Somogyi e444f549d7 HBASE-18988 Add release managers to reference guide
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2017-12-10 21:37:38 +01:00
TAK LON WU b2f9b7bc19 HBASE-19023 Replace hbase-server with hbase-mapreduce for HBase and MapReduce chapter
RowCounter and other related HBase's MapReduce classes have been moved
to hbase-mapreduce component by HBASE-18640, related chapter was
out-of-date and this fix replaced hbase-server with hbase-mapreduce
to correct those commands

Also this change moved RowCounter_Counters.properties
to hbase-mapreduce package as well

JIRA https://issues.apache.org/jira/browse/HBASE-19023

Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-12-06 09:04:02 -08:00
meiyi e20a7574d1 HBASE-17918 document serial replication
Signed-off-by: zhangduo <zhangduo@apache.org>
2017-11-30 21:28:25 +08:00
Guanghao Zhang c978f8ab23 HBASE-19293 Support add a disabled state replication peer directly 2017-11-21 15:37:33 +08:00
Frank Welsch 086a03797e HBASE-16574 Book updates for backup and restore
Signed-off-by: Josh Elser <elserj@apache.org>
2017-11-20 13:12:15 -05:00
Sean Busbey fb79e9d4a7 HBASE-19223 Note availability of Date Tiered Compaction in 1.y release for those upgrading from 0.98
Signed-off-by: Yu Li <liyu@apache.org>
Signed-off-by: Mike Drob <mdrob@apache.org>
2017-11-15 10:31:52 -06:00
Tamas Penzes 7a69ebc73e HBASE-18601: Update Htrace to 4.2
Updated HTrace version to 4.2
Created TraceUtil class to wrap htrace methods. Uses try with resources.

Signed-off-by: Balazs Meszaros <balazs.meszaros@cloudera.com>
Signed-off-by: Michael Stack <stack@apache.org>
2017-11-13 10:38:36 -08:00
Sean Busbey 516d370b4b HBASE-18817 pull the hbase-spark module out of branch-2.
Signed-off-by: Michael Stack <stack@apache.org>
2017-11-08 22:55:23 -06:00
Apekshit Sharma a6d8023ff5 HBASE-19128 Purge Distributed Log Replay from codebase, configurations, text; mark the feature as unsupported, broken. 2017-11-07 17:48:52 -08:00
Chia-Ping Tsai d592b29619 HBASE-19131 Add the ClusterStatus hook and cleanup other hooks which can be replaced by ClusterStatus hook 2017-11-05 09:56:04 +08:00
Michael Stack f8c58930aa
HBASE-19179 Remove hbase-prefix-tree 2017-11-04 10:09:46 -07:00
Sean Busbey 2485da1a60 HBASE-13622 document upgrade rollback.
Signed-off-by: Michael Stack <stack@apache.org>
2017-11-03 19:49:42 -05:00
Michael Stack 9026d92f59
HBASE-19152 Update refguide 'how to build an RC' and the make_rc.sh script
Removes src.xml used building src tgz via hbase-assembly.
Use git archive instead going forward. Updates developer release candidate
documentation and the make_rc.sh script.

Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Peter Somogyi <psomogyi@cloudera.com>
Signed-off-by: Mike Drob <mdrob@apache.org>
2017-11-03 09:58:18 -07:00
Apekshit Sharma d69570a485 HBASE-18925 Update mockito dependency from mockito-all:1.10.19 to mockito-core:2.1.0 for JDK8 support.
Last mockito-all release was in Dec'14. Mockito-core has had many releases since then.

From mockito's site:
- "Mockito does not produce the mockito-all artifact anymore ; this one was primarily
aimed at ant users, and contained other dependencies. We felt it was time to move on
and remove such artifacts as they cause problems in dependency management system like
maven or gradle."
- anyX() and any(SomeType.class) matchers now reject nulls and check type.
2017-11-01 14:38:50 -07:00
Apekshit Sharma 3ce7ab3c70 HBASE-19073 Cleanup CoordinatedStateManager
- Merged BaseCSM class into CSM interface
- Removed config hbase.coordinated.state.manager.class
- Since state manager is not pluggable anymore, we don't need start/stop/initialize to setup unknown classes. Our internal ZkCSM now requires Server in constructor itself. Makes the dependency clearer too.
- Removed CSM from HRegionServer and HMaster constructor. Although it's a step back from dependency injection, but it's more consistent with our current (not good)  pattern where we initialize everything in the ctor itself.

Change-Id: Ifca06bb354adec5b11ea1bad4707e014410491fc
2017-10-24 20:00:31 -07:00
Sean Busbey d576e5a32d HBASE-17823 Migrate to Apache Yetus Audience Annotations
Includes partial backport of hbase-build-configuration module

Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Misty Stanley-Jones <misty@apache.org>
2017-09-12 23:15:50 -05:00
Yun Zhao 7af0c44af3 HBASE-18662 The default values for many configuration items in the code are not consistent with hbase-default.xml
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-09-11 21:12:11 +08:00
Chia-Ping Tsai 1ee4923730 Revert "HBASE-18662 The default values for many configuration items in the code are not consistent with hbase-default.xml"
need more checks
This reverts commit 89f978beb8.
2017-09-09 22:55:33 +08:00
Yun Zhao 89f978beb8 HBASE-18662 The default values for many configuration items in the code are not consistent with hbase-default.xml
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-09-09 18:11:14 +08:00
Chia-Ping Tsai 84ec18eb45 HBASE-18780 Remove HLogPrettyPrinter
Signed-off-by: Michael Stack <stack@apache.org>
2017-09-08 10:22:18 -07:00
Michael Stack 7f70b6c8e3 HBASE-18769 Make CompareFilter use generic CompareOperator instead of
internal enum
2017-09-08 10:05:51 -07:00
Umesh Agashe bd219c0fb8 HBASE-18674 upgrading to commons-lang3
Signed-off-by: Michael Stack <stack@apache.org>
2017-09-05 09:46:49 -07:00
zhangduo a37417c254 HBASE-18699 Copy LoadIncrementalHFiles to another package and mark the old one as deprecated 2017-09-03 19:49:47 +08:00
Apekshit Sharma 59d034106f HBASE-18640 Move mapreduce out of hbase-server into separate module.
- Moves out o.a.h.h.{mapred, mapreduce} to new hbase-mapreduce module which depends
  on hbase-server because of classes like *Snapshot{Input,Output}Format.java, WALs, replication, etc
- hbase-backup depends on it for WALPlayer and MR job stuff
- A bunch of tools needed to be pulled into hbase-mapreduce becuase of their dependencies on MR.
  These are: CompactionTool, LoadTestTool, PerformanceEvaluation, ExportSnapshot
  This is better place of them than hbase-server. But ideal place would be in separate hbase-tools module.
- There were some tests in hbase-server which were digging into these tools for static util funtions or
  confs. Moved these to better/easily shared place. For eg. security related stuff to HBaseKerberosUtils.
- Note that hbase-mapreduce has secondPartExecution tests. On my machine they took like 20 min, so maybe
  more on apache jenkins. That's basically equal reduction of runtime of hbase-server tests, which is a
  big win!

Change-Id: Ieeb7235014717ca83ee5cb13b2a27fddfa6838e8
2017-08-26 01:55:33 -07:00
Josh Elser f262548b1f HBASE-18514 Squash of space quota "phase 2" work
Contains the following commits:

  HBASE-17748 Include HBase snapshots in space quotas

  Introduces a new Chore in the Master which computes the size
  of the snapshots included in a cluster. The size of these
  snapshots are included in the table's which the snapshot was created
  from HDFS usage.

  Includes some test stabilization, trying to make the tests more
  deterministic by ensuring we observe stable values as we know
  that those values are mutable. This should help avoid problems
  where size reports are delayed and we see an incomplete value.

  HBASE-17752 Shell command to list snapshot sizes WRT quotas

  HBASE-17840 Update hbase book to space quotas on snapshots
2017-08-07 16:32:16 -04:00
Michael Stack ee70b1d2e0 HBASE-17056 Remove checked in PB generated files
Selective add of dependency on hbase-thirdparty jars.
Update to READMEs on how protobuf is done (and update to refguide).
Removed all checked in generated protobuf files. They are generated
on the fly now as part of mainline build.
2017-08-02 09:42:38 -07:00
Peter Somogyi 80959b4528 HBASE-18332 Upgrade asciidoctor-maven-plugin
Update asciidoctor-maven-plugin to 1.5.5 and asciidoctorj-pdf to 1.5.0-alpha.15
asciidoctor's pdfmark generation is turned off
Modify title-logo tag to title-logo-image
2017-07-17 19:06:30 -07:00
Michael Stack b2b5cd6de6 Revert "HBASE-17056 Remove checked in PB generated files Selective add of dependency on"
Build is unstable and has interesting issues around CLASSPATH. Revert
for now.

This reverts commit 1049025e1d.
2017-07-06 21:48:41 -07:00
Michael Stack 1049025e1d HBASE-17056 Remove checked in PB generated files Selective add of dependency on
hbase-thirdparty jars. Update to READMEs on how protobuf is done (and update to
refguide) Removed all checked in generated protobuf files. They are generatedon
the fly now as part of mainline build.
2017-07-05 21:38:23 -07:00
Misty Stanley-Jones 44c9c1de99 HBASE-12794 Guidelines for filing JIRA issues
Signed-off-by: Misty Stanley-Jones <misty@apache.org>
2017-06-26 08:32:31 -07:00
Michael Stack 59448cddd3 Add specification of the HBase 'color' -- International Orange (Engineering), same as GG -- and the our font (Bitsumishi) 2017-06-05 21:19:12 -07:00
Josh Elser f1a9990328 HBASE-17977 Enable the MasterSpaceQuotaObserver by default
It should be the normal case that HBase automatically deletes
quotas for deleted tables. Switch the Observer to be on by
default and add an option to instead prevent it from being added.
2017-05-22 13:41:36 -04:00
Josh Elser 98ace3d586 HBASE-17447 Implement a MasterObserver for automatically deleting space quotas
When a table or namespace is deleted, it would be nice to automatically
delete the quota on said table/NS. It's possible that not all people
would want this functionality so we can leave it up to the user to
configure this Observer.
2017-05-22 13:41:35 -04:00
Josh Elser f7da41d0bf HBASE-17003 Documentation updates for space quotas 2017-05-22 13:41:35 -04:00
Jingcheng Du 6edb8f8217 HBASE-17875 Document why objects over 10MB are not well-suited for hbase.
Signed-off-by: Sean Busbey <busbey@apache.org>
2017-04-28 13:32:30 -05:00
Niels Basjes fc68f23a48 HBASE-17962 Improve documentation on Rest interface
Signed-off-by: Sean Busbey <busbey@apache.org>
2017-04-28 11:28:29 -05:00
Sean Busbey a8e6f33791 HBASE-16215 clean up of ref guide and site for EOM versions.
Signed-off-by: Enis Soztutar <enis@apache.org>
Signed-off-by: Michael Stack <stack@apache.org>
2017-04-18 16:52:30 -05:00
Xiang Li d15f75b3cf HBASE-17936 Refine sum endpoint example in ref guide
Signed-off-by: Michael Stack <stack@apache.org>
2017-04-18 09:33:09 -07:00
Michael Stack b35121d904 Add hbasecon asia and next weeks visa meetup 2017-04-17 22:20:04 -07:00
Jan Hentschel c8cd921bed HBASE-16875 Changed try-with-resources in the docs to recommended way
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-04-17 10:59:46 +08:00
Gábor Lipták 363f62751c HBASE-15535 Correct link to Trafodion
Signed-off-by: CHIA-PING TSAI <chia7712@gmail.com>
2017-04-17 10:26:28 +08:00
Jan Hentschel 918aa4655c HBASE-17903 Corrected the alias for the link of HBASE-6580
Signed-off-by: CHIA-PING TSAI <chia7712@gmail.com>
2017-04-17 10:22:25 +08:00
zhangduo 17737b2710 HBASE-17858 Update refguide about the IS annotation if necessary 2017-04-06 09:48:18 +08:00
Misty Stanley-Jones 1c4d9c8965 Add diversity statement to CoC
Signed-off-by: Misty Stanley-Jones <misty@apache.org>
2017-03-31 12:49:37 -07:00
Sean Busbey b290d14e1f HBASE-17847 update docs to cover guidance on recent Hadoop releases.
Signed-off-by: Michael Stack <stack@apache.org>
2017-03-29 15:20:09 -05:00
Jan Hentschel 50e9825139 HBASE-13395 Removed HTableInterface
Signed-off-by: CHIA-PING TSAI <chia7712@gmail.com>
2017-03-26 00:04:21 +08:00
chenyechao 941070939f HBASE-17807 correct the value of zookeeper.session.timeout in hbase doc
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-03-21 18:53:09 -07:00
Michael Stack 11dc5bf671 Update home page to say hbasecon2017 is on google campus in MTV, not SF 2017-03-21 14:01:06 -07:00
Michael Stack a41b1852da Fix hanging tag on site resources page 2017-03-20 14:54:56 -07:00
Michael Stack 16900c8c25 Added hbase high performance cookbook to the book resources page on the website 2017-03-20 12:01:22 -07:00
Michael Stack 7c03a213ff HBASE-17802 Add note that minor versions can add methods to Interfaces 2017-03-19 14:51:11 -07:00
tedyu 2304e7eced HBASE-17760 HDFS Balancer doc is misleading (Harsh J) 2017-03-08 15:59:30 -08:00
Michael Stack 678ad0ea73 Update sample unit test; the categorybasedtimer section was stale 2017-03-02 22:34:24 -08:00
Michael Stack eec064dcd1 Add section to shell tricks on how to set and query shell configuration 2017-02-27 19:58:37 +00:00
Apekshit Sharma f444b3b542 HBASE-17312 Use 'default' keyword in coprocessor Observer interfaces to get rid of 'Base...Observer' implementations. Some javadoc improvements too.
Reason for refactor:
In cases where one might need to use multiple observers, say region, master and regionserver; and the fact that only one class can be extended, it gives rise to following pattern:

public class BaseMasterAndRegionObserver
  extends BaseRegionObserver
  implements MasterObserver

class AccessController
  extends BaseMasterAndRegionObserver
  implements RegionServerObserver

were BaseMasterAndRegionObserver is full copy of BaseMasterObserver.

There is an example of simple case too where the current design fails.
Say only one observer is needed by the coprocessor, but the design doesn't permit extending even that single observer (see RSGroupAdminEndpoint), that leads to copy of full Bas
e...Observer class into coprocessor class leading to 1000s of lines of code and this ugly mix of 5 main functions with 100 useless functions.

Javadocs changes:
- Adds class comments on 'default' methods and expectations.
- Adds explanaiton of Exception handling in Observers' class comment. Removes redundant @throws before each function.
- Improves javadocs for a bunch of functions
- deletes empty @params in a bunch of places

Change-Id: I265738d47e8554e7b4678e88bb916a0cc7d00ab3
2017-02-25 02:49:01 -08:00
Michael Stack 4605aabe08 Add banner for hbasecon2017 2017-02-23 15:16:11 -08:00
Jan Hentschel 0285cb8c4d HBASE-13882 Removed part of the RegionSplitPolicy section in HBase book
Signed-off-by: Michael Stack <stack@apache.org>
2017-02-22 16:14:13 -08:00
Jingcheng Du f4202a1205 HBASE-17421 Update refguide w.r.t. MOB Sweeper 2017-02-17 10:14:06 +08:00
Michael Stack d22bfc0367 HBASE-17349 Add doc for regionserver group-based assignment 2017-02-05 08:36:33 -08:00
Apekshit Sharma 7294931e62 HBASE-17552 Update developer section in hbase book - Changes 'Create Patch' in major way. Promoting use of submit-patch.py script. - Changes instructions for committing patch to make contributor of a patch also its author so proper credit is given to contributors in terms of github history. - Rewording in 'code formatting guidelines' and other places.
Change-Id: I911bbb12ee6ac00e43632ab61ce40b808f380d2e
2017-02-02 16:37:06 -08:00
Jan Hentschel f576f4678a HBASE-17562 Removed documentation for coprocessor execution times
Signed-off-by: Michael Stack <stack@apache.org>
2017-01-30 10:52:43 -08:00
Jerry He 9a9e3df856 HBASE-17502 Document hadoop pre-2.6.1 and Java 1.8 Kerberos problem in our hadoop support matrix 2017-01-21 13:24:33 -08:00
Guanghao Zhang ac3b1c9aa9 HBASE-17337 list replication peers request should be routed through master 2017-01-10 08:57:26 +08:00
Jan Hentschel 97fd9051f4 HBASE-17430 Changed link from Google search to a direct link in docs
Signed-off-by: Jerry He <jerryjch@apache.org>
2017-01-08 20:39:44 -08:00
Jan Hentschel 521730ebc7 HBASE-16869 Fixed typo in 'Disabling Blockcache' doc
Signed-off-by: Jerry He <jerryjch@apache.org>
2017-01-01 12:45:21 -08:00
Guanghao Zhang 0e48665641 HBASE-17336 get/update replication peer config requests should be routed through master 2016-12-30 10:12:47 +08:00
Guanghao Zhang 8da7366fc2 HBASE-17348 Remove the unused hbase.replication from javadoc/comment/book completely 2016-12-25 08:46:29 +08:00
Guanghao Zhang b3f2bec099 HBASE-17335 enable/disable replication peer requests should be routed through master 2016-12-23 09:27:12 +08:00
Guanghao Zhang e1f4aaeacd HBASE-11392 add/remove peer requests should be routed through master 2016-12-21 13:27:13 +08:00
Michael Stack 6f25f838c0 HBASE-17272 Doc how to run Standalone HBase over an HDFS instance; all daemons in one JVM but persisting to an HDFS instance
An edit that undoes warneings that standalone is not 'production ready'
and that local filesystem loses data (It doesn't anymore). Adds a
section on how to do standalone over hdfs.
2016-12-07 10:18:37 -08:00
Clay Baenziger c7b8b63cd1 HBASE-16700 Allow for coprocessor whitelisting
Signed-off-by: Enis Soztutar <enis@apache.org>
2016-12-05 14:46:15 -08:00
Michael Stack be519ca1a5 HBASE-17121 Undo the building of xref as part of site build; Remove links to xref 2016-11-18 13:45:57 -08:00
Michael Stack 86df89b016 HBASE-17089 Add doc on experience running with hedged reads; ADDENDUM adding in Ashu Pachauri's experience 2016-11-14 21:06:29 -08:00
Michael Stack 6c1ceaf11a HBASE-17046 Add 1.1 doc to hbase.apache.org -- add a 1.2 link while I'm at it 2016-11-14 17:19:22 -08:00
Michael Stack 6ee2dcf480 HBASE-17089 Add doc on experience running with hedged reads 2016-11-14 10:28:09 -08:00
Michael Stack 3f919dd6c3 Add note on meetup at Splice 2016-11-12 17:13:51 -08:00
Michael Stack d9316a64a9 HBASE-17046 Add 1.1 doc to hbase.apache.org 2016-11-07 22:16:48 -08:00
Michael Stack de97933aa5 HBASE-16413 Add apache-hbase.slack.com #users channel to ref guide 2016-11-03 10:13:06 -07:00
Michael Stack 47d9ba3243 HBASE-16986 Revisiting default value for hbase.client.scanner.caching
This reverts commit b2d1e21e77.

This is a revert of a revert to fix the commit message so we have
the right JIRA number
2016-11-01 09:40:03 -07:00
Michael Stack b2d1e21e77 Revert "HBASE-16973 Revisiting default value for hbase.client.scanner.caching"
Pushed w/ wrong JIRA number

This reverts commit 9cfebf4933.
2016-11-01 09:39:39 -07:00
Michael Stack 9cfebf4933 HBASE-16973 Revisiting default value for hbase.client.scanner.caching 2016-11-01 09:39:02 -07:00
zhangduo 3709c81fbc HBASE-16884 Add HBase-2.0.x to the hadoop version support matrix in our documentation 2016-10-20 13:24:37 +08:00
Peter Conrad 91a7bbd581 HBASE-16751 Add tuning information to HBase Book
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Amending-Author: Andrew Purtell <apurtell@apache.org>
2016-10-13 18:47:45 -07:00
Pankaj Kumar c9c67d1a94 HBASE-16724 Snapshot owner can't clone
Signed-off-by: Ashish Singhi <ashishsinghi@apache.org>
2016-10-13 17:20:52 +05:30
Michael Stack 6b346ad046 HBASE-16622 Fix some issues with the HBase reference guide 2016-10-11 15:16:19 -07:00
Umesh Agashe 1f1a13f2e2 HBASE-16753 There is a mismatch between suggested Java version in hbase-env.sh
Signed-off-by: Dima Spivak <dimaspivak@apache.org>
2016-10-05 10:16:41 -07:00
stack b30b6dffe1 HBASE-16742 Add chapter for devs on how we do protobufs going forward; ADDENDUM -- put all notes on CPEPs together in the CPEP section 2016-10-04 08:44:46 -07:00
stack b5d34cf6fc HBASE-16742 Add chapter for devs on how we do protobufs going forward; ADDENDUM -- add in Duo Zhang remark 2016-10-04 08:34:39 -07:00
stack 2508edcd4e HBASE-16742) Add chapter for devs on how we do protobufs going forward
Fix misspelling noticed by Anoop Sam John.
2016-10-03 22:42:46 -07:00
stack 95c1dc93fb HBASE-15638 Shade protobuf
Which includes

    HBASE-16742 Add chapter for devs on how we do protobufs going forward

    HBASE-16741 Amend the generate protobufs out-of-band build step
    to include shade, pulling in protobuf source and a hook for patching protobuf

    Removed ByteStringer from hbase-protocol-shaded. Use the protobuf-3.1.0
    trick directly instead. Makes stuff cleaner. All under 'shaded' dir is
    now generated.

    HBASE-16567 Upgrade to protobuf-3.1.x
    Regenerate all protos in this module with protoc3.
    Redo ByteStringer to use new pb3.1.0 unsafebytesutil
    instead of HBaseZeroCopyByteString

    HBASE-16264 Figure how to deal with endpoints and shaded pb Shade our protobufs.
    Do it in a manner that makes it so we can still have in our API references to
    com.google.protobuf (and in REST). The c.g.p in API is for Coprocessor Endpoints (CPEP)

            This patch is Tactic #4 from Shading Doc attached to the referenced issue.
            Figuring an appoach took a while because we have Coprocessor Endpoints
            mixed in with the core of HBase that are tough to untangle (FIX).

            Tactic #4 (the fourth attempt at addressing this issue) is COPY all but
            the CPEP .proto files currently in hbase-protocol to a new module named
            hbase-protocol-shaded. Generate .protos again in the new location and
            then relocate/shade the generated files. Let CPEPs keep on with the
            old references at com.google.protobuf.* and
            org.apache.hadoop.hbase.protobuf.* but change the hbase core so all
            instead refer to the relocated files in their new location at
            org.apache.hadoop.hbase.shaded.com.google.protobuf.*.

            Let the new module also shade protobufs themselves and change hbase
            core to pick up this shaded protobuf rather than directly reference
            com.google.protobuf.

            This approach allows us to explicitly refer to either the shaded or
            non-shaded version of a protobuf class in any particular context (though
            usually context dictates one or the other). Core runs on shaded protobuf.
            CPEPs continue to use whatever is on the classpath with
            com.google.protobuf.* which is pb2.5.0 for the near future at least.

            See above cited doc for follow-ons and downsides. In short, IDEs will complain
            about not being able to find the shaded protobufs since shading happens at package
            time; will fix by checking in all generated classes and relocated protobuf in
            a follow-on. Also, CPEPs currently suffer an extra-copy as marshalled from
            non-shaded to shaded. To fix. Finally, our .protos are duplicated; once
            shaded, and once not. Pain, but how else to reveal our protos to CPEPs or
            C++ client that wants to talk with HBase AND shade protobuf.

            Details:

            Add a new hbase-protocol-shaded module. It is a copy of hbase-protocol
    i       with all relocated offset from o.a.h.h. to o.a.h.h.shaded. The new module
            also includes the relocated pb. It does not include CPEPs. They stay in
            their old location.

            Add another module hbase-endpoint which has in it all the endpoints
            that ship as part of hbase -- at least the ones that are not
            entangled with core such as AccessControl and Auth. Move all protos
            for these CPEPs here as well as their unit tests (mostly moving a
            bunch of stuff out of hbase-server module)

            Much of the change looks like this:

                 -import org.apache.hadoop.hbase.protobuf.ProtobufUtil;
                 -import org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos;
                 +import org.apache.hadoop.hbase.protobuf.shaded.ProtobufUtil;
                 +import org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterIdProtos;

            In HTable and in HBaseAdmin, regularize the way Callables are used and also hide
            protobuf usage as much as possible moving it up into Callable super classes or out
            to utility classes. Still TODO is adding in of retries, etc., but can wait on
            procedure which will redo all this.

            Also in HTable and HBaseAdmin as well as in HRegionServer and Server, be explicit
            when using non-shaded protobuf. Do the full-path so it is clear. This is around
            endpoint coprocessors registration of services and execution of CPEP methods.

            Shrunk ProtobufUtil by moving methods used by one CPEP only back to the CPEP either
            into Client class or as new Util class; e.g. AccessControlUtil.

            There are actually two versions of ProtobufUtil now; a shaded one and a subset
            that is used by CPEPs doing non-shaded work.

            Made it so hbase-common no longer depends on hbase-protocol (with Matteo's help)

            R*Converter classes got moved down under shaded package -- they are for internal
            use only. There are no non-shaded versions of these classes.

            D hbase-client/src/main/java/org/apache/hadoop/hbase/client/AbstractRegionServerCallable
            D RetryingCallableBase
             Not used anymore and we have too many tiers of Callables so removed/cleaned-up.

            A ClientServicecallable
             Had to add this one. RegionServerCallable was made generic so it could be used
             for a few Interfaces (Client and Admin). Then added ClientServiceCallable to
             implement RegionServerCallable with the Client Interface.
2016-10-03 21:37:32 -07:00
Sean Busbey 76396714e1 HBASE-15984 Handle premature EOF treatment of WALs in replication.
In some particular deployments, the Replication code believes it has
reached EOF for a WAL prior to succesfully parsing all bytes known to
exist in a cleanly closed file.

Consistently this failure happens due to an InvalidProtobufException
after some number of seeks during our attempts to tail the in-progress
RegionServer WAL. As a work-around, this patch treats cleanly closed
files differently than other execution paths. If an EOF is detected due
to parsing or other errors while there are still unparsed bytes before
the end-of-file trailer, we now reset the WAL to the very beginning and
attempt a clean read-through.

In current testing, a single such reset is sufficient to work around
observed dataloss. However, the above change will retry a given WAL file
indefinitely. On each such attempt, a log message like the below will
be emitted at the WARN level:

  Processing end of WAL file '{}'. At position {}, which is too far away
  from reported file length {}. Restarting WAL reading (see HBASE-15983
  for details).

Additionally, this patch adds some additional log detail at the TRACE
level about file offsets seen while handling recoverable errors. It also
add metrics that measure the use of this recovery mechanism.
2016-09-29 10:07:14 -05:00
Jerry He edc0ef3fe4 HBASE-16598 Enable zookeeper useMulti always and clean up in HBase code 2016-09-17 16:51:26 -07:00
Jerry He bb3d9ccd48 HBASE-16544 Remove or Clarify Using Amazon S3 Storage section in the reference guide -addendum (Yi Liang) 2016-09-16 18:34:23 -07:00
stack 8540171a45 Tune up the release candidate making section 2016-09-14 08:02:01 -07:00
zhangduo 105bfc7d7c HBASE-15624 Move master branch/hbase-2.0.0 to jdk-8 only 2016-09-12 21:54:52 +08:00
Jerry He e65817ef15 HBASE-16544 Remove or Clarify 'Using Amazon S3 Storage' section in the reference guide (Yi Liang) 2016-09-07 18:50:02 -07:00
Enis Soztutar cbfd6eecbd HBASE-16474 Remove dfs.support.append related code and documentation 2016-08-24 03:41:54 -07:00
stack 2261c8c31a HBASE-16422 Tighten our guarantees on compatibility across patch versions 2016-08-17 10:58:26 -07:00
stack 9219d6867f Add mention to front page of hbaseconeast 2016-08-15 11:41:09 -07:00
Sean Busbey 48af3f5f7a HBASE-15461 update links to blogs posted on the Cloudera website to account for site restructuring.
Signed-off-by: Dima Spivak <dspivak@cloudera.com>
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2016-08-05 10:36:48 -05:00
Sean Busbey 431c8c9ad0 HBASE-8386 deprecate TableMapReduce.addDependencyJars(Configuration, class<?> ...)
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2016-08-05 10:35:02 -05:00
Sean Busbey 60b79e2daa HBASE-16321 ensure no findbugs-jsr305
Signed-off-by: Esteban Gutierrez <esteban@apache.org>
2016-08-05 10:16:29 -05:00
Dima Spivak 9b3bc5fac2 HBASE-16347 Unevaluated expressions in book 2016-08-03 14:30:50 -07:00
stack 9d740f7b8b HBASE-16263 Move all to do w/ protobuf -- *.proto files and generated classes -- under hbase-protocol
Signed-off-by: stack <stack@apache.org>
2016-07-21 10:02:05 -07:00
chenheng cf0f4f72d9 HBASE-16076 Cannot configure split policy in HBase shell 2016-07-18 10:28:05 +08:00
Misty Stanley-Jones 6462a615cb HBASE-15305 Fix a couple of incorrect anchors in HBase Ref Guide 2016-07-14 17:00:56 -07:00
Xiang Li 12813c7f03 HBASE-16183: Correct errors in example programs of coprocessor in Ref Guide 2016-07-14 16:51:13 -07:00
Misty Stanley-Jones 4b7933bd65 HBASE-14813 REST documentation under package.html should go to the book
(cherry picked from commit 0167ec37054263a273214bc0c1fd845fa294a1e9)
2016-07-13 18:32:23 -07:00
Weiqing Yang 86f3768627 HBASE-15473: Documentation for the usage of hbase dataframe user api (JSON, Avro, etc) 2016-07-13 15:05:27 -07:00
Jerry He 632969787a HBASE-14548 Expand how table coprocessor jar and dependency path can be specified (Xiang Li) 2016-07-09 18:01:49 -07:00
Sean Busbey 29c46c4834 HBASE-15985 clarify promises about edits from replication in ref guide
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2016-07-05 13:03:18 -05:00
Jerry He e3f66364a5 HBASE-16069 Typo in item 3 of chapter 87.2 of Reference Guide (li xiang) 2016-06-27 15:40:33 -07:00
chenheng 68c1b34dbc HBASE-16040 Remove configuration "hbase.replication" 2016-06-24 10:41:35 +08:00
tedyu d8902ba0e6 HBASE-16045 endtime argument for VerifyReplication was incorrectly specified in usage 2016-06-16 15:50:29 -07:00
chenheng d1de9337ef HBASE-16031 Documents about "hbase.replication" default value seems wrong 2016-06-16 14:12:37 +08:00
Dima Spivak 158568e780 HBASE-15977 Failed variable substitution on home page
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2016-06-15 16:03:45 -07:00
tedyu ae5fe1e616 HBASE-5291 Add Kerberos HTTP SPNEGO authentication support to HBase web consoles (Josh Elser) 2016-06-15 09:26:44 -07:00
Mikhail Antonov 1621257e7a HBASE-15344 add 1.3 to prereq tables in ref guide 2016-06-14 14:59:31 -07:00
Matteo Bertozzi d9463bcce0 HBASE-15989 Remove hbase.online.schema.update.enable 2016-06-08 13:09:31 -07:00
Bryan Beaudreault 2da090f9a3 HBASE-15981 Remove references to disabling table in docs around stripe and date-tiered compactions
Signed-off-by: stack <stack@apache.org>
2016-06-07 13:10:35 -07:00
Ronan Stokes 73ec33856d HBASE-15907 updates for HBase Shell pre-splitting docs
(cherry picked from commit 01adec574d9ccbdd6183466cb8ee6b43935d69ca)
2016-05-31 13:52:46 -07:00
stack c80e232642 Remove the hbasecon banner logo 2016-05-31 10:14:40 -07:00
Apekshit 5ea2f09233 HBASE-15919 Modify docs to change from @Rule to @ClassRule. Also clarify that timeout limits are on test case level. (Apekshit)
Change-Id: Ifcd0264ea147bcb1100db74d92da95b643f4793f

Signed-off-by: stack <stack@apache.org>
2016-05-31 10:12:00 -07:00
Apekshit f2b00e61af HBASE-15910 Update 'Create Patch' in HBase reference guide from make_patch.sh to submit-patch.py. (Apekshit)
Change-Id: Ifc199ce3e612b8f14f3cc4b6b5f1ada239e5b4db

Signed-off-by: stack <stack@apache.org>
2016-05-28 21:50:39 -07:00
Misty Stanley-Jones 92f5595e7e HBASE-15646 Add some docs about exporting and importing snapshots using S3 2016-05-19 13:01:05 -07:00
Jerry He 98fa263b51 HBASE-15834 Correct Bloom filter documentation in section 96.4 of Reference Guide 2016-05-17 14:39:05 -07:00
stack 1dff18e33f HBASE-15667 Add more clarity to Reference Guide related to importing Eclipse Formatter (Sai Teja Ranuva) 2016-05-17 11:12:29 -07:00
Esteban Gutierrez a6e29676db HBASE-15612: Minor improvements to CellCounter and RowCounter documentation
Signed-off-by: stack <stack@apache.org>
2016-05-09 14:12:43 -07:00
Nick Dimiduk 58888e0911 HBASE-15738 Ensure artifacts in project dist area include required md5 file 2016-05-08 18:06:31 -07:00
Alex Moundalexis 0bf065a5d5 HBASE-15768 fix capitalization of ZooKeeper usage
Signed-off-by: Sean Busbey <busbey@apache.org>
2016-05-05 15:35:44 -05:00
Junegunn Choi 0e37063345 HBASE-15528 Clean up outdated entries in hbase-default.xml
Signed-off-by: Enis Soztutar <enis@apache.org>
2016-05-03 19:09:19 -07:00
Clara 66213c9f28 HBASE-15337 Document Date Tiered Compaction in the book
Signed-off-by: Enis Soztutar <enis@apache.org>
2016-05-03 15:05:00 -07:00
Jerry He cd148b7cee HBASE-14898 Correct Bloom filter documentation in the book (yi liang) 2016-04-29 08:33:34 -05:00
Sean Busbey 547398eccd Revert "Correct Bloom filter documentation in the book (yi liang)"
This reverts commit 31b85e73da.

Bad commit message.
2016-04-29 08:33:09 -05:00
Enis Soztutar 3d4f026702 HBASE-15685 Typo in REST documentation (Bin Wang) 2016-04-27 18:32:20 -07:00
stack 36e4033ded HBASE-15572 Adding optional timestamp semantics to HBase-Spark; ADDENDUM TO FIX DOC FORMATTING ISSUE (Misty) 2016-04-22 14:06:42 -07:00
stack fa215a67e2 HBASE-15385 PREFETCH_BLOCKS_ON_OPEN in HColumnDescriptor is ignored 2016-04-20 09:38:30 -07:00
Jerry He 31b85e73da Correct Bloom filter documentation in the book (yi liang) 2016-04-18 09:57:46 -07:00
Misty Stanley-Jones dbdfd8e8d1 HBASE-13129 Add troubleshooting hints around WAL retention from replication
Signed-off-by: Jonathan Hsieh <jon@cloudera.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
2016-04-13 22:40:14 -05:00
Weiqing Yang 58177c103f HBASE-15572 Adding optional timestamp semantics to HBase-Spark
4 parameters, "timestamp", "minTimestamp", "maxiTimestamp" and
"maxVersions" are added to HBaseSparkConf. Users can select a
timestamp, they can also select a time range with minimum timestamp and
maximum timestamp.

Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Ted Yu <tedyu@apache.org>
Signed-off-by: Jerry He <jerryjch@apache.org>
2016-04-13 22:39:14 -05:00
stack a4dcf51415 HBASE-15623 Update refguide to change hadoop <= 2.3.x from NT to X for hbase-1.2.x 2016-04-09 15:17:57 -07:00
stack 1123be9181 HBASE-15502 Skeleton unit test to copy/paste 2016-03-21 11:27:18 -07:00
Liu Shaohui 3fa77a1845 HBASE-15312 Addendum - Update the dependences of pom for mini cluster in HBase Book 2016-03-02 15:10:39 +08:00
Mikhail Antonov bc112888ef HBASE-15346 add 1.3 RM to docs 2016-02-29 11:06:10 -08:00
Misty Stanley-Jones c5288947dd HBASE-15332 Document how to take advantage of HDFS-6133 in HBase
(cherry picked from commit e0a656ed50027a7d982f1eca7a8c0ee3cab47f92)
2016-02-26 09:38:32 -08:00
stack 2a306437aa HBASE-15312 Update the dependences of pom for mini cluster in HBase Book (Liu Shaohui) 2016-02-24 09:31:10 -08:00
Youngjoon Kim 2966eee602 HBASE-15298 Fix missing or wrong asciidoc anchors in the reference guide 2016-02-22 08:27:47 -08:00
tedyu ed290cf829 HBASE-15219 Canary tool does not return non-zero exit code when one of regions is in stuck state 2016-02-20 20:25:01 -08:00
Misty Stanley-Jones 23cfac32ac HBASE-15289 Add details about how to get usage instructions for Import and Export tools 2016-02-19 13:43:48 -08:00
Misty Stanley-Jones fea0dd46dd HBASE-13883 Clarify the MemStore Flush section in the RefGuide 2016-02-19 13:42:22 -08:00
Misty Stanley-Jones 61a5ef9e65 HBASE-15250 Fix old URLs that currently get redirected 2016-02-19 13:40:43 -08:00
Jonathan M Hsieh afa63a91d6 HBASE-14877 maven archetype: client application (Daniel Vimont) 2016-02-19 06:39:43 -08:00
tedyu 454e45f50d HBASE-15219 Revert pending verification of test result 2016-02-12 12:06:48 -08:00
stack ab50c7c8c6 HBASE-15255 Add pointer to linkedin blog on putting jvm logs on fast disk 2016-02-11 13:18:28 -08:00
tedyu df829ea7d1 HBASE-15219 Canary tool does not return non-zero exit code when one of regions is in stuck state 2016-02-10 02:36:46 -08:00
stack 703e975d66 HBASE-15244 More doc around native lib setup and check and crc 2016-02-09 23:17:48 -08:00
Andrew Purtell bab812df28 HBASE-15216 Canary does not accept config params from command line (Vishal Khandelwal) 2016-02-09 22:45:37 -08:00
stack 9c83210945 Fixup on the hbasecon banner image.. add date and location -- git add image 2016-02-05 09:01:16 -08:00
stack d5d26f0804 Fixup on the hbasecon banner image.. add date and location 2016-02-04 11:44:16 -08:00
Misty Stanley-Jones 9cd487129d HBASE-14810 Update Hadoop support description to explain "not tested" vs "not supported" 2016-01-29 14:34:22 -08:00
stack 47506e805d Make hbasecon2016 image half size 2016-01-28 22:46:25 -04:00
stack 83304f8232 Add hbasecon2016 logo 2016-01-28 22:42:19 -04:00
stack 845d00a16b Add hbasecon2016 to news 2016-01-27 10:42:27 -04:00
Jonathan M Hsieh cb539917a2 HBASE-15036 Update HBase Spark documentation to include bulk load with thin records (Ted Malaska) 2016-01-26 11:02:48 -08:00
Misty Stanley-Jones 4ca27a68ef HBASE-15184 Fix broken links found via LinkLint 2016-01-26 10:02:53 -08:00
Enis Soztutar 893a54c3a4 HBASE-15066 Small improvements to Canary tool 2016-01-06 02:47:19 -08:00
Sean Busbey 5e2c2e1780 HBASE-15007 update docs to list Hadoop 2.6.1+ as cool. 2015-12-29 11:46:17 -06:00
stack 1af98f2551 HBASE-14980 Project Astro; addendum 2015-12-22 08:11:50 -08:00
stack a7ba3110bb Fix bad link found by Boris of vectorportal 2015-12-21 08:32:27 -08:00
stack cdca22a36d Fix link to vectorportal.com noticed by Boris of vectorportal 2015-12-18 14:14:57 -08:00
stack 58342a85fa HBASE-14980 Project Astro 2015-12-18 08:59:01 -08:00
Misty Stanley-Jones f8eab44dcd HBASE-13907 Document how to deploy a coprocessor 2015-12-18 08:35:50 -08:00
Misty Stanley-Jones 7a4590dfdb HBASE-11985 Document sizing rules of thumb 2015-12-18 08:34:39 -08:00
Misty Stanley-Jones 6a0159046e HBASE-14994 Clean up some broken links and references to old APIs 2015-12-16 12:56:50 -08:00
Misty Stanley-Jones b8539c62e8 HBASE-13976 Add 0.94 Release Manager to docs 2015-12-15 12:33:17 -08:00
Misty Stanley-Jones f0a97a1fdf HBASE-13425 Documentation nit in REST Gateway impersonation section 2015-12-15 11:45:21 -08:00
Misty Stanley-Jones 64c55b4893 HBASE-14967 Remove max-width constraint from website skin 2015-12-15 08:56:35 -08:00
stack bebcc09fb3 HBASE-14769 Remove unused functions and duplicate javadocs from HBaseAdmin 2015-12-10 15:02:21 -08:00
stack 92e178df28 Revert "HBASE-14769 Removing unused functions from HBaseAdmin. Removing redundant javadocs from HBaseAdmin as they will be automatically inhertited from Admin.java. (Apekshit)"
Reverting. The conversation on issues to do with this patch was not done (Appy brought it to my attention).

This reverts commit 6adce67572.
2015-12-01 11:30:39 -08:00
Apekshit(Appy) Sharma 6adce67572 HBASE-14769 Removing unused functions from HBaseAdmin. Removing redundant javadocs from HBaseAdmin as they will be automatically inhertited from Admin.java. (Apekshit)
Signed-off-by: stack <stack@apache.org>
2015-11-30 20:44:11 -08:00
Daniel Vimont 6a493ddff7 Commit for HBASE-14825 -- corrections of typos, misspellings, and mangled links
Commit for HBASE-14825 -- corrections of typos, misspellings, and mangled links - addition commit for line lengths
2015-11-25 07:12:36 +10:00
Misty Stanley-Jones 623dc1303e HBASE-14823 HBase Ref Guide Refactoring
Some tables, links, and other output do not render right in the output,
either because of Asciidoc code mistakes or the wrong formatting
choices. Make improvements.
2015-11-18 14:14:37 +10:00
Misty Stanley-Jones 96b2c0703b HBASE-14797 Last round of CSS fix-ups
Fixes margins in mobile views to prevent scrolling
2015-11-11 13:50:17 +10:00