本文整理了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
暂无
代码示例来源: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);
内容来源于网络,如有侵权,请联系作者删除!