Uploaded image for project: 'MRQL'
  1. MRQL
  2. MRQL-28

Fixed dumping of HDFS sequence file in Spark mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Run-Time/Spark
    • None

    Description

      The attached patch fixes the following bug in Spark mode:
      When using the MRQL "store file from e" in Spark distributed mode and the file is already in HDFS, it reports an error instead of replacing the old file with the new.
      This is because the Spark method saveAsHadoopFile creates a file but cannot replace an existing HDFS file (this may be a Spark bug). The patch simply deletes the file before it calls the saveAsHadoopFile method.

      Attachments

        1. MRQL-28.patch
          0.6 kB
          Leonidas Fegaras

        Activity

          People

            fegaras Leonidas Fegaras
            fegaras Leonidas Fegaras
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: