Commit Graph

5270 Commits

Author SHA1 Message Date
Guangxu Cheng fc7736eb00 HBASE-19483 Add proper privilege check for rsgroup commands
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-01-05 11:18:07 -08:00
Josh Elser 9a98bb4ce9 HBASE-19691 Removes Global(A) requirement for getClusterStatus
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2018-01-03 18:47:53 -05:00
Mike Drob ea7d5fc884 HBASE-19552 Update hbase-thirdparty version
Some manual cleanup of changing package names in pom files and getting
rid of the no-longer-needed netty system property.

This commit will break compilation, package renames in source code are
done in follow-on commits using straightforward find and replace.

's/org.apache.hadoop.hbase.shaded.com.google/org.apache.hbase.thirdparty.com.google/'
's/org.apache.hadoop.hbase.shaded.io.netty/org.apache.hbase.thirdparty.io.netty/'
2017-12-28 11:41:42 -06:00
Guanghao Zhang 2f25589422 HBASE-19602 Cleanup the usage of ReplicationAdmin from document 2017-12-23 18:55:54 +08:00
Michael Stack 070c2ee7dd
HBASE-15124 Document the new 'normalization' feature in refguid 2017-12-21 22:47:25 -08:00
Apekshit Sharma 2a5e5e9e2c HBASE-19526 Update hadoop version to 3.0 GA 2017-12-17 19:10:04 -08:00
Peter Somogyi 7506591a20 HBASE-18988 Add release managers to reference guide
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2017-12-10 21:36:47 +01:00
TAK LON WU eabad8a91c 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:01:19 -08:00
Reid Chan 30ca85d21f HBASE-19416 (Addendum) Remove default value and jira link
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-12-05 12:04:54 -08:00
Reid Chan aafaba448d HBASE-19416 Document dynamic configurations currently supported
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-12-04 09:03:26 -08:00
meiyi 6a6409a30a HBASE-17918 document serial replication
Signed-off-by: zhangduo <zhangduo@apache.org>
2017-11-30 21:27:39 +08:00
Guanghao Zhang e1133d5201 HBASE-19293 Support add a disabled state replication peer directly 2017-11-21 15:26:06 +08:00
Frank Welsch 8f806ab486 HBASE-16574 Book updates for backup and restore
Signed-off-by: Josh Elser <elserj@apache.org>
2017-11-20 13:12:00 -05:00
zhangduo 907b268fd4 HBASE-19271 Update ref guide about the async client to reflect the change in HBASE-19251
Signed-off-by: Apekshit Sharma <appy@apache.org>
2017-11-17 10:38:59 -08:00
Sean Busbey d89682ea98 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:30:47 -06:00
Tamas Penzes 377174d3ef 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-11 10:34:03 -08:00
Apekshit Sharma 4132314f51 HBASE-19128 Purge Distributed Log Replay from codebase, configurations, text; mark the feature as unsupported, broken. 2017-11-07 17:43:14 -08:00
Jan Hentschel 29fd1dead2 HBASE-19174 Updated link to presentations to link to book 2017-11-07 08:29:38 +01:00
Chia-Ping Tsai 2085958216 HBASE-19131 Add the ClusterStatus hook and cleanup other hooks which can be replaced by ClusterStatus hook 2017-11-05 09:56:20 +08:00
Michael Stack f812218ffe
HBASE-19179 Remove hbase-prefix-tree 2017-11-04 10:11:13 -07:00
Sean Busbey 888e584a32 HBASE-13622 document upgrade rollback.
Signed-off-by: Michael Stack <stack@apache.org>
2017-11-03 19:48:26 -05:00
Yung-An He 8e0571a3a4 HBASE-19068 Change all url of apache.org from HTTP to HTTPS in HBase book
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2017-11-03 23:54:18 +01:00
Michael Stack 4edfa06564
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:52:28 -07:00
Apekshit Sharma 71a55dcd64 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:21:38 -07:00
Yung-An He 281bbc40c5 HBASE-18922 Fix all dead links in our HBase book
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-10-28 21:22:09 +08:00
Apekshit Sharma dd70cc3081 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 19:56:04 -07:00
Chia-Ping Tsai bb9f01c1e4 HBASE-18787 Fix the "dependencies connecting to an HBase cluster" 2017-09-23 01:56:38 +08:00
Michael Stack bc790fe26a HBASE-18852 Take down the hbasecon asia banner on home page 2017-09-19 17:00:01 -07:00
Michael Stack 58f9cd3586 HBASE-18849 expand "thirdparty" reference to give examples of setting netty location in common testing modules 2017-09-19 16:54:00 -07:00
Sean Busbey 4b124913f0 HBASE-17823 Migrate to Apache Yetus Audience Annotations
Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Misty Stanley-Jones <misty@apache.org>
2017-09-12 20:53:30 -05:00
Chia-Ping Tsai 48fd0f9329 HBASE-17967 (Addendum) Fix wrong explanation about how we store the 'hbase:meta' 2017-09-12 00:11:53 +08:00
Yun Zhao 90c15bae8d 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:11:58 +08:00
Chia-Ping Tsai 45ba6964aa HBASE-17853 Link to "Why does HBase care about /etc/hosts?" does not work 2017-09-11 14:19:12 +08:00
Chia-Ping Tsai b12d071b24 HBASE-18421 update hadoop prerequisites docs to call out 2.8.1 2017-09-11 04:07:06 +08:00
Chia-Ping Tsai 2359ef518a 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 6035035707.
2017-09-09 22:54:38 +08:00
Yun Zhao 6035035707 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:14:34 +08:00
Chia-Ping Tsai d782ae820f HBASE-18718 Document the coprocessor.Export 2017-09-09 15:16:14 +08:00
Chia-Ping Tsai d22a05084a HBASE-13868 Correct "Disable automatic splitting" section in HBase book 2017-09-09 15:00:22 +08:00
Chia-Ping Tsai 78d9b7ffad HBASE-18750 Cleanup the docs saying "HTable use write buffer" 2017-09-09 14:11:23 +08:00
Chia-Ping Tsai 87c3ae9314 HBASE-18780 Remove HLogPrettyPrinter
Signed-off-by: Michael Stack <stack@apache.org>
2017-09-08 10:20:20 -07:00
Michael Stack b8e0a8396f HBASE-18769 Make CompareFilter use generic CompareOperator instead of
internal enum
2017-09-08 10:06:56 -07:00
Umesh Agashe 5d60123f3e HBASE-18674 upgrading to commons-lang3
Signed-off-by: Michael Stack <stack@apache.org>
2017-09-05 09:46:10 -07:00
sahil aggarwal a5131a0491 HBASE-16390 Fix documentation around setAutoFlush
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-09-04 13:58:13 +08:00
zhangduo 9e53f2927b HBASE-18699 Copy LoadIncrementalHFiles to another package and mark the old one as deprecated 2017-09-03 19:49:42 +08:00
Chia-Ping Tsai 314d357029 HBASE-17967 clean up documentation references to -ROOT- table. 2017-08-30 11:36:47 +08:00
Chun-Hao Tang 835105b84a HBASE-18677 typo in namespace docs
Signed-off-by: Michael Stack <stack@apache.org>
2017-08-29 16:24:07 -07:00
Michael Stack 0fdf9e56b8 HBASE-18700 Document the new changes on mapreduce stuffs 2017-08-29 13:20:01 -07:00
Michael Stack 47a5614edd Revert "HBASE-18674 upgrading to commons-lang3"
Premature push

This reverts commit 5dacc85122.
2017-08-28 16:41:34 -07:00
Umesh Agashe 5dacc85122 HBASE-18674 upgrading to commons-lang3 2017-08-28 15:57:12 -07:00
张世彬10204932 f1b3528d79 HBASE-18701 Optimize reference guide to use cell acl conveniently
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-08-28 08:10:51 -07:00
Jan Hentschel f53051b590 HBASE-16722 Fixed broken link in CatalogJanitor doc
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-26 20:24:20 +08:00
Apekshit Sharma 664b6be0ef 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-25 18:38:48 -07:00
Jan Hentschel 368591dfcd HBASE-18635 Fixed Asciidoc warning
Signed-off-by: Misty Stanley-Jones <misty@apache.org>
2017-08-25 13:09:57 -07:00
Jan Hentschel 820ee91fe8 HBASE-18637 Update the link of 'Bending time in HBase'
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-21 15:17:40 +08:00
Michael Stack b932d38b2a HBASE-18592 [hbase-thirdparty] Doc on new hbase-thirdparty dependency for the refguide 2017-08-18 16:18:42 -07:00
Peter Somogyi 63e313b5c0 HBASE-18504 Add documentation for WAL compression
Signed-off-by: Michael Stack <stack@apache.org>
2017-08-15 12:54:08 -07:00
Misty Stanley-Jones 6114824b53 HBASE-18548 Move sources of website gen and check jobs into source control 2017-08-10 14:48:14 -07:00
Jan Hentschel 7da47509d2 HBASE-15042 Moved site materials to standard Maven place
Signed-off-by: Michael Stack <stack@apache.org>
2017-08-05 15:22:46 +08:00
Michael Stack 7a6de1bd42 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:33:20 -07:00
Peter Somogyi 4d9982f33d HBASE-18259 HBase book link to "beginner" issues includes resolved issues - ADDENDUM
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-07-31 23:36:19 +08:00
Evgeny Kincharov 3536c58afb HBASE-17839 fixed missing column in table 1 from section "Data Model" of the ref guide.
Signed-off-by: Sean Busbey <busbey@apache.org>
2017-07-27 12:26:23 -07:00
coral 70a357dc5c HBASE-18430 fixed typo
Signed-off-by: Misty Stanley-Jones <misty@apache.org>
2017-07-21 13:46:38 -07:00
coral 2a0d18928e HBASE-18404 fixed typo in acid semantics
Signed-off-by: Sean Busbey <busbey@apache.org>
2017-07-21 12:26:48 -05:00
Peter Somogyi c423dc7950 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

Signed-off-by: Misty Stanley-Jones <misty@apache.org>
2017-07-17 19:05:53 -07:00
Guanghao Zhang 2d5a0fbd16 HBASE-18052 Add document for async admin 2017-07-16 16:46:33 +08:00
Michael Stack c08db6733d HBASE-18384 Add link to refguide schema section on apache blog on hbase application archetypes 2017-07-14 22:17:13 +01:00
Artem Ervits 48d28c7a24 HBASE-18335 configuration guide fixes
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-07-07 14:37:11 -07:00
Michael Stack 6786b2b63e Revert "HBASE-17056 Remove checked in PB generated files Selective add of dependency on"
Revert for now. Build unstable and some interesting issues around
CLASSPATH

This reverts commit df93c13fd2.
2017-07-06 21:58:32 -07:00
Artem Ervits 68436c9bba HBASE-18329 updated links in config guide to point to java 8 references
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-07-06 18:13:31 -07:00
Michael Stack df93c13fd2 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 20:57:11 -07:00
Artem Ervits 8318a092ac HBASE-18311 fix formatting in quickstart
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-07-03 13:08:41 -07:00
Michael Stack 90fee695b4 HBASE-18302 Protobuf section in the docs needs some clean up (Artem Ervits) 2017-06-30 10:17:15 -07:00
Michael Stack 8bb4d15ba1 HBASE-18284 Update hbasecon asia logo on home page of hbase.apache.org 2017-06-27 21:23:49 -07:00
tedyu b313043542 HBASE-18275 Formatting and grammar mistakes in schemadoc chapter (Artem Ervits) 2017-06-27 19:18:02 -07:00
Peter Somogyi 14957d4a7d HBASE-18259 HBase book link to "beginner" issues includes resolved issues
Change-Id: I17d7aca08bda850187eee69e5f0668fbba720740

Signed-off-by: Sean Busbey <busbey@apache.org>
2017-06-27 10:44:18 -05:00
Misty Stanley-Jones ed70f15b1e HBASE-12794 Guidelines for filing JIRA issues
Signed-off-by: Misty Stanley-Jones <misty@apache.org>
2017-06-26 08:27:32 -07:00
Michael Stack 9cb5fc9825 HBASE-18258 Take down hbasecon2017 logo from hbase.apache.org and put up hbaseconasia2017 instead 2017-06-21 21:56:49 -07:00
Josh Elser 4dc805145b HBASE-17840 Update hbase book to space quotas on snapshots 2017-06-16 11:24:31 -07:00
zhangduo 8653823ac4 HBASE-18213 Add documentation about the new async client 2017-06-16 14:59:55 +08:00
zhangduo f17fa223b5 HBASE-18050 Add document about the IA.Private classes which appear in IA.LimitedPrivate interfaces 2017-06-08 20:38:19 +08: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