|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tez.common.TezUtils
public class TezUtils
| Constructor Summary | |
|---|---|
TezUtils()
|
|
| Method Summary | |
|---|---|
static void |
addUserSpecifiedTezConfiguration(org.apache.hadoop.conf.Configuration conf)
|
static byte[] |
compressBytes(byte[] inBytes)
|
static com.google.protobuf.ByteString |
createByteStringFromConf(org.apache.hadoop.conf.Configuration conf)
Convert a Configuration to compressed ByteString using Protocol buffer |
static org.apache.hadoop.conf.Configuration |
createConfFromByteString(com.google.protobuf.ByteString byteString)
Convert compressed byte string to a Configuration object using protocol buffer |
static org.apache.hadoop.conf.Configuration |
createConfFromUserPayload(byte[] bb)
Convert compressed pay load in byte[] to a Configuration object using protocol buffer |
static byte[] |
createUserPayloadFromConf(org.apache.hadoop.conf.Configuration conf)
Convert a Configuration to compressed user pay load (i.e. |
static byte[] |
uncompressBytes(byte[] inBytes)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TezUtils()
| Method Detail |
|---|
public static void addUserSpecifiedTezConfiguration(org.apache.hadoop.conf.Configuration conf)
throws IOException
IOException
public static com.google.protobuf.ByteString createByteStringFromConf(org.apache.hadoop.conf.Configuration conf)
throws IOException
conf - : Configuration to be converted
IOException
public static byte[] createUserPayloadFromConf(org.apache.hadoop.conf.Configuration conf)
throws IOException
conf - : Configuration to be converted
IOException
public static org.apache.hadoop.conf.Configuration createConfFromByteString(com.google.protobuf.ByteString byteString)
throws IOException
byteString - :compressed conf in Protocol buffer
IOException
public static org.apache.hadoop.conf.Configuration createConfFromUserPayload(byte[] bb)
throws IOException
bb - : compressed pay load
IOException
public static byte[] compressBytes(byte[] inBytes)
throws IOException
IOException
public static byte[] uncompressBytes(byte[] inBytes)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||