hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-1460) On shutdown, IOE with complaint 'Cannot cancel lease that is not held'
Date Mon, 04 Jun 2007 18:33:27 GMT

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


Mime
View raw message