[
https://issues.apache.org/jira/browse/PIG-4295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14525166#comment-14525166
]
liyunzhang_intel commented on PIG-4295:
---------------------------------------
[~daijy]:
Do you think it is ok to change PigContext#packageImportList from static
threadLocal variable to non-static variable to make it thread-safe?
before it is a static threadlocal variable to make PigServer work in
multithreading environment. If we make it a non-static variable, we can also
make PigServer work in multithreading environment and but we need make a lot
changes to current code. Can you give some suggestions about it?
> 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,
> TEST-org.apache.pig.test.TestPigContext.txt
>
>
> error log is attached
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)