GitHub user Allianzcortex opened a pull request:

    https://github.com/apache/kafka/pull/2223

    Update `createFile` function of Uitls.scala

    Well,Now I'm reading the source code and try to learn better Scala:-D.The 
question I find is sometimes obvious,If I try to create file with out certain 
permission,**the exception will be throwes like this:`java.io.IOException: 
Permission denied at java.io.UnixFileSystem.createFileExclusively(Native 
Method)`.** People should take more care when create file.ahh...I think this is 
not about Kafka logic? Thanks for your reply:-D

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Allianzcortex/kafka 0.8.2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/2223.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2223
    
----
commit 93f78fd0a3a0ebb851a602fc044cb7e2e27f34d9
Author: hzcortex <iamwan...@gmail.com>
Date:   2016-12-07T07:27:02Z

    Update `createFile` function of Uitls.scala 
    
    Well,Now I'm reading the source code and try to learn better Scala:-D.The 
question I find is sometimes obvious,If I try to create file with out certain 
permission,the exception will be throwes like this: `java.io.IOException: 
Permission denied
    at java.io.UnixFileSystem.createFileExclusively(Native Method)`. People 
should take more care when create file.ahh...I think this is not about Kafka 
logic? Thanks for your reply:-D

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to