accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1049) Master does not need to get tserver lock
Date Sat, 02 Mar 2013 09:49:14 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13591380#comment-13591380
] 

Hudson commented on ACCUMULO-1049:
----------------------------------

Integrated in Accumulo-1.4.x #278 (See [https://builds.apache.org/job/Accumulo-1.4.x/278/])
    merged some bug fixes from 1.5:
ACCUMULO-1125 delete distributed work queue task lock when task fails
ACCUMULO-1049 modified master to stop locking tserver nodes and just monitor  tserver nodes
in zookeeper
ACCUMULO-954 made zoolock report when its no longer able to monitor lock node and there does
not know the status of the lock
ACCUMULO-954 Made zoolock rewatch its parent node and added some unit test for zoolock (Revision
1451708)

     Result = SUCCESS
kturner : 
Files : 
* /accumulo/branches/1.4
* /accumulo/branches/1.4/src
* /accumulo/branches/1.4/src/core
* /accumulo/branches/1.4/src/server
* /accumulo/branches/1.4/src/server/src
* /accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/gc/SimpleGarbageCollector.java
* /accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/master/LiveTServerSet.java
* /accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
* /accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/master/TServerLockWatcher.java
* /accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java
* /accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/test/functional
* /accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/test/functional/SplitRecoveryTest.java
* /accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/test/functional/ZombieTServer.java
* /accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/zookeeper/DistributedWorkQueue.java
* /accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/zookeeper/ZooLock.java

                
> Master does not need to get tserver lock
> ----------------------------------------
>
>                 Key: ACCUMULO-1049
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1049
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 1.4.0
>            Reporter: Keith Turner
>            Assignee: Keith Turner
>             Fix For: 1.5.0, 1.4.3
>
>
> Every tserver has a lock in zookeeper.  The master tries to get this lock and when it
does it assumes the tserver is dead.  It seems like this may no longer be necessary since
changes made in 1.3.  The master used to only keep track of ip and port to identify a tablet
server.  It needed to know when it got the lock to detect the difference between two tablet
server instances at the same ip and port.
> Since 1.3 the master keeps distinctive info about a tablet server now and can detect
the difference between tablet server instances.  Making the master just monitor the current
tablet server locks instead of trying to get the lock would simplify the master code.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message