Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-286

copyFromLocal throws LeaseExpiredException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.3.0
    • 0.6.0
    • None
    • None
    • 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)

      Attachments

        1. Lease.patch
          0.8 kB
          Konstantin Shvachko

        Activity

          People

            shv Konstantin Shvachko
            runping Runping Qi
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: