[jira] [Updated] (HBASE-10462) Recategorize some of the client facing Public / Private interfaces

2018-04-03 Thread stack (JIRA)

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

stack updated HBASE-10462:
--
Issue Type: Umbrella  (was: Bug)

> Recategorize some of the client facing Public / Private interfaces
> --
>
> Key: HBASE-10462
> URL: https://issues.apache.org/jira/browse/HBASE-10462
> Project: HBase
>  Issue Type: Umbrella
>  Components: Client
>Reporter: Enis Soztutar
>Assignee: Enis Soztutar
>Priority: Blocker
> Fix For: 2.0.0-alpha-3, 2.0.0
>
> Attachments: hbase-10462_wip1.patch
>
>
> We should go over the list of InterfaceAudience.Public interfaces one more to 
> remove those that are NOT indeed public interfaces. 
> From current trunk, we should change these from public to private: 
> {code}
> ReversedScannerCallable
> ReversedClientScanner
> ClientScanner  (note that ResultScanner is public interface, while 
> ClientScanner should not be) 
> ClientSmallScanner
> TableSnapshotScanner -> We need a way of constructing this since it cannot be 
> constructed from HConnection / HTable. Maybe a basic factory. 
> {code}
> These are not marked: 
> {code}
> Registry, 
> ZooKeeperRegistry
> RpcRetryingCallerFactory
> ZooKeeperKeepAliveConnection
> AsyncProcess
> DelegatingRetryingCallable
> HConnectionKey
> MasterKeepAliveConnection
> MultiServerCallable
> {code}
> We can think about making these public interface: 
> {code}
> ScanMetrics
> {code}
> Add javadoc to: 
> {code}
> Query
> {code}
> We can add a test to find out all classes in client package to check for 
> interface mark. 
> We can extend this to brainstorm on the preferred API options. We probably 
> want the clients to use HTableInterface, instead of HTable everywhere. 
> HConnectionManager comes with bazillion methods which are not intended for 
> public use, etc. 
> Raising this as blocker to 1.0



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HBASE-10462) Recategorize some of the client facing Public / Private interfaces

2018-03-21 Thread stack (JIRA)

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

stack updated HBASE-10462:
--
Fix Version/s: 2.0.0

> Recategorize some of the client facing Public / Private interfaces
> --
>
> Key: HBASE-10462
> URL: https://issues.apache.org/jira/browse/HBASE-10462
> Project: HBase
>  Issue Type: Bug
>  Components: Client
>Reporter: Enis Soztutar
>Assignee: Enis Soztutar
>Priority: Blocker
> Fix For: 2.0.0-alpha-3, 2.0.0
>
> Attachments: hbase-10462_wip1.patch
>
>
> We should go over the list of InterfaceAudience.Public interfaces one more to 
> remove those that are NOT indeed public interfaces. 
> From current trunk, we should change these from public to private: 
> {code}
> ReversedScannerCallable
> ReversedClientScanner
> ClientScanner  (note that ResultScanner is public interface, while 
> ClientScanner should not be) 
> ClientSmallScanner
> TableSnapshotScanner -> We need a way of constructing this since it cannot be 
> constructed from HConnection / HTable. Maybe a basic factory. 
> {code}
> These are not marked: 
> {code}
> Registry, 
> ZooKeeperRegistry
> RpcRetryingCallerFactory
> ZooKeeperKeepAliveConnection
> AsyncProcess
> DelegatingRetryingCallable
> HConnectionKey
> MasterKeepAliveConnection
> MultiServerCallable
> {code}
> We can think about making these public interface: 
> {code}
> ScanMetrics
> {code}
> Add javadoc to: 
> {code}
> Query
> {code}
> We can add a test to find out all classes in client package to check for 
> interface mark. 
> We can extend this to brainstorm on the preferred API options. We probably 
> want the clients to use HTableInterface, instead of HTable everywhere. 
> HConnectionManager comes with bazillion methods which are not intended for 
> public use, etc. 
> Raising this as blocker to 1.0



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HBASE-10462) Recategorize some of the client facing Public / Private interfaces

2017-08-17 Thread Mike Drob (JIRA)

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

Mike Drob updated HBASE-10462:
--
Fix Version/s: (was: 2.0.0)
   2.0.0-alpha-3

> Recategorize some of the client facing Public / Private interfaces
> --
>
> Key: HBASE-10462
> URL: https://issues.apache.org/jira/browse/HBASE-10462
> Project: HBase
>  Issue Type: Bug
>  Components: Client
>Reporter: Enis Soztutar
>Assignee: Enis Soztutar
>Priority: Blocker
> Fix For: 2.0.0-alpha-3
>
> Attachments: hbase-10462_wip1.patch
>
>
> We should go over the list of InterfaceAudience.Public interfaces one more to 
> remove those that are NOT indeed public interfaces. 
> From current trunk, we should change these from public to private: 
> {code}
> ReversedScannerCallable
> ReversedClientScanner
> ClientScanner  (note that ResultScanner is public interface, while 
> ClientScanner should not be) 
> ClientSmallScanner
> TableSnapshotScanner -> We need a way of constructing this since it cannot be 
> constructed from HConnection / HTable. Maybe a basic factory. 
> {code}
> These are not marked: 
> {code}
> Registry, 
> ZooKeeperRegistry
> RpcRetryingCallerFactory
> ZooKeeperKeepAliveConnection
> AsyncProcess
> DelegatingRetryingCallable
> HConnectionKey
> MasterKeepAliveConnection
> MultiServerCallable
> {code}
> We can think about making these public interface: 
> {code}
> ScanMetrics
> {code}
> Add javadoc to: 
> {code}
> Query
> {code}
> We can add a test to find out all classes in client package to check for 
> interface mark. 
> We can extend this to brainstorm on the preferred API options. We probably 
> want the clients to use HTableInterface, instead of HTable everywhere. 
> HConnectionManager comes with bazillion methods which are not intended for 
> public use, etc. 
> Raising this as blocker to 1.0



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HBASE-10462) Recategorize some of the client facing Public / Private interfaces

2017-08-10 Thread stack (JIRA)

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

stack updated HBASE-10462:
--
Priority: Blocker  (was: Critical)

> Recategorize some of the client facing Public / Private interfaces
> --
>
> Key: HBASE-10462
> URL: https://issues.apache.org/jira/browse/HBASE-10462
> Project: HBase
>  Issue Type: Bug
>  Components: Client
>Reporter: Enis Soztutar
>Assignee: Enis Soztutar
>Priority: Blocker
> Fix For: 2.0.0
>
> Attachments: hbase-10462_wip1.patch
>
>
> We should go over the list of InterfaceAudience.Public interfaces one more to 
> remove those that are NOT indeed public interfaces. 
> From current trunk, we should change these from public to private: 
> {code}
> ReversedScannerCallable
> ReversedClientScanner
> ClientScanner  (note that ResultScanner is public interface, while 
> ClientScanner should not be) 
> ClientSmallScanner
> TableSnapshotScanner -> We need a way of constructing this since it cannot be 
> constructed from HConnection / HTable. Maybe a basic factory. 
> {code}
> These are not marked: 
> {code}
> Registry, 
> ZooKeeperRegistry
> RpcRetryingCallerFactory
> ZooKeeperKeepAliveConnection
> AsyncProcess
> DelegatingRetryingCallable
> HConnectionKey
> MasterKeepAliveConnection
> MultiServerCallable
> {code}
> We can think about making these public interface: 
> {code}
> ScanMetrics
> {code}
> Add javadoc to: 
> {code}
> Query
> {code}
> We can add a test to find out all classes in client package to check for 
> interface mark. 
> We can extend this to brainstorm on the preferred API options. We probably 
> want the clients to use HTableInterface, instead of HTable everywhere. 
> HConnectionManager comes with bazillion methods which are not intended for 
> public use, etc. 
> Raising this as blocker to 1.0



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HBASE-10462) Recategorize some of the client facing Public / Private interfaces

2017-06-30 Thread stack (JIRA)

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

stack updated HBASE-10462:
--
Priority: Critical  (was: Major)

> Recategorize some of the client facing Public / Private interfaces
> --
>
> Key: HBASE-10462
> URL: https://issues.apache.org/jira/browse/HBASE-10462
> Project: HBase
>  Issue Type: Bug
>  Components: Client
>Reporter: Enis Soztutar
>Assignee: Enis Soztutar
>Priority: Critical
> Fix For: 2.0.0
>
> Attachments: hbase-10462_wip1.patch
>
>
> We should go over the list of InterfaceAudience.Public interfaces one more to 
> remove those that are NOT indeed public interfaces. 
> From current trunk, we should change these from public to private: 
> {code}
> ReversedScannerCallable
> ReversedClientScanner
> ClientScanner  (note that ResultScanner is public interface, while 
> ClientScanner should not be) 
> ClientSmallScanner
> TableSnapshotScanner -> We need a way of constructing this since it cannot be 
> constructed from HConnection / HTable. Maybe a basic factory. 
> {code}
> These are not marked: 
> {code}
> Registry, 
> ZooKeeperRegistry
> RpcRetryingCallerFactory
> ZooKeeperKeepAliveConnection
> AsyncProcess
> DelegatingRetryingCallable
> HConnectionKey
> MasterKeepAliveConnection
> MultiServerCallable
> {code}
> We can think about making these public interface: 
> {code}
> ScanMetrics
> {code}
> Add javadoc to: 
> {code}
> Query
> {code}
> We can add a test to find out all classes in client package to check for 
> interface mark. 
> We can extend this to brainstorm on the preferred API options. We probably 
> want the clients to use HTableInterface, instead of HTable everywhere. 
> HConnectionManager comes with bazillion methods which are not intended for 
> public use, etc. 
> Raising this as blocker to 1.0



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HBASE-10462) Recategorize some of the client facing Public / Private interfaces

2015-07-02 Thread Sean Busbey (JIRA)

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

Sean Busbey updated HBASE-10462:

Fix Version/s: (was: 1.2.0)

 Recategorize some of the client facing Public / Private interfaces
 --

 Key: HBASE-10462
 URL: https://issues.apache.org/jira/browse/HBASE-10462
 Project: HBase
  Issue Type: Bug
  Components: Client
Reporter: Enis Soztutar
Assignee: Enis Soztutar
 Fix For: 2.0.0

 Attachments: hbase-10462_wip1.patch


 We should go over the list of InterfaceAudience.Public interfaces one more to 
 remove those that are NOT indeed public interfaces. 
 From current trunk, we should change these from public to private: 
 {code}
 ReversedScannerCallable
 ReversedClientScanner
 ClientScanner  (note that ResultScanner is public interface, while 
 ClientScanner should not be) 
 ClientSmallScanner
 TableSnapshotScanner - We need a way of constructing this since it cannot be 
 constructed from HConnection / HTable. Maybe a basic factory. 
 {code}
 These are not marked: 
 {code}
 Registry, 
 ZooKeeperRegistry
 RpcRetryingCallerFactory
 ZooKeeperKeepAliveConnection
 AsyncProcess
 DelegatingRetryingCallable
 HConnectionKey
 MasterKeepAliveConnection
 MultiServerCallable
 {code}
 We can think about making these public interface: 
 {code}
 ScanMetrics
 {code}
 Add javadoc to: 
 {code}
 Query
 {code}
 We can add a test to find out all classes in client package to check for 
 interface mark. 
 We can extend this to brainstorm on the preferred API options. We probably 
 want the clients to use HTableInterface, instead of HTable everywhere. 
 HConnectionManager comes with bazillion methods which are not intended for 
 public use, etc. 
 Raising this as blocker to 1.0



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


[jira] [Updated] (HBASE-10462) Recategorize some of the client facing Public / Private interfaces

2015-04-27 Thread Nick Dimiduk (JIRA)

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

Nick Dimiduk updated HBASE-10462:
-
 Priority: Major  (was: Blocker)
Fix Version/s: (was: 1.1.0)
   1.2.0

Dropping to major based on [~enis]'s comment. Fix if I got that wrong.

 Recategorize some of the client facing Public / Private interfaces
 --

 Key: HBASE-10462
 URL: https://issues.apache.org/jira/browse/HBASE-10462
 Project: HBase
  Issue Type: Bug
  Components: Client
Reporter: Enis Soztutar
Assignee: Enis Soztutar
 Fix For: 2.0.0, 1.2.0

 Attachments: hbase-10462_wip1.patch


 We should go over the list of InterfaceAudience.Public interfaces one more to 
 remove those that are NOT indeed public interfaces. 
 From current trunk, we should change these from public to private: 
 {code}
 ReversedScannerCallable
 ReversedClientScanner
 ClientScanner  (note that ResultScanner is public interface, while 
 ClientScanner should not be) 
 ClientSmallScanner
 TableSnapshotScanner - We need a way of constructing this since it cannot be 
 constructed from HConnection / HTable. Maybe a basic factory. 
 {code}
 These are not marked: 
 {code}
 Registry, 
 ZooKeeperRegistry
 RpcRetryingCallerFactory
 ZooKeeperKeepAliveConnection
 AsyncProcess
 DelegatingRetryingCallable
 HConnectionKey
 MasterKeepAliveConnection
 MultiServerCallable
 {code}
 We can think about making these public interface: 
 {code}
 ScanMetrics
 {code}
 Add javadoc to: 
 {code}
 Query
 {code}
 We can add a test to find out all classes in client package to check for 
 interface mark. 
 We can extend this to brainstorm on the preferred API options. We probably 
 want the clients to use HTableInterface, instead of HTable everywhere. 
 HConnectionManager comes with bazillion methods which are not intended for 
 public use, etc. 
 Raising this as blocker to 1.0



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


[jira] [Updated] (HBASE-10462) Recategorize some of the client facing Public / Private interfaces

2014-12-17 Thread Enis Soztutar (JIRA)

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

Enis Soztutar updated HBASE-10462:
--
Fix Version/s: (was: 1.0.0)
   1.1.0

 Recategorize some of the client facing Public / Private interfaces
 --

 Key: HBASE-10462
 URL: https://issues.apache.org/jira/browse/HBASE-10462
 Project: HBase
  Issue Type: Bug
  Components: Client
Reporter: Enis Soztutar
Assignee: Enis Soztutar
Priority: Blocker
 Fix For: 2.0.0, 1.1.0

 Attachments: hbase-10462_wip1.patch


 We should go over the list of InterfaceAudience.Public interfaces one more to 
 remove those that are NOT indeed public interfaces. 
 From current trunk, we should change these from public to private: 
 {code}
 ReversedScannerCallable
 ReversedClientScanner
 ClientScanner  (note that ResultScanner is public interface, while 
 ClientScanner should not be) 
 ClientSmallScanner
 TableSnapshotScanner - We need a way of constructing this since it cannot be 
 constructed from HConnection / HTable. Maybe a basic factory. 
 {code}
 These are not marked: 
 {code}
 Registry, 
 ZooKeeperRegistry
 RpcRetryingCallerFactory
 ZooKeeperKeepAliveConnection
 AsyncProcess
 DelegatingRetryingCallable
 HConnectionKey
 MasterKeepAliveConnection
 MultiServerCallable
 {code}
 We can think about making these public interface: 
 {code}
 ScanMetrics
 {code}
 Add javadoc to: 
 {code}
 Query
 {code}
 We can add a test to find out all classes in client package to check for 
 interface mark. 
 We can extend this to brainstorm on the preferred API options. We probably 
 want the clients to use HTableInterface, instead of HTable everywhere. 
 HConnectionManager comes with bazillion methods which are not intended for 
 public use, etc. 
 Raising this as blocker to 1.0



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


[jira] [Updated] (HBASE-10462) Recategorize some of the client facing Public / Private interfaces

2014-12-02 Thread Enis Soztutar (JIRA)

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

Enis Soztutar updated HBASE-10462:
--
Fix Version/s: (was: 0.99.2)
   1.0.0

 Recategorize some of the client facing Public / Private interfaces
 --

 Key: HBASE-10462
 URL: https://issues.apache.org/jira/browse/HBASE-10462
 Project: HBase
  Issue Type: Bug
  Components: Client
Reporter: Enis Soztutar
Assignee: Enis Soztutar
Priority: Blocker
 Fix For: 1.0.0, 2.0.0

 Attachments: hbase-10462_wip1.patch


 We should go over the list of InterfaceAudience.Public interfaces one more to 
 remove those that are NOT indeed public interfaces. 
 From current trunk, we should change these from public to private: 
 {code}
 ReversedScannerCallable
 ReversedClientScanner
 ClientScanner  (note that ResultScanner is public interface, while 
 ClientScanner should not be) 
 ClientSmallScanner
 TableSnapshotScanner - We need a way of constructing this since it cannot be 
 constructed from HConnection / HTable. Maybe a basic factory. 
 {code}
 These are not marked: 
 {code}
 Registry, 
 ZooKeeperRegistry
 RpcRetryingCallerFactory
 ZooKeeperKeepAliveConnection
 AsyncProcess
 DelegatingRetryingCallable
 HConnectionKey
 MasterKeepAliveConnection
 MultiServerCallable
 {code}
 We can think about making these public interface: 
 {code}
 ScanMetrics
 {code}
 Add javadoc to: 
 {code}
 Query
 {code}
 We can add a test to find out all classes in client package to check for 
 interface mark. 
 We can extend this to brainstorm on the preferred API options. We probably 
 want the clients to use HTableInterface, instead of HTable everywhere. 
 HConnectionManager comes with bazillion methods which are not intended for 
 public use, etc. 
 Raising this as blocker to 1.0



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


[jira] [Updated] (HBASE-10462) Recategorize some of the client facing Public / Private interfaces

2014-10-11 Thread Enis Soztutar (JIRA)

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

Enis Soztutar updated HBASE-10462:
--
Fix Version/s: (was: 0.99.1)
   0.99.2

 Recategorize some of the client facing Public / Private interfaces
 --

 Key: HBASE-10462
 URL: https://issues.apache.org/jira/browse/HBASE-10462
 Project: HBase
  Issue Type: Bug
  Components: Client
Reporter: Enis Soztutar
Assignee: Enis Soztutar
Priority: Blocker
 Fix For: 2.0.0, 0.99.2

 Attachments: hbase-10462_wip1.patch


 We should go over the list of InterfaceAudience.Public interfaces one more to 
 remove those that are NOT indeed public interfaces. 
 From current trunk, we should change these from public to private: 
 {code}
 ReversedScannerCallable
 ReversedClientScanner
 ClientScanner  (note that ResultScanner is public interface, while 
 ClientScanner should not be) 
 ClientSmallScanner
 TableSnapshotScanner - We need a way of constructing this since it cannot be 
 constructed from HConnection / HTable. Maybe a basic factory. 
 {code}
 These are not marked: 
 {code}
 Registry, 
 ZooKeeperRegistry
 RpcRetryingCallerFactory
 ZooKeeperKeepAliveConnection
 AsyncProcess
 DelegatingRetryingCallable
 HConnectionKey
 MasterKeepAliveConnection
 MultiServerCallable
 {code}
 We can think about making these public interface: 
 {code}
 ScanMetrics
 {code}
 Add javadoc to: 
 {code}
 Query
 {code}
 We can add a test to find out all classes in client package to check for 
 interface mark. 
 We can extend this to brainstorm on the preferred API options. We probably 
 want the clients to use HTableInterface, instead of HTable everywhere. 
 HConnectionManager comes with bazillion methods which are not intended for 
 public use, etc. 
 Raising this as blocker to 1.0



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


[jira] [Updated] (HBASE-10462) Recategorize some of the client facing Public / Private interfaces

2014-09-08 Thread Enis Soztutar (JIRA)

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

Enis Soztutar updated HBASE-10462:
--
Fix Version/s: (was: 0.99.0)
   0.99.1
   2.0.0

 Recategorize some of the client facing Public / Private interfaces
 --

 Key: HBASE-10462
 URL: https://issues.apache.org/jira/browse/HBASE-10462
 Project: HBase
  Issue Type: Bug
  Components: Client
Reporter: Enis Soztutar
Assignee: Enis Soztutar
Priority: Blocker
 Fix For: 2.0.0, 0.99.1

 Attachments: hbase-10462_wip1.patch


 We should go over the list of InterfaceAudience.Public interfaces one more to 
 remove those that are NOT indeed public interfaces. 
 From current trunk, we should change these from public to private: 
 {code}
 ReversedScannerCallable
 ReversedClientScanner
 ClientScanner  (note that ResultScanner is public interface, while 
 ClientScanner should not be) 
 ClientSmallScanner
 TableSnapshotScanner - We need a way of constructing this since it cannot be 
 constructed from HConnection / HTable. Maybe a basic factory. 
 {code}
 These are not marked: 
 {code}
 Registry, 
 ZooKeeperRegistry
 RpcRetryingCallerFactory
 ZooKeeperKeepAliveConnection
 AsyncProcess
 DelegatingRetryingCallable
 HConnectionKey
 MasterKeepAliveConnection
 MultiServerCallable
 {code}
 We can think about making these public interface: 
 {code}
 ScanMetrics
 {code}
 Add javadoc to: 
 {code}
 Query
 {code}
 We can add a test to find out all classes in client package to check for 
 interface mark. 
 We can extend this to brainstorm on the preferred API options. We probably 
 want the clients to use HTableInterface, instead of HTable everywhere. 
 HConnectionManager comes with bazillion methods which are not intended for 
 public use, etc. 
 Raising this as blocker to 1.0



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


[jira] [Updated] (HBASE-10462) Recategorize some of the client facing Public / Private interfaces

2014-03-03 Thread Enis Soztutar (JIRA)

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

Enis Soztutar updated HBASE-10462:
--

Fix Version/s: (was: 1.0.0)
   0.99.0

 Recategorize some of the client facing Public / Private interfaces
 --

 Key: HBASE-10462
 URL: https://issues.apache.org/jira/browse/HBASE-10462
 Project: HBase
  Issue Type: Bug
  Components: Client
Reporter: Enis Soztutar
Assignee: Enis Soztutar
Priority: Blocker
 Fix For: 0.99.0


 We should go over the list of InterfaceAudience.Public interfaces one more to 
 remove those that are NOT indeed public interfaces. 
 From current trunk, we should change these from public to private: 
 {code}
 ReversedScannerCallable
 ReversedClientScanner
 ClientScanner  (note that ResultScanner is public interface, while 
 ClientScanner should not be) 
 ClientSmallScanner
 TableSnapshotScanner - We need a way of constructing this since it cannot be 
 constructed from HConnection / HTable. Maybe a basic factory. 
 {code}
 These are not marked: 
 {code}
 Registry, 
 ZooKeeperRegistry
 RpcRetryingCallerFactory
 ZooKeeperKeepAliveConnection
 AsyncProcess
 DelegatingRetryingCallable
 HConnectionKey
 MasterKeepAliveConnection
 MultiServerCallable
 {code}
 We can think about making these public interface: 
 {code}
 ScanMetrics
 {code}
 Add javadoc to: 
 {code}
 Query
 {code}
 We can add a test to find out all classes in client package to check for 
 interface mark. 
 We can extend this to brainstorm on the preferred API options. We probably 
 want the clients to use HTableInterface, instead of HTable everywhere. 
 HConnectionManager comes with bazillion methods which are not intended for 
 public use, etc. 
 Raising this as blocker to 1.0



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10462) Recategorize some of the client facing Public / Private interfaces

2014-03-03 Thread Enis Soztutar (JIRA)

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

Enis Soztutar updated HBASE-10462:
--

Attachment: hbase-10462_wip1.patch

I've been playing with this and I have a patch that shows which has a unit test 
to check which classes in the hbase-client dependency tree and in hbase 
packages do not have InterfaceAudience annotation. 

Unfortunately, the patch needs a hadoop with HADOOP-10374, so that we can 
enable this as a unit test.

However, it is still useful to run manually for now so that we can fill up the 
missing categorizations. 

{code}
  // find classes that are:
  // AND are public
  // NOT test classes
  // AND NOT generated classes
  // AND are NOT annotated with InterfaceAudience
{code}

Results in: 
{code}
2014-03-03 17:24:57,502 DEBUG [main] hbase.ClassFinder(147): Will look for 
classes in 
/Users/enis/projects/hbase/hbase-client/target/classes/org/apache/hadoop/hbase
2014-03-03 17:24:57,506 DEBUG [main] hbase.ClassFinder(147): Will look for 
classes in 
/Users/enis/.m2/repository/org/apache/hbase/hbase-common/0.99.0-SNAPSHOT/hbase-common-0.99.0-SNAPSHOT.jar
2014-03-03 17:24:57,506 DEBUG [main] hbase.ClassFinder(147): Will look for 
classes in 
/Users/enis/.m2/repository/org/apache/hbase/hbase-protocol/0.99.0-SNAPSHOT/hbase-protocol-0.99.0-SNAPSHOT.jar
2014-03-03 17:24:58,614 INFO  [main] hbase.TestAPIStability(135): These are the 
classes that DO NOT have @InterfaceAudience annotation:
2014-03-03 17:24:58,614 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.security.SecurityInfo
2014-03-03 17:24:58,614 INFO  [main] hbase.TestAPIStability(137): interface 
org.apache.hadoop.hbase.client.AsyncProcess$AsyncRequestFuture
2014-03-03 17:24:58,614 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.security.SaslUtil
2014-03-03 17:24:58,615 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.exceptions.UnknownProtocolException
2014-03-03 17:24:58,615 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.security.access.Permission
2014-03-03 17:24:58,615 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.replication.ReplicationQueuesClientZKImpl
2014-03-03 17:24:58,615 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.replication.ReplicationPeersZKImpl$PeerRegionServerListener
2014-03-03 17:24:58,615 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.ipc.IPCUtil$CellScannerButNoCodecException
2014-03-03 17:24:58,615 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.util.ChecksumType
2014-03-03 17:24:58,615 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.io.ImmutableBytesWritable$Comparator
2014-03-03 17:24:58,616 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.security.access.Permission$Action
2014-03-03 17:24:58,616 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.security.SaslStatus
2014-03-03 17:24:58,617 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.zookeeper.ZKUtil$ZKUtilOp$SetData
2014-03-03 17:24:58,617 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.util.Base64$Base64OutputStream
2014-03-03 17:24:58,618 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.replication.ReplicationPeersZKImpl
2014-03-03 17:24:58,618 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.security.token.AuthenticationTokenSelector
2014-03-03 17:24:58,618 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.io.LimitInputStream
2014-03-03 17:24:58,618 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.replication.ReplicationTrackerZKImpl$OtherRegionServerWatcher
2014-03-03 17:24:58,618 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.exceptions.FailedSanityCheckException
2014-03-03 17:24:58,618 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.security.UserProvider
2014-03-03 17:24:58,618 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.util.ConcatenatedLists$Iterator
2014-03-03 17:24:58,619 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.util.ConcatenatedLists
2014-03-03 17:24:58,619 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.ipc.ServerRpcController
2014-03-03 17:24:58,619 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.security.access.TablePermission
2014-03-03 17:24:58,619 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.client.DelegatingRetryingCallable
2014-03-03 17:24:58,619 INFO  [main] hbase.TestAPIStability(137): class 
org.apache.hadoop.hbase.security.access.UserPermission
2014-03-03 17:24:58,619 INFO  [main]