[jira] [Updated] (HBASE-6400) Add getMasterAdmin() and getMasterMonitor() to HConnection

2012-07-23 Thread Enis Soztutar (JIRA)

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

Enis Soztutar updated HBASE-6400:
-

Resolution: Fixed
Status: Resolved  (was: Patch Available)

Resolving this, since it is committed. 

 Add getMasterAdmin() and getMasterMonitor() to HConnection
 --

 Key: HBASE-6400
 URL: https://issues.apache.org/jira/browse/HBASE-6400
 Project: HBase
  Issue Type: Improvement
Reporter: Enis Soztutar
Assignee: Enis Soztutar
 Fix For: 0.96.0

 Attachments: 6400-v2.patch, HBASE-6400_v1.patch


 HConnection used to have getMaster() which returns HMasterInterface, but 
 after HBASE-6039 it has been removed. I think we need to expose 
 HConnection.getMasterAdmin() and getMasterMonitor() a la 
 HConnection.getAdmin(), and getClient(). 
 HConnectionImplementation has getKeepAliveMasterAdmin() but, I see no reason 
 to leak keep alive classes to upper layers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HBASE-6400) Add getMasterAdmin() and getMasterMonitor() to HConnection

2012-07-17 Thread Enis Soztutar (JIRA)

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

Enis Soztutar updated HBASE-6400:
-

Attachment: HBASE-6400_v1.patch

Attaching a very simple patch that does the task. 

BTW, I did need these for the patch at HBASE-6241. 

 Add getMasterAdmin() and getMasterMonitor() to HConnection
 --

 Key: HBASE-6400
 URL: https://issues.apache.org/jira/browse/HBASE-6400
 Project: HBase
  Issue Type: Improvement
Reporter: Enis Soztutar
Assignee: Enis Soztutar
 Attachments: HBASE-6400_v1.patch


 HConnection used to have getMasterInterface(), but after HBASE-6039 it has 
 been removed. I think we need to expose HConnection.getMasterAdmin() and 
 getMasterMonitor() a la HConnection.getAdmin(), and getClient(). 
 HConnectionImplementation has getKeepAliveMasterAdmin() but, I see no reason 
 to leak keep alive classes to upper layers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HBASE-6400) Add getMasterAdmin() and getMasterMonitor() to HConnection

2012-07-17 Thread Zhihong Ted Yu (JIRA)

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

Zhihong Ted Yu updated HBASE-6400:
--

  Description: 
HConnection used to have getMaster() which returns HMasterInterface, but after 
HBASE-6039 it has been removed. I think we need to expose 
HConnection.getMasterAdmin() and getMasterMonitor() a la 
HConnection.getAdmin(), and getClient(). 

HConnectionImplementation has getKeepAliveMasterAdmin() but, I see no reason to 
leak keep alive classes to upper layers.

  was:
HConnection used to have getMasterInterface(), but after HBASE-6039 it has been 
removed. I think we need to expose HConnection.getMasterAdmin() and 
getMasterMonitor() a la HConnection.getAdmin(), and getClient(). 

HConnectionImplementation has getKeepAliveMasterAdmin() but, I see no reason to 
leak keep alive classes to upper layers.

Fix Version/s: 0.96.0

 Add getMasterAdmin() and getMasterMonitor() to HConnection
 --

 Key: HBASE-6400
 URL: https://issues.apache.org/jira/browse/HBASE-6400
 Project: HBase
  Issue Type: Improvement
Reporter: Enis Soztutar
Assignee: Enis Soztutar
 Fix For: 0.96.0

 Attachments: HBASE-6400_v1.patch


 HConnection used to have getMaster() which returns HMasterInterface, but 
 after HBASE-6039 it has been removed. I think we need to expose 
 HConnection.getMasterAdmin() and getMasterMonitor() a la 
 HConnection.getAdmin(), and getClient(). 
 HConnectionImplementation has getKeepAliveMasterAdmin() but, I see no reason 
 to leak keep alive classes to upper layers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HBASE-6400) Add getMasterAdmin() and getMasterMonitor() to HConnection

2012-07-17 Thread Zhihong Ted Yu (JIRA)

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

Zhihong Ted Yu updated HBASE-6400:
--

Attachment: 6400-v2.patch

Patch v2 adds @Override.

 Add getMasterAdmin() and getMasterMonitor() to HConnection
 --

 Key: HBASE-6400
 URL: https://issues.apache.org/jira/browse/HBASE-6400
 Project: HBase
  Issue Type: Improvement
Reporter: Enis Soztutar
Assignee: Enis Soztutar
 Fix For: 0.96.0

 Attachments: 6400-v2.patch, HBASE-6400_v1.patch


 HConnection used to have getMaster() which returns HMasterInterface, but 
 after HBASE-6039 it has been removed. I think we need to expose 
 HConnection.getMasterAdmin() and getMasterMonitor() a la 
 HConnection.getAdmin(), and getClient(). 
 HConnectionImplementation has getKeepAliveMasterAdmin() but, I see no reason 
 to leak keep alive classes to upper layers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HBASE-6400) Add getMasterAdmin() and getMasterMonitor() to HConnection

2012-07-17 Thread Zhihong Ted Yu (JIRA)

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

Zhihong Ted Yu updated HBASE-6400:
--

Hadoop Flags: Reviewed
  Status: Patch Available  (was: Open)

 Add getMasterAdmin() and getMasterMonitor() to HConnection
 --

 Key: HBASE-6400
 URL: https://issues.apache.org/jira/browse/HBASE-6400
 Project: HBase
  Issue Type: Improvement
Reporter: Enis Soztutar
Assignee: Enis Soztutar
 Fix For: 0.96.0

 Attachments: 6400-v2.patch, HBASE-6400_v1.patch


 HConnection used to have getMaster() which returns HMasterInterface, but 
 after HBASE-6039 it has been removed. I think we need to expose 
 HConnection.getMasterAdmin() and getMasterMonitor() a la 
 HConnection.getAdmin(), and getClient(). 
 HConnectionImplementation has getKeepAliveMasterAdmin() but, I see no reason 
 to leak keep alive classes to upper layers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira