Commit Graph

2554 Commits

Author SHA1 Message Date
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