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

Make HiveFromSpark example more portable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • Examples, SQL
    • None

    Description

      The HiveFromSpark example needs the kv1.txt file to run in a specific location: SPARK_HOME/examples/src/main/resources/kv1.txt which assumes you have the source tree checked out.

      A more portable way is to copy the kv1.txt to a temporary file that gets cleaned up when the jvm shutsdown. This would allow us to run this example outside of a source tree.

      Attachments

        Activity

          People

            kostas Kostas Sakellis
            kostas Kostas Sakellis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: