Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by kiseliu
, 1 year ago
process serializer.dump_stream(func(split_index, iterator), outfile) File "/Users/lyj/Programs/Apache/spark/python/lib/pyspark.zip/pyspark/serializers.py", line 263, in dump_stream vs = list(itertools.islice(iterator, batch)) File "/mypath
via Stack Overflow by Nightfury
, 1 month ago
process serializer.dump_stream(func(split_index, iterator), outfile) File "/opt/spark-2.2.1-bin-hadoop2.7/python/lib/pyspark.zip/pyspark/serializers.py", line 268, in dump_stream vs = list(itertools.islice(iterator, batch)) File "<stdin>", line 1, in <lambda> IndexError: list index out of range
via Stack Overflow by user1753235
, 1 year ago
) File "/data/3/tmp/hadoop-hadoop/nm-local-dir/usercache/user/appcache/application_1468851295159_0020/container_1468851295159_0020_01_000016/pyspark.zip/pyspark/serializers.py", line 263, in dump_stream vs = list(itertools.islice(iterator, batch)) File "/usr/local/spark/python/pyspark/rdd.py", line 1898, in <lambda> IndexError: list index out of range
via Stack Overflow by Aru
, 1 day ago
(func(split_index, iterator), outfile) File "/usr/lib/spark/python/lib/pyspark.zip/pyspark/serializers.py", line 263, in dump_stream vs = list(itertools.islice(iterator, batch)) File "<stdin>", line 1, in <lambda> IndexError: list index out of range
via Stack Overflow by Print-ABC
, 10 months ago
169, in process serializer.dump_stream(func(split_index, iterator), outfile) File "/home/main/spark-2.1.0-bin-hadoop2.7/python/lib/pyspark.zip/pyspark/worker.py", line 106, in <lambda> func = lambda _, it: map(mapper, it) File "<string>", line
org.apache.spark.api.python.PythonException: Traceback (most recent call last):
  File "/Users/lyj/Programs/Apache/spark/python/lib/pyspark.zip/pyspark/worker.py", line 111, in main
process()
  File "/Users/lyj/Programs/Apache/spark/python/lib/pyspark.zip/pyspark/worker.py", line 106, in process
serializer.dump_stream(func(split_index, iterator), outfile)
  File "/Users/lyj/Programs/Apache/spark/python/lib/pyspark.zip/pyspark/serializers.py", line 263, in dump_stream
vs = list(itertools.islice(iterator, batch))
  File      "/mypath/classfication.py", line 20, in <lambda>
getData = splitData.map(lambda line: [labelMap[line[2]], list(jieba.cut(line[6]+line[13]))])
IndexError: list index out of range	at org.apache.spark.api.python.PythonRunner$$anon$1.read(PythonRDD.scala:166)	at org.apache.spark.api.python.PythonRunner$$anon$1.next(PythonRDD.scala:129)	at org.apache.spark.api.python.PythonRunner$$anon$1.next(PythonRDD.scala:125)	at org.apache.spark.InterruptibleIterator.next(InterruptibleIterator.scala:43)