public static boolean isUnsignedInteger(final PrimitiveType type) {
    if (type.getLogicalTypeAnnotation() != null) {
      Optional<Boolean> isUnsignedInteger = type.getLogicalTypeAnnotation()
          .accept(new LogicalTypeAnnotationVisitor<Boolean>() {
            @Override public Optional<Boolean> visit(
                LogicalTypeAnnotation.IntLogicalTypeAnnotation intLogicalType) {
              return Optional.of(!intLogicalType.isSigned());
            }
          });
      if (isUnsignedInteger.isPresent()) {
        return isUnsignedInteger.get();
      }
    }
    return false;
  }
ETypeConverter is an easy way to set the converter for the right type.
ql/src/java/org/apache/hadoop/hive/ql/io/parquet/convert/ETypeConverter.java