Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update createFile function of Uitls.scala #2223

Closed
wants to merge 1 commit into from

Conversation

Allianzcortex
Copy link

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

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
@ijuma
Copy link
Contributor

ijuma commented Dec 21, 2016

Thanks for the PR. We are no longer accepting changes to the 0.8.2 branch unless they're critical issues. Maybe check if trunk still has the issue and resubmit a PR for that? In the meantime, can you please close this one?

@asfbot
Copy link

asfbot commented Dec 21, 2016

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/312/
Test FAILed (JDK 8 and Scala 2.12).

@asfbot
Copy link

asfbot commented Dec 21, 2016

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/311/
Test FAILed (JDK 7 and Scala 2.10).

@asfbot
Copy link

asfbot commented Dec 21, 2016

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/313/
Test FAILed (JDK 8 and Scala 2.11).

@Allianzcortex
Copy link
Author

Allianzcortex commented Dec 21, 2016

@ijuma Thanks for your reply ~ But It may be someway difficult,because this function is abandoned in matin version And Why Jenkins shows all build failed.......Its logic is not difficult,and passs the building on my computer(Ubuntu 14.04 LTS,java version "1.8.0_45",scala version "2.11.8" ,confusing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants