public static String formatBinaryString(byte[] array, int start, int length) {
    StringBuilder sb = new StringBuilder();
    for (int i = start; i < start + length; i++) {
      sb.append('x');
      sb.append(array[i] < 0 ? array[i] + 256 : array[i] + 0);
    }
    return sb.toString();
  }
Remove elements from the classpath, if possible. This will only work if the current thread context class loader is
an UDFClassLoader (i.e. if we have created it).

@param pathsToRemove
         Array of classpath elements
ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java