[spark] branch branch-3.0 updated: [MINOR][PYTHON] Fix spacing in error message

2020-07-27 Thread gurwls223
This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
 new b35b3eb  [MINOR][PYTHON] Fix spacing in error message
b35b3eb is described below

commit b35b3ebdb9b39a30d8e261bbf0a80482c149c2a8
Author: Shantanu <12621235+hauntsani...@users.noreply.github.com>
AuthorDate: Tue Jul 28 11:22:18 2020 +0900

[MINOR][PYTHON] Fix spacing in error message

### What changes were proposed in this pull request?
Fixes spacing in an error message

### Why are the changes needed?
Makes error messages easier to read

### Does this PR introduce _any_ user-facing change?
Yes, it changes the error message

### How was this patch tested?
This patch doesn't affect any logic, so existing tests should cover it

Closes #29264 from hauntsaninja/patch-1.

Authored-by: Shantanu <12621235+hauntsani...@users.noreply.github.com>
Signed-off-by: HyukjinKwon 
(cherry picked from commit 77f2ca6cced1c723d1c2e6082a1534f6436c6d2a)
Signed-off-by: HyukjinKwon 
---
 python/pyspark/worker.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyspark/worker.py b/python/pyspark/worker.py
index 5f4a8a2..814f796 100644
--- a/python/pyspark/worker.py
+++ b/python/pyspark/worker.py
@@ -471,7 +471,7 @@ def main(infile, outfile):
 version = utf8_deserializer.loads(infile)
 if version != "%d.%d" % sys.version_info[:2]:
 raise Exception(("Python in worker has different version %s than 
that in " +
- "driver %s, PySpark cannot run with different 
minor versions." +
+ "driver %s, PySpark cannot run with different 
minor versions. " +
  "Please check environment variables 
PYSPARK_PYTHON and " +
  "PYSPARK_DRIVER_PYTHON are correctly set.") %
 ("%d.%d" % sys.version_info[:2], version))


-
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org



[spark] branch branch-3.0 updated: [MINOR][PYTHON] Fix spacing in error message

2020-07-27 Thread gurwls223
This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
 new b35b3eb  [MINOR][PYTHON] Fix spacing in error message
b35b3eb is described below

commit b35b3ebdb9b39a30d8e261bbf0a80482c149c2a8
Author: Shantanu <12621235+hauntsani...@users.noreply.github.com>
AuthorDate: Tue Jul 28 11:22:18 2020 +0900

[MINOR][PYTHON] Fix spacing in error message

### What changes were proposed in this pull request?
Fixes spacing in an error message

### Why are the changes needed?
Makes error messages easier to read

### Does this PR introduce _any_ user-facing change?
Yes, it changes the error message

### How was this patch tested?
This patch doesn't affect any logic, so existing tests should cover it

Closes #29264 from hauntsaninja/patch-1.

Authored-by: Shantanu <12621235+hauntsani...@users.noreply.github.com>
Signed-off-by: HyukjinKwon 
(cherry picked from commit 77f2ca6cced1c723d1c2e6082a1534f6436c6d2a)
Signed-off-by: HyukjinKwon 
---
 python/pyspark/worker.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyspark/worker.py b/python/pyspark/worker.py
index 5f4a8a2..814f796 100644
--- a/python/pyspark/worker.py
+++ b/python/pyspark/worker.py
@@ -471,7 +471,7 @@ def main(infile, outfile):
 version = utf8_deserializer.loads(infile)
 if version != "%d.%d" % sys.version_info[:2]:
 raise Exception(("Python in worker has different version %s than 
that in " +
- "driver %s, PySpark cannot run with different 
minor versions." +
+ "driver %s, PySpark cannot run with different 
minor versions. " +
  "Please check environment variables 
PYSPARK_PYTHON and " +
  "PYSPARK_DRIVER_PYTHON are correctly set.") %
 ("%d.%d" % sys.version_info[:2], version))


-
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org



[spark] branch branch-3.0 updated: [MINOR][PYTHON] Fix spacing in error message

2020-07-27 Thread gurwls223
This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
 new b35b3eb  [MINOR][PYTHON] Fix spacing in error message
b35b3eb is described below

commit b35b3ebdb9b39a30d8e261bbf0a80482c149c2a8
Author: Shantanu <12621235+hauntsani...@users.noreply.github.com>
AuthorDate: Tue Jul 28 11:22:18 2020 +0900

[MINOR][PYTHON] Fix spacing in error message

### What changes were proposed in this pull request?
Fixes spacing in an error message

### Why are the changes needed?
Makes error messages easier to read

### Does this PR introduce _any_ user-facing change?
Yes, it changes the error message

### How was this patch tested?
This patch doesn't affect any logic, so existing tests should cover it

Closes #29264 from hauntsaninja/patch-1.

Authored-by: Shantanu <12621235+hauntsani...@users.noreply.github.com>
Signed-off-by: HyukjinKwon 
(cherry picked from commit 77f2ca6cced1c723d1c2e6082a1534f6436c6d2a)
Signed-off-by: HyukjinKwon 
---
 python/pyspark/worker.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyspark/worker.py b/python/pyspark/worker.py
index 5f4a8a2..814f796 100644
--- a/python/pyspark/worker.py
+++ b/python/pyspark/worker.py
@@ -471,7 +471,7 @@ def main(infile, outfile):
 version = utf8_deserializer.loads(infile)
 if version != "%d.%d" % sys.version_info[:2]:
 raise Exception(("Python in worker has different version %s than 
that in " +
- "driver %s, PySpark cannot run with different 
minor versions." +
+ "driver %s, PySpark cannot run with different 
minor versions. " +
  "Please check environment variables 
PYSPARK_PYTHON and " +
  "PYSPARK_DRIVER_PYTHON are correctly set.") %
 ("%d.%d" % sys.version_info[:2], version))


-
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org



[spark] branch branch-3.0 updated: [MINOR][PYTHON] Fix spacing in error message

2020-07-27 Thread gurwls223
This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
 new b35b3eb  [MINOR][PYTHON] Fix spacing in error message
b35b3eb is described below

commit b35b3ebdb9b39a30d8e261bbf0a80482c149c2a8
Author: Shantanu <12621235+hauntsani...@users.noreply.github.com>
AuthorDate: Tue Jul 28 11:22:18 2020 +0900

[MINOR][PYTHON] Fix spacing in error message

### What changes were proposed in this pull request?
Fixes spacing in an error message

### Why are the changes needed?
Makes error messages easier to read

### Does this PR introduce _any_ user-facing change?
Yes, it changes the error message

### How was this patch tested?
This patch doesn't affect any logic, so existing tests should cover it

Closes #29264 from hauntsaninja/patch-1.

Authored-by: Shantanu <12621235+hauntsani...@users.noreply.github.com>
Signed-off-by: HyukjinKwon 
(cherry picked from commit 77f2ca6cced1c723d1c2e6082a1534f6436c6d2a)
Signed-off-by: HyukjinKwon 
---
 python/pyspark/worker.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyspark/worker.py b/python/pyspark/worker.py
index 5f4a8a2..814f796 100644
--- a/python/pyspark/worker.py
+++ b/python/pyspark/worker.py
@@ -471,7 +471,7 @@ def main(infile, outfile):
 version = utf8_deserializer.loads(infile)
 if version != "%d.%d" % sys.version_info[:2]:
 raise Exception(("Python in worker has different version %s than 
that in " +
- "driver %s, PySpark cannot run with different 
minor versions." +
+ "driver %s, PySpark cannot run with different 
minor versions. " +
  "Please check environment variables 
PYSPARK_PYTHON and " +
  "PYSPARK_DRIVER_PYTHON are correctly set.") %
 ("%d.%d" % sys.version_info[:2], version))


-
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org



[spark] branch branch-3.0 updated: [MINOR][PYTHON] Fix spacing in error message

2020-07-27 Thread gurwls223
This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
 new b35b3eb  [MINOR][PYTHON] Fix spacing in error message
b35b3eb is described below

commit b35b3ebdb9b39a30d8e261bbf0a80482c149c2a8
Author: Shantanu <12621235+hauntsani...@users.noreply.github.com>
AuthorDate: Tue Jul 28 11:22:18 2020 +0900

[MINOR][PYTHON] Fix spacing in error message

### What changes were proposed in this pull request?
Fixes spacing in an error message

### Why are the changes needed?
Makes error messages easier to read

### Does this PR introduce _any_ user-facing change?
Yes, it changes the error message

### How was this patch tested?
This patch doesn't affect any logic, so existing tests should cover it

Closes #29264 from hauntsaninja/patch-1.

Authored-by: Shantanu <12621235+hauntsani...@users.noreply.github.com>
Signed-off-by: HyukjinKwon 
(cherry picked from commit 77f2ca6cced1c723d1c2e6082a1534f6436c6d2a)
Signed-off-by: HyukjinKwon 
---
 python/pyspark/worker.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyspark/worker.py b/python/pyspark/worker.py
index 5f4a8a2..814f796 100644
--- a/python/pyspark/worker.py
+++ b/python/pyspark/worker.py
@@ -471,7 +471,7 @@ def main(infile, outfile):
 version = utf8_deserializer.loads(infile)
 if version != "%d.%d" % sys.version_info[:2]:
 raise Exception(("Python in worker has different version %s than 
that in " +
- "driver %s, PySpark cannot run with different 
minor versions." +
+ "driver %s, PySpark cannot run with different 
minor versions. " +
  "Please check environment variables 
PYSPARK_PYTHON and " +
  "PYSPARK_DRIVER_PYTHON are correctly set.") %
 ("%d.%d" % sys.version_info[:2], version))


-
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org