org.apache.hadoop.hive.ql.exec.Utilities.formatBinaryString()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(7.2k)|赞(0)|评价(0)|浏览(72)

本文整理了Java中org.apache.hadoop.hive.ql.exec.Utilities.formatBinaryString()方法的一些代码示例,展示了Utilities.formatBinaryString()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Utilities.formatBinaryString()方法的具体详情如下:
包路径:org.apache.hadoop.hive.ql.exec.Utilities
类名称:Utilities
方法名:formatBinaryString

Utilities.formatBinaryString介绍

暂无

代码示例

代码示例来源:origin: apache/hive

private Object deserializeValue(BytesWritable valueWritable, byte tag) throws HiveException {
 try {
  return inputValueDeserializer[tag].deserialize(valueWritable);
 } catch (SerDeException e) {
  // Log the input value which caused exception so that it's available for debugging. But when
  // exposed through an error message it can leak sensitive information, even to the client
  // application.
  LOG.trace("Error: Unable to deserialize reduce input value (tag=" + tag + ") from " +
      Utilities.formatBinaryString(valueWritable.getBytes(), 0,
          valueWritable.getLength()) +
      " with properties " + valueTableDesc[tag].getProperties());
  throw new HiveException("Error: Unable to deserialize reduce input value ", e);
 }
}

代码示例来源:origin: apache/hive

private Object deserializeValue(BytesWritable valueWritable, byte tag)
  throws HiveException {
 try {
  return inputValueDeserializer.deserialize(valueWritable);
 } catch (SerDeException e) {
  throw new HiveException(
    "Hive Runtime Error: Unable to deserialize reduce input value (tag="
      + tag
      + ") from "
    + Utilities.formatBinaryString(valueWritable.getBytes(), 0, valueWritable.getLength())
    + " with properties " + valueTableDesc.getProperties(), e);
 }
}

代码示例来源:origin: apache/drill

private Object deserializeValue(BytesWritable valueWritable, byte tag) throws HiveException {
 try {
  return inputValueDeserializer[tag].deserialize(valueWritable);
 } catch (SerDeException e) {
  throw new HiveException("Error: Unable to deserialize reduce input value (tag="
   + tag + ") from "
   + Utilities.formatBinaryString(valueWritable.getBytes(), 0, valueWritable.getLength())
   + " with properties " + valueTableDesc[tag].getProperties(), e);
 }
}

代码示例来源:origin: apache/drill

private Object deserializeValue(BytesWritable valueWritable, byte tag)
  throws HiveException {
 try {
  return inputValueDeserializer.deserialize(valueWritable);
 } catch (SerDeException e) {
  throw new HiveException(
    "Hive Runtime Error: Unable to deserialize reduce input value (tag="
      + tag
      + ") from "
    + Utilities.formatBinaryString(valueWritable.getBytes(), 0, valueWritable.getLength())
    + " with properties " + valueTableDesc.getProperties(), e);
 }
}

代码示例来源:origin: apache/hive

+ tag
+ ") from "
+ Utilities.formatBinaryString(valueWritable.get(), 0,
valueWritable.getSize()) + " with properties "
+ valueTableDesc[tag].getProperties());

代码示例来源:origin: apache/drill

+ tag
+ ") from "
+ Utilities.formatBinaryString(valueWritable.get(), 0,
valueWritable.getSize()) + " with properties "
+ valueTableDesc[tag].getProperties(), e);

代码示例来源:origin: apache/hive

+ Utilities.formatBinaryString(keyWritable.get(), 0,
keyWritable.getSize()) + " with properties "
+ keyTableDesc.getProperties());

代码示例来源:origin: apache/hive

throw new HiveException(
  "Hive Runtime Error: Unable to deserialize reduce input key from "
  + Utilities.formatBinaryString(keyWritable.get(), 0,
  keyWritable.getSize()) + " with properties "
  + keyTableDesc.getProperties(), e);
  + tag
  + ") from "
  + Utilities.formatBinaryString(valueWritable.get(), 0,
  valueWritable.getSize()) + " with properties "
  + valueTableDesc[tag].getProperties(), e);

代码示例来源:origin: apache/drill

throw new HiveException(
 "Hive Runtime Error: Unable to deserialize reduce input key from "
  + Utilities.formatBinaryString(keyWritable.get(), 0,
  keyWritable.getSize()) + " with properties "
  + keyTableDesc.getProperties(), e);

代码示例来源:origin: apache/drill

throw new HiveException(
  "Hive Runtime Error: Unable to deserialize reduce input key from "
  + Utilities.formatBinaryString(keyWritable.get(), 0,
  keyWritable.getSize()) + " with properties "
  + keyTableDesc.getProperties(), e);
  + tag
  + ") from "
  + Utilities.formatBinaryString(valueWritable.get(), 0,
  valueWritable.getSize()) + " with properties "
  + valueTableDesc[tag].getProperties(), e);

代码示例来源:origin: apache/hive

} catch (Exception e) {
 throw new HiveException("Hive Runtime Error: Unable to deserialize reduce input key from "
   + Utilities.formatBinaryString(keyWritable.getBytes(), 0, keyWritable.getLength())
   + " with properties " + keyTableDesc.getProperties(), e);

代码示例来源:origin: apache/drill

} catch (Exception e) {
 throw new HiveException("Hive Runtime Error: Unable to deserialize reduce input key from "
   + Utilities.formatBinaryString(keyWritable.getBytes(), 0, keyWritable.getLength())
   + " with properties " + keyTableDesc.getProperties(), e);

代码示例来源:origin: com.facebook.presto.hive/hive-apache

private Object deserializeValue(BytesWritable valueWritable, byte tag)
  throws HiveException {
 try {
  return inputValueDeserializer.deserialize(valueWritable);
 } catch (SerDeException e) {
  throw new HiveException(
    "Hive Runtime Error: Unable to deserialize reduce input value (tag="
      + tag
      + ") from "
    + Utilities.formatBinaryString(valueWritable.getBytes(), 0, valueWritable.getLength())
    + " with properties " + valueTableDesc.getProperties(), e);
 }
}

代码示例来源:origin: com.facebook.presto.hive/hive-apache

private Object deserializeValue(BytesWritable valueWritable, byte tag) throws HiveException {
 try {
  return inputValueDeserializer[tag].deserialize(valueWritable);
 } catch (SerDeException e) {
  throw new HiveException("Error: Unable to deserialize reduce input value (tag="
   + tag + ") from "
   + Utilities.formatBinaryString(valueWritable.getBytes(), 0, valueWritable.getLength())
   + " with properties " + valueTableDesc[tag].getProperties(), e);
 }
}

代码示例来源:origin: com.facebook.presto.hive/hive-apache

+ tag
+ ") from "
+ Utilities.formatBinaryString(valueWritable.get(), 0,
valueWritable.getSize()) + " with properties "
+ valueTableDesc[tag].getProperties(), e);

代码示例来源:origin: org.apache.hadoop.hive/hive-exec

throw new HiveException(
  "Hive Runtime Error: Unable to deserialize reduce input key from "
  + Utilities.formatBinaryString(keyWritable.get(), 0,
  keyWritable.getSize()) + " with properties "
  + keyTableDesc.getProperties(), e);
  + tag.get()
  + ") from "
  + Utilities.formatBinaryString(valueWritable.get(), 0,
  valueWritable.getSize()) + " with properties "
  + valueTableDesc[tag.get()].getProperties(), e);

代码示例来源:origin: com.facebook.presto.hive/hive-apache

throw new HiveException(
  "Hive Runtime Error: Unable to deserialize reduce input key from "
  + Utilities.formatBinaryString(keyWritable.get(), 0,
  keyWritable.getSize()) + " with properties "
  + keyTableDesc.getProperties(), e);
  + tag
  + ") from "
  + Utilities.formatBinaryString(valueWritable.get(), 0,
  valueWritable.getSize()) + " with properties "
  + valueTableDesc[tag].getProperties(), e);

代码示例来源:origin: com.facebook.presto.hive/hive-apache

} catch (Exception e) {
 throw new HiveException("Hive Runtime Error: Unable to deserialize reduce input key from "
   + Utilities.formatBinaryString(keyWritable.getBytes(), 0, keyWritable.getLength())
   + " with properties " + keyTableDesc.getProperties(), e);

代码示例来源:origin: com.facebook.presto.hive/hive-apache

throw new HiveException(
 "Hive Runtime Error: Unable to deserialize reduce input key from "
  + Utilities.formatBinaryString(keyWritable.get(), 0,
  keyWritable.getSize()) + " with properties "
  + keyTableDesc.getProperties(), e);

相关文章

微信公众号

最新文章

更多

Utilities类方法