@InterfaceAudience.Private public class TezUtilsInternal extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_VERTEX_NAME_LENGTH |
| Constructor and Description |
|---|
TezUtilsInternal() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addUserSpecifiedTezConfiguration(String baseDir,
org.apache.hadoop.conf.Configuration conf) |
static String |
cleanVertexName(String vertexName) |
static byte[] |
compressBytes(byte[] inBytes) |
static String |
convertDagPlanToString(org.apache.tez.dag.api.records.DAGProtos.DAGPlan dagPlan)
Convert DAGPlan to text.
|
static BitSet |
fromByteArray(byte[] bytes) |
static String |
getContainerLogDir() |
static byte[] |
toByteArray(BitSet bits) |
static byte[] |
uncompressBytes(byte[] inBytes) |
static void |
updateLoggers(String addend) |
@InterfaceAudience.Private public static final int MAX_VERTEX_NAME_LENGTH
public static void addUserSpecifiedTezConfiguration(String baseDir, org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionpublic static byte[] compressBytes(byte[] inBytes)
throws IOException
IOExceptionpublic static byte[] uncompressBytes(byte[] inBytes)
throws IOException
IOExceptionpublic static void updateLoggers(String addend) throws FileNotFoundException
FileNotFoundExceptionpublic static BitSet fromByteArray(byte[] bytes)
public static byte[] toByteArray(BitSet bits)
public static String getContainerLogDir()
public static String convertDagPlanToString(org.apache.tez.dag.api.records.DAGProtos.DAGPlan dagPlan) throws IOException
dagPlan - IOExceptionCopyright © 2015 Apache Software Foundation. All rights reserved.