You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jimmy Xiang (Created) (JIRA)" <ji...@apache.org> on 2012/04/10 01:43:15 UTC

[jira] [Created] (HBASE-5755) Region sever looking for master forever with cached stale data.

Region sever looking for master forever with cached stale data.
---------------------------------------------------------------

                 Key: HBASE-5755
                 URL: https://issues.apache.org/jira/browse/HBASE-5755
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.96.0
            Reporter: Jimmy Xiang
            Assignee: Jimmy Xiang
             Fix For: 0.96.0


When the master address tracker doesn't have the master address ZK data, or the cached data is wrong, region server should not use the cached data.
It should pull the data from ZK directly again.

--
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] [Commented] (HBASE-5755) Region sever looking for master forever with cached stale data.

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

Hudson commented on HBASE-5755:
-------------------------------

Integrated in HBase-TRUNK-security #167 (See [https://builds.apache.org/job/HBase-TRUNK-security/167/])
    HBASE-5755 Region sever looking for master forever with cached stale data (Revision 1311910)

     Result = SUCCESS
stack : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/MasterAddressTracker.java

                
> Region sever looking for master forever with cached stale data.
> ---------------------------------------------------------------
>
>                 Key: HBASE-5755
>                 URL: https://issues.apache.org/jira/browse/HBASE-5755
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.96.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.96.0
>
>         Attachments: hbase-5755.patch
>
>
> When the master address tracker doesn't have the master address ZK data, or the cached data is wrong, region server should not use the cached data.
> It should pull the data from ZK directly again.

--
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-5755) Region sever looking for master forever with cached stale data.

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

Jimmy Xiang updated HBASE-5755:
-------------------------------

    Attachment: hbase-5755.patch

The other solution is to update ZookeeperNodeTracker.getData to pull data from ZK anyway when this.data is null or empty, which means the contract is different though.
                
> Region sever looking for master forever with cached stale data.
> ---------------------------------------------------------------
>
>                 Key: HBASE-5755
>                 URL: https://issues.apache.org/jira/browse/HBASE-5755
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.96.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.96.0
>
>         Attachments: hbase-5755.patch
>
>
> When the master address tracker doesn't have the master address ZK data, or the cached data is wrong, region server should not use the cached data.
> It should pull the data from ZK directly again.

--
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-5755) Region sever looking for master forever with cached stale data.

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

stack updated HBASE-5755:
-------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

Applied to trunk.  Could do with something similar on other branches.
                
> Region sever looking for master forever with cached stale data.
> ---------------------------------------------------------------
>
>                 Key: HBASE-5755
>                 URL: https://issues.apache.org/jira/browse/HBASE-5755
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.96.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.96.0
>
>         Attachments: hbase-5755.patch
>
>
> When the master address tracker doesn't have the master address ZK data, or the cached data is wrong, region server should not use the cached data.
> It should pull the data from ZK directly again.

--
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] [Commented] (HBASE-5755) Region sever looking for master forever with cached stale data.

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

Lars Hofhansl commented on HBASE-5755:
--------------------------------------

Looks like MasterAddressTracker.java was moved from /hbase/trunk/src/main/java/org/apache/hadoop/hbase to /hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper in 0.96
                
> Region sever looking for master forever with cached stale data.
> ---------------------------------------------------------------
>
>                 Key: HBASE-5755
>                 URL: https://issues.apache.org/jira/browse/HBASE-5755
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.96.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.96.0
>
>         Attachments: hbase-5755.patch
>
>
> When the master address tracker doesn't have the master address ZK data, or the cached data is wrong, region server should not use the cached data.
> It should pull the data from ZK directly again.

--
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] [Commented] (HBASE-5755) Region sever looking for master forever with cached stale data.

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

stack commented on HBASE-5755:
------------------------------

But the other branches look different...
                
> Region sever looking for master forever with cached stale data.
> ---------------------------------------------------------------
>
>                 Key: HBASE-5755
>                 URL: https://issues.apache.org/jira/browse/HBASE-5755
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.96.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.96.0
>
>         Attachments: hbase-5755.patch
>
>
> When the master address tracker doesn't have the master address ZK data, or the cached data is wrong, region server should not use the cached data.
> It should pull the data from ZK directly again.

--
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] [Commented] (HBASE-5755) Region sever looking for master forever with cached stale data.

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

Hudson commented on HBASE-5755:
-------------------------------

Integrated in HBase-TRUNK #2738 (See [https://builds.apache.org/job/HBase-TRUNK/2738/])
    HBASE-5755 Region sever looking for master forever with cached stale data (Revision 1311910)

     Result = SUCCESS
stack : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/MasterAddressTracker.java

                
> Region sever looking for master forever with cached stale data.
> ---------------------------------------------------------------
>
>                 Key: HBASE-5755
>                 URL: https://issues.apache.org/jira/browse/HBASE-5755
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.96.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.96.0
>
>         Attachments: hbase-5755.patch
>
>
> When the master address tracker doesn't have the master address ZK data, or the cached data is wrong, region server should not use the cached data.
> It should pull the data from ZK directly again.

--
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-5755) Region sever looking for master forever with cached stale data.

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

Jimmy Xiang updated HBASE-5755:
-------------------------------

    Status: Patch Available  (was: Open)
    
> Region sever looking for master forever with cached stale data.
> ---------------------------------------------------------------
>
>                 Key: HBASE-5755
>                 URL: https://issues.apache.org/jira/browse/HBASE-5755
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.96.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.96.0
>
>         Attachments: hbase-5755.patch
>
>
> When the master address tracker doesn't have the master address ZK data, or the cached data is wrong, region server should not use the cached data.
> It should pull the data from ZK directly again.

--
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] [Commented] (HBASE-5755) Region sever looking for master forever with cached stale data.

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

Zhihong Yu commented on HBASE-5755:
-----------------------------------

Patch makes sense.
                
> Region sever looking for master forever with cached stale data.
> ---------------------------------------------------------------
>
>                 Key: HBASE-5755
>                 URL: https://issues.apache.org/jira/browse/HBASE-5755
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.96.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.96.0
>
>         Attachments: hbase-5755.patch
>
>
> When the master address tracker doesn't have the master address ZK data, or the cached data is wrong, region server should not use the cached data.
> It should pull the data from ZK directly again.

--
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] [Commented] (HBASE-5755) Region sever looking for master forever with cached stale data.

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

Hadoop QA commented on HBASE-5755:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12522043/hbase-5755.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in .

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/1459//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/1459//artifact/trunk/patchprocess/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/1459//console

This message is automatically generated.
                
> Region sever looking for master forever with cached stale data.
> ---------------------------------------------------------------
>
>                 Key: HBASE-5755
>                 URL: https://issues.apache.org/jira/browse/HBASE-5755
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.96.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.96.0
>
>         Attachments: hbase-5755.patch
>
>
> When the master address tracker doesn't have the master address ZK data, or the cached data is wrong, region server should not use the cached data.
> It should pull the data from ZK directly again.

--
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