LOG.trace(MessageFormat.format( "Fragment found (path={0}, offset={1}, size={2}, owners={3})", //$NON-NLS-1$ fragment.getPath(), fragment.getOffset(), fragment.getSize(),
@Override public void write(DataOutput out) throws IOException { DirectInputGroup groupCopy = group; WritableUtils.writeString(out, groupCopy.containerPath); WritableUtils.writeString(out, groupCopy.dataType.getName()); WritableUtils.writeString(out, groupCopy.formatClass.getName()); if (groupCopy.filterClass == null) { out.writeBoolean(false); } else { out.writeBoolean(true); WritableUtils.writeString(out, groupCopy.filterClass.getName()); } DirectInputFragment fragmentCopy = fragment; WritableUtils.writeString(out, fragmentCopy.getPath()); WritableUtils.writeVLong(out, fragmentCopy.getOffset()); WritableUtils.writeVLong(out, fragmentCopy.getSize()); List<String> ownerNodeNames = fragmentCopy.getOwnerNodeNames(); WritableUtils.writeStringArray(out, ownerNodeNames.toArray(new String[ownerNodeNames.size()])); Map<String, String> attributes = fragmentCopy.getAttributes(); WritableUtils.writeVInt(out, attributes.size()); for (Map.Entry<String, String> entry : attributes.entrySet()) { WritableUtils.writeString(out, entry.getKey()); WritableUtils.writeString(out, entry.getValue()); } }
"Start opening input (id={0}, path={1}, offset={2}, size={3})", //$NON-NLS-1$ profile.getId(), fragment.getPath(), fragment.getOffset(), fragment.getSize())); dataType, profile.getFileSystem(), new Path(fragment.getPath()), fragment.getOffset(), fragment.getSize(), "Finish opening input (id={0}, path={1}, offset={2}, size={3})", //$NON-NLS-1$ profile.getId(), fragment.getPath(), fragment.getOffset(), fragment.getSize()));
LOG.debug(MessageFormat.format( "Detect ORCFile stripe: path={0}, rows={1}, range={2}+{3}, allocation={4}", //$NON-NLS-1$ fragment.getPath(), stripe.getNumberOfRows(), fragment.getOffset(),