You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "stack (JIRA)" <ji...@apache.org> on 2007/06/04 20:02:25 UTC

[jira] Created: (HADOOP-1460) On shutdown, IOE with complaint 'Cannot cancel lease that is not held'

On shutdown, IOE with complaint 'Cannot cancel lease that is not held'
----------------------------------------------------------------------

                 Key: HADOOP-1460
                 URL: https://issues.apache.org/jira/browse/HADOOP-1460
             Project: Hadoop
          Issue Type: Bug
          Components: contrib/hbase
            Reporter: stack
            Assignee: stack
            Priority: Minor


07/06/04 10:58:23 INFO ipc.Server: IPC Server handler 4 on 60000, call regionServerReport(address: 127.0.0.1:60010, startcode: 6879895887129135629, [Lorg.apache.hadoop.hbase.HMsg;@d1cdf7) from 127.0.0.1:63612: error: java.io.IOException: Cannot cancel lease that is not held: <holderId=127.0.0.1:60010, resourceId=127.0.0.1:60010>
java.io.IOException: Cannot cancel lease that is not held: <holderId=127.0.0.1:60010, resourceId=127.0.0.1:60010>
        at org.apache.hadoop.hbase.Leases.cancelLease(Leases.java:150)
        at org.apache.hadoop.hbase.HMaster.regionServerReport(HMaster.java:782)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:341)
        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:567)
07/06/04 10:58:23 WARN hbase.HRegionServer: org.apache.hadoop.ipc.RemoteException: java.io.IOException: Cannot cancel lease that is not held: <holderId=127.0.0.1:60010, resourceId=127.0.0.1:60010>
        at org.apache.hadoop.hbase.Leases.cancelLease(Leases.java:150)
        at org.apache.hadoop.hbase.HMaster.regionServerReport(HMaster.java:782)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:341)
        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:567)

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


[jira] Updated: (HADOOP-1460) On shutdown, IOE with complaint 'Cannot cancel lease that is not held'

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

stack updated HADOOP-1460:
--------------------------

    Status: Patch Available  (was: Open)

> On shutdown, IOE with complaint 'Cannot cancel lease that is not held'
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-1460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1460
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>         Attachments: hadoop1460.patch
>
>
> 07/06/04 10:58:23 INFO ipc.Server: IPC Server handler 4 on 60000, call regionServerReport(address: 127.0.0.1:60010, startcode: 6879895887129135629, [Lorg.apache.hadoop.hbase.HMsg;@d1cdf7) from 127.0.0.1:63612: error: java.io.IOException: Cannot cancel lease that is not held: <holderId=127.0.0.1:60010, resourceId=127.0.0.1:60010>
> java.io.IOException: Cannot cancel lease that is not held: <holderId=127.0.0.1:60010, resourceId=127.0.0.1:60010>
>         at org.apache.hadoop.hbase.Leases.cancelLease(Leases.java:150)
>         at org.apache.hadoop.hbase.HMaster.regionServerReport(HMaster.java:782)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:341)
>         at org.apache.hadoop.ipc.Server$Handler.run(Server.java:567)
> 07/06/04 10:58:23 WARN hbase.HRegionServer: org.apache.hadoop.ipc.RemoteException: java.io.IOException: Cannot cancel lease that is not held: <holderId=127.0.0.1:60010, resourceId=127.0.0.1:60010>
>         at org.apache.hadoop.hbase.Leases.cancelLease(Leases.java:150)
>         at org.apache.hadoop.hbase.HMaster.regionServerReport(HMaster.java:782)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:341)
>         at org.apache.hadoop.ipc.Server$Handler.run(Server.java:567)

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


[jira] Updated: (HADOOP-1460) On shutdown, IOE with complaint 'Cannot cancel lease that is not held'

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

Jim Kellerman updated HADOOP-1460:
----------------------------------

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

I just committed this. Thanks Michael.

> On shutdown, IOE with complaint 'Cannot cancel lease that is not held'
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-1460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1460
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>         Attachments: hadoop1460.patch
>
>
> 07/06/04 10:58:23 INFO ipc.Server: IPC Server handler 4 on 60000, call regionServerReport(address: 127.0.0.1:60010, startcode: 6879895887129135629, [Lorg.apache.hadoop.hbase.HMsg;@d1cdf7) from 127.0.0.1:63612: error: java.io.IOException: Cannot cancel lease that is not held: <holderId=127.0.0.1:60010, resourceId=127.0.0.1:60010>
> java.io.IOException: Cannot cancel lease that is not held: <holderId=127.0.0.1:60010, resourceId=127.0.0.1:60010>
>         at org.apache.hadoop.hbase.Leases.cancelLease(Leases.java:150)
>         at org.apache.hadoop.hbase.HMaster.regionServerReport(HMaster.java:782)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:341)
>         at org.apache.hadoop.ipc.Server$Handler.run(Server.java:567)
> 07/06/04 10:58:23 WARN hbase.HRegionServer: org.apache.hadoop.ipc.RemoteException: java.io.IOException: Cannot cancel lease that is not held: <holderId=127.0.0.1:60010, resourceId=127.0.0.1:60010>
>         at org.apache.hadoop.hbase.Leases.cancelLease(Leases.java:150)
>         at org.apache.hadoop.hbase.HMaster.regionServerReport(HMaster.java:782)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:341)
>         at org.apache.hadoop.ipc.Server$Handler.run(Server.java:567)

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


[jira] Commented: (HADOOP-1460) On shutdown, IOE with complaint 'Cannot cancel lease that is not held'

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501320 ] 

Hadoop QA commented on HADOOP-1460:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12358894/hadoop1460.patch applied and successfully tested against trunk revision r544188.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/244/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/244/console

> On shutdown, IOE with complaint 'Cannot cancel lease that is not held'
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-1460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1460
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>         Attachments: hadoop1460.patch
>
>
> 07/06/04 10:58:23 INFO ipc.Server: IPC Server handler 4 on 60000, call regionServerReport(address: 127.0.0.1:60010, startcode: 6879895887129135629, [Lorg.apache.hadoop.hbase.HMsg;@d1cdf7) from 127.0.0.1:63612: error: java.io.IOException: Cannot cancel lease that is not held: <holderId=127.0.0.1:60010, resourceId=127.0.0.1:60010>
> java.io.IOException: Cannot cancel lease that is not held: <holderId=127.0.0.1:60010, resourceId=127.0.0.1:60010>
>         at org.apache.hadoop.hbase.Leases.cancelLease(Leases.java:150)
>         at org.apache.hadoop.hbase.HMaster.regionServerReport(HMaster.java:782)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:341)
>         at org.apache.hadoop.ipc.Server$Handler.run(Server.java:567)
> 07/06/04 10:58:23 WARN hbase.HRegionServer: org.apache.hadoop.ipc.RemoteException: java.io.IOException: Cannot cancel lease that is not held: <holderId=127.0.0.1:60010, resourceId=127.0.0.1:60010>
>         at org.apache.hadoop.hbase.Leases.cancelLease(Leases.java:150)
>         at org.apache.hadoop.hbase.HMaster.regionServerReport(HMaster.java:782)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:341)
>         at org.apache.hadoop.ipc.Server$Handler.run(Server.java:567)

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


[jira] Updated: (HADOOP-1460) On shutdown, IOE with complaint 'Cannot cancel lease that is not held'

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

stack updated HADOOP-1460:
--------------------------

    Attachment: hadoop1460.patch

Only cancel lease first time through shutdown block.

Commit message:

HADOOP-1460 'On shutdown, IOE with complaint 'Cannot cancel lease that is not
held''

* src/contrib/hbase/src/java/org/apache/hadoop/hbase/HMaster.java
    (regionServerReport): The close block can run more than once. Only
    cancel lease first time block is run.
* src/contrib/hbase/conf/hbase-site.xml
    Remove local config. accidentally committed as part of hadop-1445 commit.
* src/contrib/hbase/src/java/org/apache/hadoop/hbase/Leases.java
    If DEBUG enabled, log getting, renewing and cancelling of leases.
    (getLeaseName): Added.


> On shutdown, IOE with complaint 'Cannot cancel lease that is not held'
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-1460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1460
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>         Attachments: hadoop1460.patch
>
>
> 07/06/04 10:58:23 INFO ipc.Server: IPC Server handler 4 on 60000, call regionServerReport(address: 127.0.0.1:60010, startcode: 6879895887129135629, [Lorg.apache.hadoop.hbase.HMsg;@d1cdf7) from 127.0.0.1:63612: error: java.io.IOException: Cannot cancel lease that is not held: <holderId=127.0.0.1:60010, resourceId=127.0.0.1:60010>
> java.io.IOException: Cannot cancel lease that is not held: <holderId=127.0.0.1:60010, resourceId=127.0.0.1:60010>
>         at org.apache.hadoop.hbase.Leases.cancelLease(Leases.java:150)
>         at org.apache.hadoop.hbase.HMaster.regionServerReport(HMaster.java:782)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:341)
>         at org.apache.hadoop.ipc.Server$Handler.run(Server.java:567)
> 07/06/04 10:58:23 WARN hbase.HRegionServer: org.apache.hadoop.ipc.RemoteException: java.io.IOException: Cannot cancel lease that is not held: <holderId=127.0.0.1:60010, resourceId=127.0.0.1:60010>
>         at org.apache.hadoop.hbase.Leases.cancelLease(Leases.java:150)
>         at org.apache.hadoop.hbase.HMaster.regionServerReport(HMaster.java:782)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:341)
>         at org.apache.hadoop.ipc.Server$Handler.run(Server.java:567)

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