prashantpogde commented on a change in pull request #1182:
URL: https://github.com/apache/hadoop-ozone/pull/1182#discussion_r453134906
##########
File path:
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/codec/TokenIdentifierCodec.java
##########
@@ -42,8 +42,8 @@ public OzoneTokenIdentifier fromPersistedFormat(byte[]
rawData)
Preconditions.checkNotNull(rawData,
"Null byte array can't converted to real object.");
try {
- return OzoneTokenIdentifier.readProtoBuf(rawData);
- } catch (InvalidProtocolBufferException e) {
+ return OzoneTokenIdentifier.fromUniqueSerilizedKey(rawData);
Review comment:
done
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]