File tree Expand file tree Collapse file tree 14 files changed +2
-41
lines changed
nephele/nephele-server/src/main/java/eu/stratosphere/nephele
main/java/eu/stratosphere/pact/common/io
test/java/eu/stratosphere/pact/common/io Expand file tree Collapse file tree 14 files changed +2
-41
lines changed Original file line number Diff line number Diff line change 10
10
<version >0.2</version >
11
11
</parent >
12
12
13
- <groupId >eu.stratosphere</groupId >
14
13
<artifactId >build-tools</artifactId >
15
- <version >0.2</version >
16
14
<name >build-tools</name >
17
15
<packaging >jar</packaging >
18
16
</project >
Original file line number Diff line number Diff line change 20
20
import java .util .Iterator ;
21
21
import java .util .LinkedList ;
22
22
23
- import eu .stratosphere .nephele .instance .InstanceConnectionInfo ;
24
- import eu .stratosphere .nephele .io .channels .ChannelID ;
25
- import eu .stratosphere .nephele .taskmanager .bytebuffered .ConnectionInfoLookupResponse ;
26
-
27
23
/**
28
24
* This class represents a cluster of hosts within a multicast-tree.
29
25
*
Original file line number Diff line number Diff line change 19
19
import java .io .DataInputStream ;
20
20
import java .io .File ;
21
21
import java .io .FileInputStream ;
22
- import java .io .FileReader ;
23
- import java .io .IOException ;
24
22
import java .io .InputStreamReader ;
25
23
import java .util .Collections ;
26
24
import java .util .HashMap ;
27
- import java .util .HashSet ;
28
25
import java .util .Iterator ;
29
26
import java .util .LinkedList ;
30
27
import java .util .List ;
31
28
import java .util .Map ;
32
29
33
- import javax .swing .plaf .basic .BasicTreeUI .TreeToggleAction ;
34
-
35
30
import org .apache .commons .logging .Log ;
36
31
import org .apache .commons .logging .LogFactory ;
37
32
Original file line number Diff line number Diff line change @@ -240,8 +240,6 @@ private void addOutstandingEnvelope(final AbstractByteBufferedInputChannel<? ext
240
240
241
241
void showOustandingEnvelopeLog () {
242
242
243
- int dataAvailableCounter = 0 ;
244
-
245
243
final int pos = this .outstandingEnvelopesAsIntBuffer .position ();
246
244
final int limit = this .outstandingEnvelopesAsIntBuffer .limit ();
247
245
@@ -263,9 +261,6 @@ void showOustandingEnvelopeLog() {
263
261
264
262
final int channelIndex = getInputChannel (entry );
265
263
final boolean dataAvailable = getDataAvailability (entry );
266
- if (dataAvailable ) {
267
- ++dataAvailableCounter ;
268
- }
269
264
270
265
char ch = (char ) (((int ) 'A' ) + channelIndex + (dataAvailable ? 0 : 32 ));
271
266
Original file line number Diff line number Diff line change 10
10
<version >0.2</version >
11
11
</parent >
12
12
13
- <groupId >eu.stratosphere</groupId >
14
13
<artifactId >pact-clients</artifactId >
15
- <version >0.2</version >
16
14
<name >pact-clients</name >
17
15
18
16
<packaging >jar</packaging >
Original file line number Diff line number Diff line change 9
9
<version >0.2</version >
10
10
</parent >
11
11
12
- <groupId >eu.stratosphere</groupId >
13
12
<artifactId >pact-common</artifactId >
14
- <version >0.2</version >
15
13
<name >pact-common</name >
16
14
17
15
<packaging >jar</packaging >
Original file line number Diff line number Diff line change 15
15
16
16
package eu .stratosphere .pact .common .io ;
17
17
18
- import java .io .ByteArrayInputStream ;
19
- import java .io .ByteArrayOutputStream ;
20
- import java .io .DataInputStream ;
21
- import java .io .DataOutputStream ;
22
18
import java .io .IOException ;
23
19
import java .net .URI ;
24
20
import java .net .URISyntaxException ;
25
- import java .nio .charset .Charset ;
26
21
27
22
import eu .stratosphere .nephele .configuration .Configuration ;
28
23
import eu .stratosphere .nephele .fs .BlockLocation ;
29
24
import eu .stratosphere .nephele .fs .FileInputSplit ;
30
25
import eu .stratosphere .nephele .fs .FileStatus ;
31
26
import eu .stratosphere .nephele .fs .FileSystem ;
32
27
import eu .stratosphere .nephele .fs .Path ;
33
- import eu .stratosphere .nephele .io .IOReadableWritable ;
34
28
import eu .stratosphere .pact .common .util .ReflectionUtil ;
35
29
36
30
/**
Original file line number Diff line number Diff line change 33
33
34
34
import eu .stratosphere .nephele .configuration .Configuration ;
35
35
import eu .stratosphere .nephele .fs .FileInputSplit ;
36
- import eu .stratosphere .nephele .fs .FileSystem ;
37
36
import eu .stratosphere .nephele .fs .Path ;
38
37
import eu .stratosphere .pact .common .io .statistics .BaseStatistics ;
39
38
import eu .stratosphere .pact .common .type .PactRecord ;
40
39
import eu .stratosphere .pact .common .type .base .PactInteger ;
41
40
import eu .stratosphere .pact .common .type .base .PactString ;
42
- import eu .stratosphere .pact .common .util .ReflectionUtil ;
43
41
44
42
/**
45
43
* Tests {@link SequentialInputFormat} and {@link SequentialOutputFormat}.
Original file line number Diff line number Diff line change 1
1
package eu .stratosphere .pact .common .io .type .base .parser ;
2
2
3
- import static org .junit .Assert .assertFalse ;
4
3
import static org .junit .Assert .assertTrue ;
5
4
6
5
import org .junit .Test ;
@@ -22,7 +21,7 @@ public void testGetValue() {
22
21
@ Test
23
22
public void testParseField () {
24
23
25
- byte [] recBytes = "1234567890123456789|-1234567890123456789|123abc4|" .getBytes ();
24
+ byte [] recBytes = "1234567890123456789|-1234567890123456789|123abc4|" .getBytes ();
26
25
27
26
// check valid int
28
27
PactLong l = new PactLong ();
Original file line number Diff line number Diff line change 10
10
<version >0.2</version >
11
11
</parent >
12
12
13
- <groupId >eu.stratosphere</groupId >
14
13
<artifactId >pact-compiler</artifactId >
15
- <version >0.2</version >
16
14
<name >pact-compiler</name >
17
15
18
16
<packaging >jar</packaging >
You can’t perform that action at this time.
0 commit comments