You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kostas Sakellis (JIRA)" <ji...@apache.org> on 2014/12/06 01:32:12 UTC

[jira] [Created] (SPARK-4774) Make HiveFromSpark example more portable

Kostas Sakellis created SPARK-4774:
--------------------------------------

             Summary: Make HiveFromSpark example more portable
                 Key: SPARK-4774
                 URL: https://issues.apache.org/jira/browse/SPARK-4774
             Project: Spark
          Issue Type: Bug
          Components: Examples
            Reporter: Kostas Sakellis


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org