You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Benoit Sigoure (JIRA)" <ji...@apache.org> on 2010/02/22 10:46:28 UTC

[jira] Created: (HBASE-2246) Add a getConfiguration method to HTableInterface

Add a getConfiguration method to HTableInterface
------------------------------------------------

                 Key: HBASE-2246
                 URL: https://issues.apache.org/jira/browse/HBASE-2246
             Project: Hadoop HBase
          Issue Type: Improvement
          Components: client
    Affects Versions: 0.20.3
            Reporter: Benoit Sigoure
            Assignee: Benoit Sigoure
            Priority: Minor


Right now there is no way of accessing the {{Configuration}} object used by an {{HTable}}.  This is annoying.  In my case I want to be able to access the value of {{hbase.regionserver.lease.period}} of an {{HTable}} instance provided by the caller in order to wait the right amount of time between my successive attempts to grab a {{RowLock}} on a particular row.

I propose to add a new method, {{public Configuration getConfiguration()}} to {{HTableInterface}}.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HBASE-2246) Add a getConfiguration method to HTableInterface

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans resolved HBASE-2246.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.21.0
     Hadoop Flags: [Reviewed]

Committed to trunk. I'm not sure we want it in branch at the moment since code that implements HTableInterface wouldn't compile anymore.

> Add a getConfiguration method to HTableInterface
> ------------------------------------------------
>
>                 Key: HBASE-2246
>                 URL: https://issues.apache.org/jira/browse/HBASE-2246
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 0.20.3
>            Reporter: Benoit Sigoure
>            Assignee: Benoit Sigoure
>            Priority: Minor
>             Fix For: 0.21.0
>
>         Attachments: 0001-HBASE-2246-Add-a-GetConfiguration-method-to-HTableIn.patch, 0001-HBASE-2246-Add-a-GetConfiguration-method-to-HTableIn.patch, 0001-HBASE-2246-Add-a-GetConfiguration-method-to-HTableIn.patch
>
>
> Right now there is no way of accessing the {{Configuration}} object used by an {{HTable}}.  This is annoying.  In my case I want to be able to access the value of {{hbase.regionserver.lease.period}} of an {{HTable}} instance provided by the caller in order to wait the right amount of time between my successive attempts to grab a {{RowLock}} on a particular row.
> I propose to add a new method, {{public Configuration getConfiguration()}} to {{HTableInterface}}.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-2246) Add a getConfiguration method to HTableInterface

Posted by "Benoit Sigoure (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Sigoure updated HBASE-2246:
----------------------------------

    Attachment: 0001-HBASE-2246-Add-a-GetConfiguration-method-to-HTableIn.patch

Patch that fixes the issue.  Code compiles.

> Add a getConfiguration method to HTableInterface
> ------------------------------------------------
>
>                 Key: HBASE-2246
>                 URL: https://issues.apache.org/jira/browse/HBASE-2246
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 0.20.3
>            Reporter: Benoit Sigoure
>            Assignee: Benoit Sigoure
>            Priority: Minor
>         Attachments: 0001-HBASE-2246-Add-a-GetConfiguration-method-to-HTableIn.patch
>
>
> Right now there is no way of accessing the {{Configuration}} object used by an {{HTable}}.  This is annoying.  In my case I want to be able to access the value of {{hbase.regionserver.lease.period}} of an {{HTable}} instance provided by the caller in order to wait the right amount of time between my successive attempts to grab a {{RowLock}} on a particular row.
> I propose to add a new method, {{public Configuration getConfiguration()}} to {{HTableInterface}}.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-2246) Add a getConfiguration method to HTableInterface

Posted by "Benoit Sigoure (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Sigoure updated HBASE-2246:
----------------------------------

    Attachment: 0001-HBASE-2246-Add-a-GetConfiguration-method-to-HTableIn.patch

New patch to make JD happy after the Mavenization of HBase.

> Add a getConfiguration method to HTableInterface
> ------------------------------------------------
>
>                 Key: HBASE-2246
>                 URL: https://issues.apache.org/jira/browse/HBASE-2246
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 0.20.3
>            Reporter: Benoit Sigoure
>            Assignee: Benoit Sigoure
>            Priority: Minor
>         Attachments: 0001-HBASE-2246-Add-a-GetConfiguration-method-to-HTableIn.patch, 0001-HBASE-2246-Add-a-GetConfiguration-method-to-HTableIn.patch, 0001-HBASE-2246-Add-a-GetConfiguration-method-to-HTableIn.patch
>
>
> Right now there is no way of accessing the {{Configuration}} object used by an {{HTable}}.  This is annoying.  In my case I want to be able to access the value of {{hbase.regionserver.lease.period}} of an {{HTable}} instance provided by the caller in order to wait the right amount of time between my successive attempts to grab a {{RowLock}} on a particular row.
> I propose to add a new method, {{public Configuration getConfiguration()}} to {{HTableInterface}}.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-2246) Add a getConfiguration method to HTableInterface

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836715#action_12836715 ] 

stack commented on HBASE-2246:
------------------------------

Sounds like a good idea.

> Add a getConfiguration method to HTableInterface
> ------------------------------------------------
>
>                 Key: HBASE-2246
>                 URL: https://issues.apache.org/jira/browse/HBASE-2246
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 0.20.3
>            Reporter: Benoit Sigoure
>            Assignee: Benoit Sigoure
>            Priority: Minor
>
> Right now there is no way of accessing the {{Configuration}} object used by an {{HTable}}.  This is annoying.  In my case I want to be able to access the value of {{hbase.regionserver.lease.period}} of an {{HTable}} instance provided by the caller in order to wait the right amount of time between my successive attempts to grab a {{RowLock}} on a particular row.
> I propose to add a new method, {{public Configuration getConfiguration()}} to {{HTableInterface}}.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-2246) Add a getConfiguration method to HTableInterface

Posted by "Benoit Sigoure (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Sigoure updated HBASE-2246:
----------------------------------

    Attachment: 0001-HBASE-2246-Add-a-GetConfiguration-method-to-HTableIn.patch

Same patch with a little unit test.

> Add a getConfiguration method to HTableInterface
> ------------------------------------------------
>
>                 Key: HBASE-2246
>                 URL: https://issues.apache.org/jira/browse/HBASE-2246
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 0.20.3
>            Reporter: Benoit Sigoure
>            Assignee: Benoit Sigoure
>            Priority: Minor
>         Attachments: 0001-HBASE-2246-Add-a-GetConfiguration-method-to-HTableIn.patch, 0001-HBASE-2246-Add-a-GetConfiguration-method-to-HTableIn.patch
>
>
> Right now there is no way of accessing the {{Configuration}} object used by an {{HTable}}.  This is annoying.  In my case I want to be able to access the value of {{hbase.regionserver.lease.period}} of an {{HTable}} instance provided by the caller in order to wait the right amount of time between my successive attempts to grab a {{RowLock}} on a particular row.
> I propose to add a new method, {{public Configuration getConfiguration()}} to {{HTableInterface}}.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.