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

Make HiveFromSpark example more portable

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: Examples, SQL
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: