Commit Graph

452 Commits

Author SHA1 Message Date
Michael Stack b01f2f1c87 Forgot to accredit HBASE-683 to Rong-En
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@669378 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 03:51:22 +00:00
Michael Stack 2f98213248 HBASE-683 can not get svn revision # at build time if locale is not english
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@669376 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 03:42:45 +00:00
Michael Stack bb637b6cc5 HBASE-652 dropping table fails silently if table isn't disabled
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@669336 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 23:52:48 +00:00
Michael Stack 1342ed9b5c HBASE-487 New shell....
Add in special handling of .META. table that we used have in HQL
(so it prints out the HRegionInfo pretty).  Also allow making a scanner
without specifying columns.

M  src/java/org/apache/hadoop/hbase/HTableDescriptor.java
   Allow getMetadata work if HTable is set against meta tables.
   Was failing on isLegalTableName if name was one of the catalog table names.
   Needed by shell.
M src/java/org/apache/hadoop/hbase/client/HTable.java
  Comment.
M  bin/hbase
  Remove commented out line.
M  bin/HBase.rb
  Allow passing just a table name to scanner; let it figure out all families
  Added in the special handling of .META. table cells that we used have in HQL
  so we can see start/end row, etc.  Added in extra testing.
M  bin/Formatter.rb
  Allow setting width of emitted table in console formatter
M  bin/hirb.rb
  Allow setting width of emitted table in console formatter
  Improved scanner help.:


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@669318 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 22:24:34 +00:00
Bryan Duxbury de39e81f3a HBASE-694 HStore.rowAtOrBeforeFromMapFile() fails to locate the row if # of mapfiles >= 2
-Added new test to TestGet2 to highlight multi-storefile getClosestBefore issue
-Removed erroneous return that caused 2nd and subsequent mapfiles to be skipped
-Split HStore#rowKeyAtOrBeforeFromMapfile into two sub-methods for readability

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@669211 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 16:28:23 +00:00
Michael Stack 542bff9b3b HBASE-691 get* and getScanner are different in how they treat column parameter
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@668830 13f79535-47bb-0310-9956-ffa450edef68
2008-06-17 21:07:50 +00:00
Jim Kellerman 132a644260 HBASE-686 MemcacheScanner didn't return the first row(if it exists), because HScannerInterface's output incorrect (LN via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@668822 13f79535-47bb-0310-9956-ffa450edef68
2008-06-17 20:49:10 +00:00
Michael Stack 1bc0a2a0a3 HBASE-682 unnecessary iteration in HMemcache.internalGet? got much better reading performance after break it.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@667631 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 19:53:23 +00:00
Michael Stack 4a04330d7f HBASE-682 Regularize toString
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@667295 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 23:53:56 +00:00
Michael Stack d2c38ff650 HBASE-680 config parameter hbase.io.index.interval should be hbase.index.interval, accroding to HBaseMapFile.HbaseWriter
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@667159 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 16:59:31 +00:00
Michael Stack 90719ebd62 HBASE-677 Make HTable, HRegion, HRegionServer, HStore, and HColumnDescriptor subclassable
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@666395 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 23:52:50 +00:00
Michael Stack a6457d7c04 HBASE-676 Bytes.getInt returns a long
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@666260 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 18:29:48 +00:00
Michael Stack c32f6e31bd HBASE-662 UI in table.jsp gives META locations, not the table's regions location
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@665994 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 07:46:14 +00:00
Michael Stack b5ae8db868 HBASE-665 server side scanner doesn't honor stop row
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@665928 13f79535-47bb-0310-9956-ffa450edef68
2008-06-09 22:45:24 +00:00
Michael Stack 2e0e750630 HBASE-672 Sort regions in the regionserver UI
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@664289 13f79535-47bb-0310-9956-ffa450edef68
2008-06-07 06:24:14 +00:00
Michael Stack ae83b2d6d5 HBASE-671 New UI page displaying all regions in a table should be sorted
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@664179 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 22:56:17 +00:00
Michael Stack a55aa0c517 HBASE-670 Historian deadlocks if regionserver is at global memory boundary and is hosting .META.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@664105 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 19:52:24 +00:00
Michael Stack be8ef48869 HBASE-668 HBASE-533 broke build
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@663764 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 22:22:13 +00:00
Jim Kellerman 1a7c2fc882 HBASE-666 UnmodifyableHRegionInfo gives the wrong encoded name
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@663350 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 19:24:40 +00:00
Michael Stack 3dec8def1c HBASE-533 Region Historian
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@663314 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 17:18:21 +00:00
Jim Kellerman f7dc508514 HBASE-639 Add HBaseAdmin.getTableDescriptor function
HBASE-632   HTable.getMetadata is very inefficient
HBASE-654   API HTable.getMetadata().addFamily shouldn't be exposed to user


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@662975 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 04:54:47 +00:00
Jim Kellerman fc7351288a HBASE-655 Need programmatic way to add column family: need programmatic way to enable/disable table
Added HTable.isTableOnline and HTable.isTableOffline

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@662905 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 22:16:43 +00:00
Jim Kellerman 2a543ce103 HBASE-663 Incorrect sequence number for cache flush
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@662865 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 19:27:30 +00:00
Michael Stack eb13bf8b42 HBASE-660 [Migration] addColumn/deleteColumn functionality in MetaUtils
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@662612 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 00:34:10 +00:00
Michael Stack 359fdf6238 HBASE-659 HLog#cacheFlushLock not cleared; hangs a region
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@662146 13f79535-47bb-0310-9956-ffa450edef68
2008-06-01 04:42:11 +00:00
Michael Stack f328681e00 HBASE-649 API polluted with default and protected access data members and methods
HBASE-650 Add String versions of get, scanner, put in HTable
HBASE-656 Do not retry exceptions such as unknown scanner or illegal argument
A  src/java/org/apache/hadoop/hbase/ColumnNameParseException.java
A  src/java/org/apache/hadoop/hbase/LeaseException.java
    Added.  Thrown instead of IllegalArgumentExceptions
M  src/java/org/apache/hadoop/hbase/Leases.java
    Use new LeaseException in place of IllegalArgument
M  src/java/org/apache/hadoop/hbase/HStoreKey.java
    Use new ColumnNameParse in place of IllegalArgument
M  src/java/org/apache/hadoop/hbase/master/ServerManager.java
    Log at debug if LeaseException (Not important if it happens).
A  src/java/org/apache/hadoop/hbase/DoNotRetryIOException.java
    An IOE that shouldn't be retried.
M  src/java/org/apache/hadoop/hbase/InvalidColumnNameException.java
M  src/java/org/apache/hadoop/hbase/UnknownScannerException.java
    Inherit from DoNotRetryIOException else we keep trying.
M  src/java/org/apache/hadoop/hbase/util/Bytes.java
    (toByteArrays): Added one to handle [] String.
M  src/java/org/apache/hadoop/hbase/client/HTable.java
    Make String overrides of all methods.  Made data members
    private (turns out a bunch arent' even used).  Stopped it
    inheriting from HConstants so we don't have big dump of
    all HConstants as first thing in javadoc.
M  src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
    If instance of DoNotRetryIOException, let the exception out.
M  src/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
    Make String overrides of all methods.  Stopped it
    inheriting from HConstants so we don't have big dump of
    all HConstants as first thing in javadoc.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@661541 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 00:51:43 +00:00
Michael Stack f8c4649209 HBASE-651 table.commit should throw NoSuchColumnFamilyException if column family doesn't exist
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@661512 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 22:35:36 +00:00
Michael Stack f4d0096a06 HBASE-640 TestMigrate failing on hudson
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@661211 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 04:54:27 +00:00
Michael Stack 8d0665881e HBASE-648 If mapfile index is empty, run repair
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@661089 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 21:17:31 +00:00
Michael Stack 6061624031 HBASE-646 EOFException opening HStoreFile info file (spin on HBASE-645 and 550)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@661040 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 18:38:46 +00:00
Michael Stack 8b292ae202 HBASE-645 and HBASE-642 Splitting log in a hostile environment -- bad hdfs -- we drop write-ahead-log edits
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@660727 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 21:42:14 +00:00
Michael Stack 6829ba8a01 HBASE-641 Improve master split logging
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@660686 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 20:26:44 +00:00
Michael Stack c37590cd99 HBASE-644 DroppedSnapshotException but RegionServer doesn't restart
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@660366 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 04:17:52 +00:00
Michael Stack cb9d586513 HBASE-487 Replace hql w/ a hbase-friendly jirb or jython shell, Part 1: Purge hql, added raw jirb
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@659445 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 06:21:16 +00:00
Michael Stack f63ecc9a06 HBASE-638 Purge \r from src
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@659249 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 20:49:25 +00:00
Jim Kellerman 192e438289 HBASE-589 Remove references to deprecated methods in Hadoop once hadoop-0.17.0 is released
HBASE-579 Add hadoop 0.17.0


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@659245 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 20:32:25 +00:00
Michael Stack 64a2a3e505 HBASE-583 RangeRowFilter, allow to choose rows based on a (lexicographic) comparison to column's values
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@659164 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 17:17:07 +00:00
Michael Stack a000a20845 HBASE-504 Allow HMsg's carry a payload: e.g. exception that happened
over on the remote side.

M  src/test/org/apache/hadoop/hbase/TestSerialization.java
    Add test that HMsg with region and message serializes.
M  src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
    HMsg types have been enumified.  Also use some of the new
    static messages.  On split and close because of error,
    add message to the HMsg we pass back to the master.
M  src/java/org/apache/hadoop/hbase/HServerInfo.java
    (compareTo): Added.
M  src/java/org/apache/hadoop/hbase/HRegionInfo.java
    Allow null in compareTo.
M src/java/org/apache/hadoop/hbase/master/ServerManager.java
    Use the new HMsg.isType figuring message type.
    Redo message logging.  Use convenience HMsg statics.
M  src/java/org/apache/hadoop/hbase/master/RegionManager.java
    Pass back overloaded message if region shutdown because of balancing.
M  src/java/org/apache/hadoop/hbase/HServerAddress.java
    Make it so that two addresses equate even if one has hostname
    and the other IP.
M  src/java/org/apache/hadoop/hbase/ipc/HMasterRegionInterface.java
    Up the protocol version for regionserver reporting master messages.
M  src/java/org/apache/hadoop/hbase/HMsg.java
    Enumify the messge types.
    Define a few static HMsgs for convenience.
    Allow optional message. Improved toString.
    (isType, equals, hashCode): Added.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@658465 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 22:29:36 +00:00
Michael Stack bf4536f713 HBASE-621 Make MAX_VERSIONS work like TTL: In scans and gets, check MAX_VERSIONs setting and return that many only rather than wait on compaction
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@658419 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 20:40:47 +00:00
Michael Stack 7bbe456b0f HBASE-23 UI listing regions should be sorted by address and show additional region state
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@658356 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 17:29:33 +00:00
Michael Stack fc80b823c4 HBASE-626 Use Visitor pattern in MetaRegion to reduce code clones in HTable and HConnectionManager
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@658337 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 16:54:29 +00:00
Michael Stack 9cb0f8bdfb HBASE-630 Default hbase.rootdir is garbage
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@658098 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 04:30:18 +00:00
Michael Stack 274ed7384b HBASE-623 migration script for hbase-82
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@658016 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 22:46:50 +00:00
Jim Kellerman db289cb669 HBASE-629 Split reports incorrect elapsed time
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@657226 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 21:45:11 +00:00
Michael Stack 680343c2b2 HBASE-82 row keys should be array of bytes
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@656868 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 22:10:47 +00:00
Michael Stack bcdb066cae Another nothing change to provoke a build
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@656514 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 05:43:28 +00:00
Michael Stack 7ddd733236 HBASE-569 DemoClient.php
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@656511 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 05:26:47 +00:00
Michael Stack 100a1616d4 Nothing change to force build on hudson to see if ant changes will make it build again
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@656506 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 05:02:02 +00:00
Michael Stack 302997693a Add note about the 0.1.2 release
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@656500 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 03:56:43 +00:00
Jim Kellerman 595b75b105 HBASE-538 Improve exceptions that come out on client-side
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@656341 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 18:07:03 +00:00