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

Raghav Aggarwal updated TEZ-4685:
---------------------------------
    Description: 
In DAGAppMaster#main() 
[https://github.com/apache/tez/blob/1fc00352ccae70d265649621aca22a5904ba771f/tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java#L2432]
{code:java}
Configuration conf = new Configuration(); {code}
is not picking tez-site.xml from classpath. Even during debugging tez-site.xml 
is in classpath, its not getting picked up

Moving to TezConfiguration is helping
{code:java}
Configuration conf = new TezConfiguration();{code}
Please check the attached screenshots

  was:
In DAGAppMaster#main() 
https://github.com/apache/tez/blob/1fc00352ccae70d265649621aca22a5904ba771f/tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java#L2432
{code:java}
Configuration conf = new Configuration(); {code}
is not picking tez-site.xml from classpath.

Moving to TezConfiguration is helping
{code:java}
Configuration conf = new TezConfiguration();{code}
Please check the attached screenshots


> DagAppMaster is not picking tez-site.xml from classpath
> -------------------------------------------------------
>
>                 Key: TEZ-4685
>                 URL: https://issues.apache.org/jira/browse/TEZ-4685
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Raghav Aggarwal
>            Assignee: Raghav Aggarwal
>            Priority: Major
>         Attachments: After.png, Before.png
>
>
> In DAGAppMaster#main() 
> [https://github.com/apache/tez/blob/1fc00352ccae70d265649621aca22a5904ba771f/tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java#L2432]
> {code:java}
> Configuration conf = new Configuration(); {code}
> is not picking tez-site.xml from classpath. Even during debugging 
> tez-site.xml is in classpath, its not getting picked up
> Moving to TezConfiguration is helping
> {code:java}
> Configuration conf = new TezConfiguration();{code}
> Please check the attached screenshots



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to