Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-8379

LeaseExpiredException when using dynamic partition with speculative execution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0, 1.3.1, 1.4.0
    • 1.4.1, 1.5.0
    • SQL
    • None

    Description

      when inserting to table using dynamic partitions with spark.speculation=true and there is a skew data of some partitions trigger the speculative tasks ,it will throws the exception like

      org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException): Lease mismatch on /tmp/hive-jeanlyn/hive_2015-06-15_15-20-44_734_8801220787219172413-1/-ext-10000/ds=2015-06-15/type=2/part-00301.lzo owned by DFSClient_attempt_201506031520_0011_m_000189_0_-1513487243_53 but is accessed by DFSClient_attempt_201506031520_0011_m_000042_0_-1275047721_57
      

      Attachments

        Issue Links

          Activity

            People

              jeanlyn jeanlyn
              jeanlyn jeanlyn
              liancheng liancheng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: