File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
common/network-shuffle/src/main/java/org/apache/spark/network/shuffle Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -203,14 +203,14 @@ private class ManagedBufferIterator implements Iterator<ManagedBuffer> {
203203 this .appId = appId ;
204204 this .execId = execId ;
205205 String [] blockId0Parts = blockIds [0 ].split ("_" );
206- if (blockId0Parts .length < 4 || !blockId0Parts [0 ].equals ("shuffle" )) {
206+ if (blockId0Parts .length != 4 || !blockId0Parts [0 ].equals ("shuffle" )) {
207207 throw new IllegalArgumentException ("Unexpected shuffle block id format: " + blockIds [0 ]);
208208 }
209209 this .shuffleId = Integer .parseInt (blockId0Parts [1 ]);
210210 mapIdAndReduceIds = new int [2 * blockIds .length ];
211211 for (int i = 0 ; i < blockIds .length ; i ++) {
212212 String [] blockIdParts = blockIds [i ].split ("_" );
213- if (blockIdParts .length < 4 || !blockIdParts [0 ].equals ("shuffle" )) {
213+ if (blockIdParts .length != 4 || !blockIdParts [0 ].equals ("shuffle" )) {
214214 throw new IllegalArgumentException ("Unexpected shuffle block id format: " + blockIds [i ]);
215215 }
216216 if (Integer .parseInt (blockIdParts [1 ]) != shuffleId ) {
You can’t perform that action at this time.
0 commit comments