You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:23:29 UTC

[jira] [Updated] (SPARK-11160) CloudPickeSerializer conflicts with xmlrunner

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

Hyukjin Kwon updated SPARK-11160:
---------------------------------
    Labels: bulk-closed  (was: )

> CloudPickeSerializer conflicts with xmlrunner
> ---------------------------------------------
>
>                 Key: SPARK-11160
>                 URL: https://issues.apache.org/jira/browse/SPARK-11160
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>            Reporter: Gabor Liptak
>            Priority: Minor
>              Labels: bulk-closed
>
> Change L259 in pyspark/tests.py to:
> {code}
>    # Regression test for SPARK-3415
>    def test_pickling_file_handles(self):
>        # JIRA number here
>        if xmlrunner is None:
>             ser = CloudPickleSerializer()
>             out1 = sys.stderr
>             out2 = ser.loads(ser.dumps(out1))
>             self.assertEqual(out1, out2)
> {code}
> The issue is CloudPickeSerializer wraps stderr, which conflicts with xmlrunner. But it might take some time to fix.



--
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