-
Notifications
You must be signed in to change notification settings - Fork 29k
Update JavaCustomReceiver.java #3153
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
Conversation
|
the array index out of bounds |
|
Can one of the admins verify this patch? |
|
LGTM but the title and description are not informative. |
|
oh,sorry,,,,when i run this command "bin/run-example org.apache.spark.examples.streaming.JavaCustomReceiver localhost 9999 ",this error is "java.lang.ClassNotFoundException: org.apache.spark.examples.arg.apache.spark.examples.streaming.JavaCustomReceiver",so i change the command like this "bin/run-example streaming.JavaCustomReceiver localhost 9999",this error is "java.lang.ArrayIndexOutOfBoundsException: 2".and then i view source,i find this"JavaReceiverInputDStream lines = ssc.receiverStream(new JavaCustomReceiver(args[1], Integer.parseInt(args[2])));",i think this should be changed to "JavaReceiverInputDStream lines = ssc.receiverStream(new JavaCustomReceiver(args[0], Integer.parseInt(args[1])));" ------------------ 原始邮件 ------------------ LGTM but the title and description are not informative. — |
|
No, I agree with the change. I'm saying that "Update JavaCustomReceiver" with no description is not a helpful title. Normally changes need a JIRA too, although this is so trivial that it may not. |
|
sorry,,,i am a beginner,,i will pay attention next time ------------------ 原始邮件 ------------------ No, I agree with the change. I'm saying that "Update JavaCustomReceiver" with no description is not a helpful title. Normally changes need a JIRA too, although this is so trivial that it may not. — |
|
This is fine for now, I am merging this. Thank you very much for catching this. |
数组下标越界 Author: xiao321 <[email protected]> Closes #3153 from xiao321/patch-1 and squashes the following commits: 0ed17b5 [xiao321] Update JavaCustomReceiver.java (cherry picked from commit 7c9ec52) Signed-off-by: Tathagata Das <[email protected]>
数组下标越界 Author: xiao321 <[email protected]> Closes #3153 from xiao321/patch-1 and squashes the following commits: 0ed17b5 [xiao321] Update JavaCustomReceiver.java (cherry picked from commit 7c9ec52) Signed-off-by: Tathagata Das <[email protected]>
数组下标越界 Author: xiao321 <[email protected]> Closes #3153 from xiao321/patch-1 and squashes the following commits: 0ed17b5 [xiao321] Update JavaCustomReceiver.java (cherry picked from commit 7c9ec52) Signed-off-by: Tathagata Das <[email protected]>
数组下标越界