[jira] [Created] (HBASE-13664) Use HBase 1.0 in ConnectionCache

2015-05-11 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-13664:
--

 Summary: Use HBase 1.0 in ConnectionCache
 Key: HBASE-13664
 URL: https://issues.apache.org/jira/browse/HBASE-13664
 Project: HBase
  Issue Type: Bug
Reporter: Solomon Duskis
Assignee: Solomon Duskis
 Fix For: 1.0.2, 1.1.1


ConnectionCache uses the new HBase interfaces in master.  Update  branch-1* to 
use them as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-13349) Reduce NeedUnmanagedConnectionException issues

2015-03-27 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-13349:
--

 Summary: Reduce NeedUnmanagedConnectionException issues
 Key: HBASE-13349
 URL: https://issues.apache.org/jira/browse/HBASE-13349
 Project: HBase
  Issue Type: Bug
Reporter: Solomon Duskis


Managed connections are a bit of a pain when it comes to the new API.  If a 
connection is managed, then connection.getAdmin() and connection.getTable(..) 
throw NeedUnmanagedConnectionException.  Is that really necessary, i.e can we 
create Tables and Admins with a managed connection?  If not, can we come up 
with something better than sprinkling NeedUnmanagedConnectionException 
try-catch blocks in the HBase code base to fix this problem?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-13327) Use Admin in ConnectionCache

2015-03-24 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-13327:
--

 Summary: Use Admin in ConnectionCache
 Key: HBASE-13327
 URL: https://issues.apache.org/jira/browse/HBASE-13327
 Project: HBase
  Issue Type: Sub-task
Affects Versions: 2.0.0, 1.0.1, 1.1.0
Reporter: Solomon Duskis
Assignee: Solomon Duskis


Replace HBaseAdmin usage with Admin in ConnectionCache and users of 
ConnectionCache.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-13315) BufferedMutator should be @InterfaceAudience.Public

2015-03-23 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-13315:
--

 Summary: BufferedMutator should be @InterfaceAudience.Public
 Key: HBASE-13315
 URL: https://issues.apache.org/jira/browse/HBASE-13315
 Project: HBase
  Issue Type: Bug
Reporter: Solomon Duskis
Assignee: Solomon Duskis
 Fix For: 2.0.0, 1.0.1, 1.1.0


BufferedMutator is marked as @InterfaceAudience.Private.  It should be Public.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-13201) Remove HTablePool from thrift-server

2015-03-11 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-13201:
--

 Summary: Remove HTablePool from thrift-server
 Key: HBASE-13201
 URL: https://issues.apache.org/jira/browse/HBASE-13201
 Project: HBase
  Issue Type: Sub-task
Reporter: Solomon Duskis
Assignee: Solomon Duskis
 Fix For: 2.0.0, 1.0.1


HTablePool is an old concept that was superseded by Connection.  thrift-server 
doesn't need HTablePool anymore and can use the ConnectionCache directly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-13113) BufferedMutatorImpl should return currentWriteBufferSize in getWriteBufferSize()

2015-02-26 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-13113:
--

 Summary: BufferedMutatorImpl should return currentWriteBufferSize 
in getWriteBufferSize()
 Key: HBASE-13113
 URL: https://issues.apache.org/jira/browse/HBASE-13113
 Project: HBase
  Issue Type: Bug
Reporter: Solomon Duskis






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12993) Use HBase 1.0 interfaces in hbase-thrift

2015-02-09 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12993:
--

 Summary: Use HBase 1.0 interfaces in hbase-thrift
 Key: HBASE-12993
 URL: https://issues.apache.org/jira/browse/HBASE-12993
 Project: HBase
  Issue Type: Bug
Reporter: Solomon Duskis
Assignee: Solomon Duskis
 Fix For: 2.0.0, 1.0.1


hbase-thrift uses HTable and HBaesAdmin.  It also uses HTablePool, which is an 
outdated concept.

As per [~ndimiduk] on the user group:

{quote}
I believe HTablePool is completely eclipsed by the modern Connection
implementation. We'll need to keep the map of UserName = Connection (or
maybe the ConnectionCache handles this?) Probably a single Connection (per
user) with a large thread pool will do the trick.
{quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12991) Use HBase 1.0 interfaces in hbase-rest

2015-02-09 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12991:
--

 Summary: Use HBase 1.0 interfaces in hbase-rest
 Key: HBASE-12991
 URL: https://issues.apache.org/jira/browse/HBASE-12991
 Project: HBase
  Issue Type: Bug
Reporter: Solomon Duskis
Assignee: Solomon Duskis
 Fix For: 2.0.0, 1.0.1


hbase-rest uses HTable and HBaseAdmin under the covers.  They should use the 
new hbase 1.0 interfaces instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (HBASE-12809) Remove unnecessary calls to Table.setAutoFlush()

2015-02-03 Thread Solomon Duskis (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-12809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Solomon Duskis resolved HBASE-12809.

Resolution: Duplicate

This was fixed in a different issue.

 Remove unnecessary calls to Table.setAutoFlush()
 

 Key: HBASE-12809
 URL: https://issues.apache.org/jira/browse/HBASE-12809
 Project: HBase
  Issue Type: Sub-task
  Components: hbase
Affects Versions: 1.0.0, 2.0.0
Reporter: Solomon Duskis
Assignee: Solomon Duskis

 It looks like there are a lot of places where setAutoFlushTo() is called in 
 places where that's not necessary.  HBASE-12728 will likely result in 
 removing the flushCommits() method from Table. The patch for this issue 
 should remove all unnecessary calls to setAutoFlushTo() to prepare for the 
 full fix.
 setAutoFlushTo(true) is unnecessary on newly constructed HTables, since 
 autoFlush is true by default.  Calls like the following
 {code}
   table.setAutoFlushTo(false);
   for(...) {
 Put put = new Put(...);
 ...
 table.put(put);
   }
   table.flushCommits();
 {code}
 Is equivalent in functionality to:
 {code}
   ListPut puts = new ArrayList();
   for(...) {
 Put put = new Put(...);
 ...
 puts.add(put);
   }
   table.put(puts);
 {code}
 The put(ListPut) semantics ought to be the preferred approach.
 Note: here's the code for put(Put) and put(ListPut):
 {code:title=HTable.java|borderStyle=solid}
   @Override
   public void put(final Put put)
   throws InterruptedIOException, RetriesExhaustedWithDetailsException {
 doPut(put);
 if (autoFlush) {
   flushCommits();
 }
   }
   @Override
   public void put(final ListPut puts)
   throws InterruptedIOException, RetriesExhaustedWithDetailsException {
 for (Put put : puts) {
   doPut(put);
 }
 if (autoFlush) {
   flushCommits();
 }
   }
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12809) Remove unnecessary calls to Table.setAutoFlush()

2015-01-05 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12809:
--

 Summary: Remove unnecessary calls to Table.setAutoFlush()
 Key: HBASE-12809
 URL: https://issues.apache.org/jira/browse/HBASE-12809
 Project: HBase
  Issue Type: Sub-task
Affects Versions: 1.0.0, 2.0.0
Reporter: Solomon Duskis
Assignee: Solomon Duskis


It looks like there are a lot of places where setAutoFlushTo() is called in 
places where that's not necessary.  HBASE-12728 will likely result in removing 
the flushCommits() method from Table. The patch for this issue should remove 
all unnecessary calls to setAutoFlushTo() to prepare for the full fix.

setAutoFlushTo(true) is unnecessary on newly constructed HTables, since 
autoFlush is true by default.  Calls like the following

{code}
  table.setAutoFlushTo(false);
  for(...) {
Put put = new Put(...);
...
table.put(put);
  }
  table.flushCommits();
{code}

Is equivalent in functionality to:

{code}
  ListPut puts = new ArrayList();
  for(...) {
Put put = new Put(...);
...
puts.add(put);
  }
  table.put(puts);
{code}

The put(ListPut) semantics ought to be the preferred approach.

Note: here's the code for put(Put) and put(ListPut):

{code:title=HTable.java|borderStyle=solid}
  @Override
  public void put(final Put put)
  throws InterruptedIOException, RetriesExhaustedWithDetailsException {
doPut(put);
if (autoFlush) {
  flushCommits();
}
  }

  @Override
  public void put(final ListPut puts)
  throws InterruptedIOException, RetriesExhaustedWithDetailsException {
for (Put put : puts) {
  doPut(put);
}
if (autoFlush) {
  flushCommits();
}
  }
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12802) Remove unnecessary Table.flushCommits()

2015-01-04 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12802:
--

 Summary: Remove unnecessary Table.flushCommits()
 Key: HBASE-12802
 URL: https://issues.apache.org/jira/browse/HBASE-12802
 Project: HBase
  Issue Type: Bug
Affects Versions: 1.0.0, 2.0.0
Reporter: Solomon Duskis
Assignee: Solomon Duskis


It looks like there are a lot of places where flushCommits() are called on 
tables that do not have autoFlush turned on.  That might be a legacy concern 
from pre-autoFlush days.  HBASE-12728 will likely result in removing the 
flushCommits() method from Table.  The patch for this issue should remove all 
unnecessary calls to flushCommit() to prepare for the full fix..



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12798) Map Reduce jobs should not create Tables in setConf()

2015-01-02 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12798:
--

 Summary: Map Reduce jobs should not create Tables in setConf()
 Key: HBASE-12798
 URL: https://issues.apache.org/jira/browse/HBASE-12798
 Project: HBase
  Issue Type: Bug
Reporter: Solomon Duskis
Assignee: Solomon Duskis
 Fix For: 1.0.0, 2.0.0


setConf() gets called in many places along the Map/Reduce chain.  HBase creates 
Tables and etc in setConf in a few places.  There should be a better place to 
create the Table, often while creating a TableRecordReader.

This issue will tackle the following classes:
- TableInputFormatBase
- MultiTableInputFormat

Other classes that could use a look over:
- HRegionPartitioner
- ReplicationLogCleaner
-TableInputFormatBase (this requires changing documentation and further thought 
about how users ought to close connections)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12783) Create efficient RegionLocator implementation

2014-12-30 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12783:
--

 Summary: Create efficient RegionLocator implementation
 Key: HBASE-12783
 URL: https://issues.apache.org/jira/browse/HBASE-12783
 Project: HBase
  Issue Type: Bug
Affects Versions: 1.0.0, 2.0.0
Reporter: Solomon Duskis
Assignee: Solomon Duskis


A new HRegionLocator that only implements RegionLocator functionality will be 
more efficient to instantiate than a full HTable. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12675) Use interface methods in shell scripts

2014-12-11 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12675:
--

 Summary: Use interface methods in shell scripts
 Key: HBASE-12675
 URL: https://issues.apache.org/jira/browse/HBASE-12675
 Project: HBase
  Issue Type: Bug
Reporter: Solomon Duskis
Assignee: Solomon Duskis
 Fix For: 1.0.0, 2.0.0


There are places in the shell script code that use methods from HTable or 
HConnection or etc.  This patch will fix at least some of them.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12654) Use Table and Admin in comments instead of HTable and HBaseAdmin

2014-12-08 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12654:
--

 Summary: Use Table and Admin in comments instead of HTable and 
HBaseAdmin
 Key: HBASE-12654
 URL: https://issues.apache.org/jira/browse/HBASE-12654
 Project: HBase
  Issue Type: Bug
Reporter: Solomon Duskis
Assignee: Solomon Duskis






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12652) Allow unmanaged connections in MetaTableAccessor

2014-12-07 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12652:
--

 Summary: Allow unmanaged connections in MetaTableAccessor
 Key: HBASE-12652
 URL: https://issues.apache.org/jira/browse/HBASE-12652
 Project: HBase
  Issue Type: Bug
Affects Versions: 1.0.0, 2.0.0
Reporter: Solomon Duskis
Assignee: Solomon Duskis


Passing in an unmanaged connnection to MetaTableAccessor causes an exception.  
MetaTableAccessor should be able to use both unmanaged and managed connections.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12610) Close connection in TableInputFormatBase

2014-12-02 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12610:
--

 Summary: Close connection in TableInputFormatBase
 Key: HBASE-12610
 URL: https://issues.apache.org/jira/browse/HBASE-12610
 Project: HBase
  Issue Type: Bug
Affects Versions: 2.0.0, 0.99.2
Reporter: Solomon Duskis
Assignee: Solomon Duskis


Close the Connection that's passed into TableInputFormatBase.  The easiest way 
to do that seems to be in the RecordReader returned from createRecordReader().  
Since the user can supply a TableRecordReader, a wrapping/composite 
RecordReader should work.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12611) Create autoCommit() method and remove clearBufferOnFail

2014-12-02 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12611:
--

 Summary: Create autoCommit() method and remove clearBufferOnFail
 Key: HBASE-12611
 URL: https://issues.apache.org/jira/browse/HBASE-12611
 Project: HBase
  Issue Type: Bug
Affects Versions: 2.0.0, 0.99.2
Reporter: Solomon Duskis
Assignee: Solomon Duskis


There was quite a bit of good discussion on HBASE-12490 about this topic.  
[~stack] and [~ndimiduk] came to the conclusion that the flush method should be 
called autoCommit() similar to the SQL APIs.   [~ndimiduk]  also suggested that 
clearBufferOnFail should be removed from HTable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12599) Fix NPE in TableMapReduceUtil in branch-1

2014-11-28 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12599:
--

 Summary: Fix NPE in TableMapReduceUtil in branch-1
 Key: HBASE-12599
 URL: https://issues.apache.org/jira/browse/HBASE-12599
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.99.2
Reporter: Solomon Duskis
Assignee: Solomon Duskis


HBASE-12491 fixed an NPE in master for map reduce jobs that use a custom 
bootclasspath.  branch-1 needs the same change.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (HBASE-12276) Remove some HTable() constructors.

2014-11-27 Thread Solomon Duskis (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-12276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Solomon Duskis resolved HBASE-12276.

  Resolution: Duplicate
Release Note: Fixed by other issues.

 Remove some HTable() constructors.
 --

 Key: HBASE-12276
 URL: https://issues.apache.org/jira/browse/HBASE-12276
 Project: HBase
  Issue Type: Bug
Affects Versions: 2.0.0, 0.99.2
Reporter: Solomon Duskis
Assignee: Solomon Duskis

 There are plenty of places where HTable constructors are used instead of 
 ConnectionFactor.createConnection().getTable().  Some of them will be fixed 
 with this issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (HBASE-12017) Use Connection.createTable() instead of HTable constructors.

2014-11-27 Thread Solomon Duskis (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-12017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Solomon Duskis resolved HBASE-12017.

  Resolution: Fixed
Release Note: This was fixed by patches for other issues.

 Use Connection.createTable() instead of HTable constructors.
 

 Key: HBASE-12017
 URL: https://issues.apache.org/jira/browse/HBASE-12017
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.99.0, 2.0.0
Reporter: Solomon Duskis
Assignee: Solomon Duskis
 Fix For: 2.0.0, 0.99.2


 Now that Connection and ConnectionFactory are in place, internal code should 
 use them instead of HTable constructors as per HBASE-11825.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12595) Use Connection.getTable() in table.rb

2014-11-27 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12595:
--

 Summary: Use Connection.getTable() in table.rb
 Key: HBASE-12595
 URL: https://issues.apache.org/jira/browse/HBASE-12595
 Project: HBase
  Issue Type: Bug
Reporter: Solomon Duskis
Assignee: Solomon Duskis
 Fix For: 2.0.0, 0.99.2


Replace HTable.new() with ConnectionFactory.createConnection() in table.rb.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12544) ops_mgt.xml missing in branch-1

2014-11-20 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12544:
--

 Summary: ops_mgt.xml missing in branch-1
 Key: HBASE-12544
 URL: https://issues.apache.org/jira/browse/HBASE-12544
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.99.2
Reporter: Solomon Duskis
Priority: Blocker


ops_mgt.xml is required by docbkx/book.xml, but doesn't exist in branch-1.  
That breaks the build



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12538) Revert table.rb changes from HBASE-11945

2014-11-19 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12538:
--

 Summary: Revert table.rb changes from HBASE-11945
 Key: HBASE-12538
 URL: https://issues.apache.org/jira/browse/HBASE-12538
 Project: HBase
  Issue Type: Bug
Affects Versions: 2.0.0, 0.99.2
Reporter: Solomon Duskis
Assignee: Solomon Duskis


Replacing new HTable(configuration) with 
ConnectionFactory(configuration).getTable() broke tests for table.rb.  
Reverting the table.rb change and fixing a line too long issue in admin.rb.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12514) Cleanup HFileOutputFormat legacy code

2014-11-18 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12514:
--

 Summary: Cleanup HFileOutputFormat legacy code
 Key: HBASE-12514
 URL: https://issues.apache.org/jira/browse/HBASE-12514
 Project: HBase
  Issue Type: Bug
Reporter: Solomon Duskis
Assignee: Solomon Duskis
 Fix For: 0.99.2


HFileOutputFormat methods route to their HFileOutputFormat2 counterparts.  
Replace all calls to HFileOutputFormat with HFileOutputFormat2 equivalents.

In the spirit of cleanup, add @Override annotations and helper methods that do 
not require the use of deprecated classes such as HTable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12520) Add protected getters on TableInputFormatBase

2014-11-18 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12520:
--

 Summary: Add protected getters on TableInputFormatBase
 Key: HBASE-12520
 URL: https://issues.apache.org/jira/browse/HBASE-12520
 Project: HBase
  Issue Type: Bug
Reporter: Solomon Duskis
Assignee: Solomon Duskis






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12490) Add setAutoFlush(boolean, boolean) to Table

2014-11-17 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12490:
--

 Summary: Add setAutoFlush(boolean, boolean) to Table
 Key: HBASE-12490
 URL: https://issues.apache.org/jira/browse/HBASE-12490
 Project: HBase
  Issue Type: Bug
Affects Versions: 2.0.0, 0.99.2
Reporter: Solomon Duskis


HTable.setAutoFlush(false, true) is used in a handful of places.  Given the use 
of the method, one possible improvement is to add the setAutoFlush method to 
the Table interface so that Tables don't have to be cast to HTable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12491) TableMapReduceUtil.findContainingJar() NPE

2014-11-17 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12491:
--

 Summary: TableMapReduceUtil.findContainingJar() NPE
 Key: HBASE-12491
 URL: https://issues.apache.org/jira/browse/HBASE-12491
 Project: HBase
  Issue Type: Bug
Affects Versions: 2.0.0, 0.99.2
Reporter: Solomon Duskis
Assignee: Solomon Duskis


Adding a bootclasspath library causes an NPE when running hbase map reduce jobs 
in TableMapReduceUtil.findContainingJar().  Classes in the library added to the 
bootclasspath get a null classpathLoader.   Check for a null loader in  
TableMapReduceUtil.findContainingJar().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12495) Use interfaces in the shell scripts

2014-11-17 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12495:
--

 Summary: Use interfaces in the shell scripts
 Key: HBASE-12495
 URL: https://issues.apache.org/jira/browse/HBASE-12495
 Project: HBase
  Issue Type: Bug
Reporter: Solomon Duskis
Assignee: Solomon Duskis
 Fix For: 2.0.0, 0.99.2


Change some explicit calls to HBaseAdmin and HTable to interface counterparts 
in the hbase shell scripts



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12422) Use ConnectionFactory in HTable constructors

2014-11-04 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12422:
--

 Summary: Use ConnectionFactory in HTable constructors
 Key: HBASE-12422
 URL: https://issues.apache.org/jira/browse/HBASE-12422
 Project: HBase
  Issue Type: Bug
Affects Versions: 2.0.0, 0.99.2
Reporter: Solomon Duskis
Assignee: Solomon Duskis


Use ConnectionFactory in HTable instead of ConnectionManager.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12423) Use a non-managed Table in TableOutputFormat

2014-11-04 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12423:
--

 Summary: Use a non-managed Table in TableOutputFormat
 Key: HBASE-12423
 URL: https://issues.apache.org/jira/browse/HBASE-12423
 Project: HBase
  Issue Type: Bug
Affects Versions: 2.0.0, 0.99.2
Reporter: Solomon Duskis
Assignee: Solomon Duskis


TableOutputFormat uses a new HTable() that gets a managed connection.  Add in a 
new Connection variable, use ConnectionFactor to retrieve the connection and 
convert the HTable to a Table.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12307) Remove unused Imports

2014-10-21 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12307:
--

 Summary: Remove unused Imports
 Key: HBASE-12307
 URL: https://issues.apache.org/jira/browse/HBASE-12307
 Project: HBase
  Issue Type: Bug
Affects Versions: 2.0.0, 0.99.2
Reporter: Solomon Duskis
Assignee: Solomon Duskis
Priority: Minor


Remove all of the unused imports.  I'll be using eclipse to do that.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12308) Fix typo in hbase-rest profile name

2014-10-21 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12308:
--

 Summary: Fix typo in hbase-rest profile name
 Key: HBASE-12308
 URL: https://issues.apache.org/jira/browse/HBASE-12308
 Project: HBase
  Issue Type: Bug
Affects Versions: 2.0.0, 0.99.2
Reporter: Solomon Duskis
Assignee: Solomon Duskis
Priority: Minor


Change skipRestTets to skipRestTests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12267) Replace HTable constructor in mapreduce.* classes with ConnectionFactory

2014-10-15 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12267:
--

 Summary: Replace HTable constructor in mapreduce.* classes with 
ConnectionFactory 
 Key: HBASE-12267
 URL: https://issues.apache.org/jira/browse/HBASE-12267
 Project: HBase
  Issue Type: Bug
Reporter: Solomon Duskis
Assignee: Solomon Duskis
 Fix For: 2.0.0, 0.99.2






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12276) Remove some HTable() constructors.

2014-10-15 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12276:
--

 Summary: Remove some HTable() constructors.
 Key: HBASE-12276
 URL: https://issues.apache.org/jira/browse/HBASE-12276
 Project: HBase
  Issue Type: Bug
Affects Versions: 2.0.0, 0.99.2
Reporter: Solomon Duskis
Assignee: Solomon Duskis


There are plenty of places where HTable constructors are used instead of 
ConnectionFactor.createConnection().getTable().  Some of them will be fixed 
with this issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12247) Use a user managed connection in TableInputFormat

2014-10-13 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12247:
--

 Summary: Use a user managed connection in TableInputFormat
 Key: HBASE-12247
 URL: https://issues.apache.org/jira/browse/HBASE-12247
 Project: HBase
  Issue Type: Bug
Affects Versions: 2.0.0, 0.99.2
Reporter: Solomon Duskis






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12155) Replace uses of HTableInterface with Table

2014-10-02 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12155:
--

 Summary: Replace uses of HTableInterface with Table
 Key: HBASE-12155
 URL: https://issues.apache.org/jira/browse/HBASE-12155
 Project: HBase
  Issue Type: New Feature
Affects Versions: 2.0.0, 0.99.1
Reporter: Solomon Duskis
Assignee: Solomon Duskis






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (HBASE-12155) Replace uses of HTableInterface with Table

2014-10-02 Thread Solomon Duskis (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-12155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Solomon Duskis resolved HBASE-12155.

Resolution: Invalid

 Replace uses of HTableInterface with Table
 --

 Key: HBASE-12155
 URL: https://issues.apache.org/jira/browse/HBASE-12155
 Project: HBase
  Issue Type: New Feature
Affects Versions: 2.0.0, 0.99.1
Reporter: Solomon Duskis
Assignee: Solomon Duskis





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12157) Add isTableAvailable() to the Connection interface.

2014-10-02 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12157:
--

 Summary: Add isTableAvailable() to the Connection interface.
 Key: HBASE-12157
 URL: https://issues.apache.org/jira/browse/HBASE-12157
 Project: HBase
  Issue Type: Bug
Affects Versions: 2.0.0, 0.99.1
Reporter: Solomon Duskis
Assignee: Solomon Duskis






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (HBASE-12157) Add isTableAvailable() to the Connection interface.

2014-10-02 Thread Solomon Duskis (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-12157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Solomon Duskis resolved HBASE-12157.

Resolution: Invalid

 Add isTableAvailable() to the Connection interface.
 ---

 Key: HBASE-12157
 URL: https://issues.apache.org/jira/browse/HBASE-12157
 Project: HBase
  Issue Type: Bug
Affects Versions: 2.0.0, 0.99.1
Reporter: Solomon Duskis
Assignee: Solomon Duskis





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12143) Minor fix for Table code

2014-10-01 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12143:
--

 Summary: Minor fix for Table code
 Key: HBASE-12143
 URL: https://issues.apache.org/jira/browse/HBASE-12143
 Project: HBase
  Issue Type: New Feature
Affects Versions: 2.0.0, 0.99.1
Reporter: Solomon Duskis
Assignee: Solomon Duskis
Priority: Minor


Removing unused imports and updating a comment reference in Table.java from 
HConnection to Connection.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12127) Move the core Connection creation functionality into ConnectionFactory

2014-09-30 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12127:
--

 Summary: Move the core Connection creation functionality into 
ConnectionFactory
 Key: HBASE-12127
 URL: https://issues.apache.org/jira/browse/HBASE-12127
 Project: HBase
  Issue Type: New Feature
Affects Versions: 0.99.1
Reporter: Solomon Duskis
Assignee: Solomon Duskis






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12083) Deprecate HBaseAdmin.getTable() in favor of Connection.getTable()

2014-09-24 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12083:
--

 Summary: Deprecate HBaseAdmin.getTable() in favor of 
Connection.getTable()
 Key: HBASE-12083
 URL: https://issues.apache.org/jira/browse/HBASE-12083
 Project: HBase
  Issue Type: Bug
Reporter: Solomon Duskis
Assignee: Solomon Duskis






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12042) Replace internal uses of HTable(Configuration, String) with HTable(Configuration, TableName)

2014-09-21 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12042:
--

 Summary: Replace internal uses of HTable(Configuration, String) 
with HTable(Configuration, TableName)
 Key: HBASE-12042
 URL: https://issues.apache.org/jira/browse/HBASE-12042
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.99.0, 2.0.0
Reporter: Solomon Duskis
Assignee: Solomon Duskis


Replace internal uses of HTable(Configuration, String) with 
HTable(Configuration, TableName)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12038) Replace internal uses of signatures with byte[] and String tableNames to use the TableName equivalents.

2014-09-20 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12038:
--

 Summary: Replace internal uses of signatures with byte[] and 
String tableNames to use the TableName equivalents. 
 Key: HBASE-12038
 URL: https://issues.apache.org/jira/browse/HBASE-12038
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.99.0, 2.0.0
Reporter: Solomon Duskis
Assignee: Solomon Duskis


Signatures with byte[] and String table name variables were deprecated in favor 
of a TableName input.  Replace all byte[] and String table name variables with 
TableName types.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12029) Use Table and RegionLocator in HTable.getRegionLocations()

2014-09-19 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12029:
--

 Summary: Use Table and RegionLocator in 
HTable.getRegionLocations() 
 Key: HBASE-12029
 URL: https://issues.apache.org/jira/browse/HBASE-12029
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.99.0, 2.0.0
Reporter: Solomon Duskis
Assignee: Solomon Duskis


HTable.getRegionLocations() is an internal deprecated API.  There are plenty of 
internal uses of the method, and it would be ideal to use the Table and 
RegionLocator interfaces instead of the HTable method.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-12017) Use Connection.createTable() instead of HTable constructors.

2014-09-18 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-12017:
--

 Summary: Use Connection.createTable() instead of HTable 
constructors.
 Key: HBASE-12017
 URL: https://issues.apache.org/jira/browse/HBASE-12017
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.99.0, 2.0.0
Reporter: Solomon Duskis
Assignee: Solomon Duskis


Now that Connection and ConnectionFactory are in place, internal code should 
use them instead of HTable constructors as per HBASE-11825.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-11995) Use Connection and ConnectionFactory where possible

2014-09-16 Thread Solomon Duskis (JIRA)
Solomon Duskis created HBASE-11995:
--

 Summary: Use Connection and ConnectionFactory where possible
 Key: HBASE-11995
 URL: https://issues.apache.org/jira/browse/HBASE-11995
 Project: HBase
  Issue Type: New Feature
Reporter: Solomon Duskis
Assignee: Solomon Duskis
Priority: Critical
 Fix For: 2.0.0, 0.99.0


HBASE-11825 introduced Connection and ConnectionFactory.  Uses of HConnection 
and HConnectionManager should be migrated to use Connection and 
ConnectionFactory, if possible.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)