質問するログイン新規登録

質問編集履歴

3

javaバージョンも必要そうなので記載

2020/03/19 06:24

投稿

yuki0716
yuki0716

スコア6

title CHANGED
File without changes
body CHANGED
@@ -96,6 +96,7 @@
96
96
  mac
97
97
  python 3.7.3
98
98
  pyspark 2.4.5
99
+ java openjdk13
99
100
 
100
101
  他のselect,fileter,groupbyなどは上手くいきます。
101
102
  showの部分をコメントアウトするとエラーは出ないです。

2

file名を一応変えた。

2020/03/19 06:23

投稿

yuki0716
yuki0716

スコア6

title CHANGED
File without changes
body CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  ```
9
9
  Traceback (most recent call last):
10
- File "glue3.py", line 17, in <module>
10
+ File "test.py", line 17, in <module>
11
11
  cdf.show()
12
12
  File "/Users/xxxx/Library/Python/3.7/lib/python/site-packages/pyspark/sql/dataframe.py", line 380, in show
13
13
  print(self._jdf.showString(n, 20, vertical))

1

名前出てたので一応xxxxにした

2020/03/19 06:01

投稿

yuki0716
yuki0716

スコア6

title CHANGED
File without changes
body CHANGED
@@ -9,13 +9,13 @@
9
9
  Traceback (most recent call last):
10
10
  File "glue3.py", line 17, in <module>
11
11
  cdf.show()
12
- File "/Users/yuki/Library/Python/3.7/lib/python/site-packages/pyspark/sql/dataframe.py", line 380, in show
12
+ File "/Users/xxxx/Library/Python/3.7/lib/python/site-packages/pyspark/sql/dataframe.py", line 380, in show
13
13
  print(self._jdf.showString(n, 20, vertical))
14
- File "/Users/yuki/Library/Python/3.7/lib/python/site-packages/py4j/java_gateway.py", line 1257, in __call__
14
+ File "/Users/xxxx/Library/Python/3.7/lib/python/site-packages/py4j/java_gateway.py", line 1257, in __call__
15
15
  answer, self.gateway_client, self.target_id, self.name)
16
- File "/Users/yuki/Library/Python/3.7/lib/python/site-packages/pyspark/sql/utils.py", line 63, in deco
16
+ File "/Users/xxxx/Library/Python/3.7/lib/python/site-packages/pyspark/sql/utils.py", line 63, in deco
17
17
  return f(*a, **kw)
18
- File "/Users/yuki/Library/Python/3.7/lib/python/site-packages/py4j/protocol.py", line 328, in get_return_value
18
+ File "/Users/xxxx/Library/Python/3.7/lib/python/site-packages/py4j/protocol.py", line 328, in get_return_value
19
19
  format(target_id, ".", name), value)
20
20
  py4j.protocol.Py4JJavaError: An error occurred while calling o48.showString.
21
21
  : org.apache.spark.SparkException: Exception thrown in awaitResult: