spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyukjin Kwon (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-24048) load a local csv file
Date Mon, 23 Apr 2018 01:46:00 GMT

     [ https://issues.apache.org/jira/browse/SPARK-24048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hyukjin Kwon resolved SPARK-24048.
----------------------------------
    Resolution: Invalid

Sounds more like a question. Please ask it to the mailing list and I think you could have
a better answer. Let's reopen this when we are clear that this is an issue.

> load a local csv file
> ---------------------
>
>                 Key: SPARK-24048
>                 URL: https://issues.apache.org/jira/browse/SPARK-24048
>             Project: Spark
>          Issue Type: IT Help
>          Components: PySpark
>    Affects Versions: 2.3.0
>         Environment: python 2.7
> java jdk 10
>  
>            Reporter: Jijiao Zeng
>            Priority: Major
>
> Hi all, 
> I am new to spark and pyspark. I tried to load a lock csv.file by the fucntion spark.
read. csv(), but I met a follwing traceback:
>  
> >>> df=spark.read.csv("/Users/jzeng/employee.txt")
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/Users/jzeng/spark-2.3.0-bin-hadoop2.7/python/pyspark/sql/readwriter.py", line
439, in csv
>     return self._df(self._jreader.csv(self._spark._sc._jvm.PythonUtils.toSeq(path)))
>   File "/Users/jzeng/spark-2.3.0-bin-hadoop2.7/python/lib/py4j-0.10.6-src.zip/py4j/java_gateway.py",
line 1160, in __call__
>   File "/Users/jzeng/spark-2.3.0-bin-hadoop2.7/python/pyspark/sql/utils.py", line 79,
in deco
>     raise IllegalArgumentException(s.split(': ', 1)[1], stackTrace)
> pyspark.sql.utils.IllegalArgumentException: u'Unable to locate hive jars to connect to
metastore. Please set spark.sql.hive.metastore.jars.'
>  
> Do you have any suggestion solve this problem?
>  
> Thanks.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message