[
https://issues.apache.org/jira/browse/TEZ-1416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Siddharth Seth updated TEZ-1416:
--------------------------------
Attachment: TEZ-1416.1.patch.review
Patch file with comments / questions marked with XXX.
Also,
TezCounters, I believe needs some work. I think we should mark these as
Unstable. JobCounters as @Private - and potentially move to MapReduce.
Misc in TezConfiguration - all the constants (TEZ_PREFIX, etc) should be private
The following should likely be private.
TEZ_AM_CANCEL_DELEGATION_TOKEN - Private
TEZ_AM_COUNTERS_MAX_KEYS - private
TEZ_AM_PLAN_REMOTE_PATH
TEZ_AM_INLINE_TASK_EXECUTION_ENABLED
The following should be private. Also in TezConstants instead of
TezConfiguration - is there a separate jira for that ? There's more than just
the ones listed below - so a separate jira would be better.
{code}
public static final String TEZ_PB_BINARY_CONF_NAME = "tez-conf.pb";
public static final String TEZ_PB_PLAN_BINARY_NAME = "tez-dag.pb";
public static final String TEZ_PB_PLAN_TEXT_NAME = "tez-dag.pb.txt";
public static final String TEZ_CONTAINER_LOG4J_PROPERTIES_FILE =
"tez-container-log4j.properties";
public static final String TEZ_CONTAINER_LOGGER_NAME = "CLA";
public static final String TEZ_ROOT_LOGGER_NAME = "tez.root.logger";
public static final String TEZ_CONTAINER_LOG_FILE_NAME = "syslog";
public static final String TEZ_CONTAINER_ERR_FILE_NAME = "stderr";
public static final String TEZ_CONTAINER_OUT_FILE_NAME = "stdout";
{code}
TEZ_AM_GROUPING* - should these be renamed to just TEZ_GROUPING_*
CompositeDataMovementEvent, DataMovementEvent, some others missing
public/private annotations.
InputInitializer, InputInitializerContext need to move out of runtime.api
Annotations or comments on the proto files.
Some of this isn't related to this jira, and should be a follow up - otherwise
this patch grows to big.
> tez-api project javadoc/annotations review and clean up.
> --------------------------------------------------------
>
> Key: TEZ-1416
> URL: https://issues.apache.org/jira/browse/TEZ-1416
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Bikas Saha
> Assignee: Bikas Saha
> Priority: Blocker
> Attachments: TEZ-1416.1.patch, TEZ-1416.1.patch.review
>
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)