[
https://issues.apache.org/jira/browse/HADOOP-12563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthew Paduano updated HADOOP-12563:
-------------------------------------
Attachment: HADOOP-12563.16.patch
diff from 15,16
{code}
2165c2165
< + Mockito.verify(spyCreds).readProtos(in);
---
> + Mockito.verify(spyCreds).readProto(in);
{code}
testing
{code}
mvn test
-Dtest=TestCredentials,TestRMContainerAllocator,TestContainerManagerRecovery,TestDtUtilShell,TestCommandShell
-------------------------------------------------------------------------------
Test set: org.apache.hadoop.security.TestCredentials
-------------------------------------------------------------------------------
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.961 sec - in
org.apache.hadoop.security.TestCredentials
-------------------------------------------------------------------------------
Test set: org.apache.hadoop.security.token.TestDtUtilShell
-------------------------------------------------------------------------------
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.778 sec - in
org.apache.hadoop.security.token.TestDtUtilShell
-------------------------------------------------------------------------------
Test set: org.apache.hadoop.tools.TestCommandShell
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.304 sec - in
org.apache.hadoop.tools.TestCommandShell
-------------------------------------------------------------------------------
Test set:
org.apache.hadoop.yarn.server.nodemanager.containermanager.TestContainerManagerRecovery
-------------------------------------------------------------------------------
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.827 sec - in
org.apache.hadoop.yarn.server.nodemanager.containermanager.TestContainerManagerRecovery
-------------------------------------------------------------------------------
Test set: org.apache.hadoop.mapreduce.v2.app.rm.TestRMContainerAllocator
-------------------------------------------------------------------------------
Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 133.303 sec -
in org.apache.hadoop.mapreduce.v2.app.rm.TestRMContainerAllocator
{code}
> Updated utility to create/modify token files
> --------------------------------------------
>
> Key: HADOOP-12563
> URL: https://issues.apache.org/jira/browse/HADOOP-12563
> Project: Hadoop Common
> Issue Type: New Feature
> Affects Versions: 3.0.0
> Reporter: Allen Wittenauer
> Assignee: Matthew Paduano
> Fix For: 3.0.0
>
> Attachments: HADOOP-12563.01.patch, HADOOP-12563.02.patch,
> HADOOP-12563.03.patch, HADOOP-12563.04.patch, HADOOP-12563.05.patch,
> HADOOP-12563.06.patch, HADOOP-12563.07.patch, HADOOP-12563.07.patch,
> HADOOP-12563.08.patch, HADOOP-12563.09.patch, HADOOP-12563.10.patch,
> HADOOP-12563.11.patch, HADOOP-12563.12.patch, HADOOP-12563.13.patch,
> HADOOP-12563.14.patch, HADOOP-12563.15.patch, HADOOP-12563.16.patch,
> dtutil-test-out, example_dtutil_commands_and_output.txt,
> generalized_token_case.pdf
>
>
> hdfs fetchdt is missing some critical features and is geared almost
> exclusively towards HDFS operations. Additionally, the token files that are
> created use Java serializations which are hard/impossible to deal with in
> other languages. It should be replaced with a better utility in common that
> can read/write protobuf-based token files, has enough flexibility to be used
> with other services, and offers key functionality such as append and rename.
> The old version file format should still be supported for backward
> compatibility, but will be effectively deprecated.
> A follow-on JIRA will deprecrate fetchdt.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)