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

liyunzhang_intel updated PIG-4295:
----------------------------------
    Attachment: PIG-4295_1.patch

[~mohitsabharwal], [~xuefuz],[~praveenr019]:
Fix TestPigContext#testImportList in PIG-4295_1.patch:
in PIG-4295_1.patch changes are
1.add 
org.apache.pig.backend.hadoop.executionengine.spark.SparkLauncher#saveUdfImportList
 to store udf.import.list in PigContext#properties.
2. add readObject and writeObject to serialize and deserialize 
PigContext#packageImportList because PigContext#packageImportList is a static 
threadLocal, it can not been serialized and deserialized automatically. 
we initialize the value of PigContext#packageImportList from the 
PigContext#properties.getProperty("udf.import.list") and serialize it in 
PigContext#writeObject.


> Enable unit test "TestPigContext" for spark
> -------------------------------------------
>
>                 Key: PIG-4295
>                 URL: https://issues.apache.org/jira/browse/PIG-4295
>             Project: Pig
>          Issue Type: Sub-task
>          Components: spark
>            Reporter: liyunzhang_intel
>            Assignee: liyunzhang_intel
>             Fix For: spark-branch
>
>         Attachments: PIG-4295.patch, PIG-4295_1.patch, 
> TEST-org.apache.pig.test.TestPigContext.txt
>
>
> error log is attached



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to