Gabor Liptak created SPARK-11160:
------------------------------------

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




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
(v6.3.4#6332)

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

Reply via email to