[ https://issues.apache.org/jira/browse/HDFS-6310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986624#comment-13986624 ]
Daryn Sharp commented on HDFS-6310: ----------------------------------- I don't feel the concern with outputting the secret manger state is valid. If the user has access to the fsimage to run oiv, then they obviously can extract the state in other ways. The oiv tool is useful in debugging the state of the fsimage. Selectively omitting some of the state impedes debugging. For instance, at least a year ago we discovered that expired tokens were never being purged from the fsimage. We had clusters whose fsimage contained 2+ years of tokens which added significant time to NN startup. The problem was evident with the use of oiv. It concerns me that a documented tool (oiv), with external tools built around it, is being indiscriminately made incompatible within minor releases. > PBImageXmlWriter should output information about Delegation Tokens > ------------------------------------------------------------------ > > Key: HDFS-6310 > URL: https://issues.apache.org/jira/browse/HDFS-6310 > Project: Hadoop HDFS > Issue Type: Bug > Components: tools > Affects Versions: 2.4.0 > Reporter: Akira AJISAKA > Assignee: Akira AJISAKA > Attachments: HDFS-6310.patch > > > Separated from HDFS-6293. > The 2.4.0 pb-fsimage does contain tokens, but OfflineImageViewer with -XML > option does not show any tokens. -- This message was sent by Atlassian JIRA (v6.2#6252)