Github user harishreedharan commented on the pull request:

    https://github.com/apache/spark/pull/8942#issuecomment-149440116
  
    Here it is:
    
    OK, I think I know the issue - the reason is probably that the credentials 
are cached in the FileSystem instance using which the write happens. Since we 
are replacing the credentials but not the FileSystem instance itself this might 
not work, which is why #8942 works. We can do with either that approach or we 
can replace the FileSystem instance which would require a close and reopen of 
the file.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to