storeDir = new File(inputDir.toString(), f.getName()); if (!storeDir.exists()) { if (!storeDir.mkdirs()) throw new IOException("Failed to create " + storeDir); if (NetUtils.isLocalAddress(address) && conn.getPullServerPort() == uri.getPort()) { localStoreChunkCount++; runnerList.add(new LocalFetcher(systemConf, uri, executionBlockContext, f.getName())); } else { remoteChunk.setEbId(f.getName()); runnerList.add(new RemoteFetcher(systemConf, uri, remoteChunk)); i++;
storeDir = new File(inputDir.toString(), f.getName()); if (!storeDir.exists()) { if (!storeDir.mkdirs()) throw new IOException("Failed to create " + storeDir); localChunk.setFromRemote(true); localChunk.setEbId(f.getName()); storeChunkList.add(localChunk); FileChunk remoteChunk = new FileChunk(defaultStoreFile, 0, -1); remoteChunk.setFromRemote(true); remoteChunk.setEbId(f.getName()); storeChunkList.add(remoteChunk);
LOG.debug("Table Id: " + f.getName() + ", Simple URIs: " + Repartitioner.createSimpleURIs(maxUrlLength, f));
hash = (53 * hash) + getName().hashCode();
hash = (53 * hash) + getName().hashCode();
LOG.debug("Table Id: " + f.getName() + ", Simple URIs: " + Repartitioner.createSimpleURIs(maxUrlLength, f));
public FetchImpl(FetchProto proto) { this(proto.getName(), new Task.PullHost(proto.getHost(), proto.getPort()), proto.getType(), new ExecutionBlockId(proto.getExecutionBlockId()), proto.getPartitionId(), proto.getHasNext(), proto.getTaskIdList(), proto.getAttemptIdList()); if (proto.hasOffset()) { this.offset = proto.getOffset(); } if (proto.hasLength()) { this.length = proto.getLength(); } if (proto.hasRangeStart()) { this.rangeParam = new RangeParam(proto.getRangeStart().toByteArray(), proto.getRangeEnd().toByteArray(), proto.getRangeLastInclusive()); } }
public FetchImpl(FetchProto proto) { this(proto.getName(), new Task.PullHost(proto.getHost(), proto.getPort()), proto.getType(), new ExecutionBlockId(proto.getExecutionBlockId()), proto.getPartitionId(), proto.getHasNext(), proto.getTaskIdList(), proto.getAttemptIdList()); if (proto.hasOffset()) { this.offset = proto.getOffset(); } if (proto.hasLength()) { this.length = proto.getLength(); } if (proto.hasRangeStart()) { this.rangeParam = new RangeParam(proto.getRangeStart().toByteArray(), proto.getRangeEnd().toByteArray(), proto.getRangeLastInclusive()); } }
/** * <code>required string name = 6;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000020); name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>required string name = 6;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000020); name_ = getDefaultInstance().getName(); onChanged(); return this; } /**