Bibin A Chundatt created MAPREDUCE-7073:

             Summary: Optimize TokenCache#obtainTokensForNamenodesInternal
                 Key: MAPREDUCE-7073
             Project: Hadoop Map/Reduce
          Issue Type: Bug
            Reporter: Bibin A Chundatt

FileInputFormat#listStatus is too slow file system cache is disabled. 

{{TokenCache#obtainTokensForNamenodesInternal}} for every filesystem instance 
{{Master.getMasterPrincipal(conf)}} is caled which reloads YarnConfiguration .
For fileInput with 1k file will reload YarnConfiguration 1k times.

{{Master.getMasterPrincipal(conf)}} can be passed for  
{{obtainTokensForNamenodesInternal}} per filesystem call.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to