Hadoop Common
  1. Hadoop Common
  2. HADOOP-286

copyFromLocal throws LeaseExpiredException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.3.0
    • Fix Version/s: 0.6.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      redhar linux

      Description

      Loading local files to dfs through hadoop dfs -copyFromLocal failed due to the following exception:

      copyFromLocal: org.apache.hadoop.dfs.LeaseExpiredException: No lease on output_crawled.1.txt
      at org.apache.hadoop.dfs.FSNamesystem.getAdditionalBlock(FSNamesystem.java:414)
      at org.apache.hadoop.dfs.NameNode.addBlock(NameNode.java:190)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      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:243)
      at org.apache.hadoop.ipc.Server$Handler.run(Server.java:231)

      1. Lease.patch
        0.8 kB
        Konstantin Shvachko

        Activity

        Runping Qi created issue -
        Konstantin Shvachko made changes -
        Field Original Value New Value
        Attachment Lease.patch [ 12337268 ]
        Doug Cutting made changes -
        Workflow no-reopen-closed [ 12373531 ] no-reopen-closed, patch-avail [ 12377491 ]
        Konstantin Shvachko made changes -
        Fix Version/s 0.6.0 [ 12312025 ]
        Assignee Konstantin Shvachko [ shv ]
        Status Open [ 1 ] Patch Available [ 10002 ]
        Doug Cutting made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Owen O'Malley made changes -
        Component/s dfs [ 12310710 ]

          People

          • Assignee:
            Konstantin Shvachko
            Reporter:
            Runping Qi
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development