[
https://issues.apache.org/jira/browse/TEZ-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14315684#comment-14315684
]
Jeff Zhang commented on TEZ-2075:
---------------------------------
Pig needs to add tez-site.xml to its existing JobConf as following. Although I
think they can just use jc.addResource(new TezConfiguration())
{code}
@Override
public JobConf getExecConf(Properties properties) throws ExecException {
JobConf jc = super.getExecConf(properties);
jc.addResource(TezConfiguration.TEZ_SITE_XML);
return jc;
}
{code}
> Incompatible issue caused by TEZ-1233 that TezConfiguration.TEZ_SITE_XML is
> made private
> -----------------------------------------------------------------------------------------
>
> Key: TEZ-2075
> URL: https://issues.apache.org/jira/browse/TEZ-2075
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Jeff Zhang
> Assignee: Jeff Zhang
> Priority: Critical
> Attachments: TEZ-2075-1.patch
>
>
> * TezConfiguration.TEZ_SITE_XML is used in pig, but it is made private in
> TEZ-1233 which is an incompatible change.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)